Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7015652

src/os/solaris, src/os/linux and src/os/bsd should not contain duplicate code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 10
    • 7
    • hotspot
    • generic
    • generic

      The src/os/solaris and src/os/linux directories contain quite a lot of duplicate code.
      A tiny start has been made by abstracting the launcher for both into src/os/posix, but
      as much refactoring between solaris and linux as possible should be done. The use of 'posix' as a directory name is perhaps a bit unfortunate, because it implies that
      only posix-compliant code should exist there, when in fact much of the common code
      between solaris and linux isn't posix-related or posix-compliant. We might create a 'unix'
      os directory to contain the solaris/linux common code. We should also take into account
      BSD and OSX in the refactoring process.

            coleenp Coleen Phillimore
            phh Paul Hohensee
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: