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

Builtin compiler classpath *precedes* CLASSPATH settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • tools
    • sparc
    • solaris_2.5.1



      Name: el35337 Date: 04/04/98


      The JDK 1.2beta3 compiler doesn't *append* the
      builtin classpath to the user's CLASSPATH
      environment as documented. Instead, the compiler's
      builtin classpath *precedes* the classes listed
      in CLASSPATH.
      This prevents several sources from compiling, e. g.
      sources that rely on an org.omg.CORBA package not
      contributed by Sun, because the compiler always
      uses the builtin org.omg.CORBA classes instead of
      those explicitly listed in the CLASSPATH. So you
      can't override any class that comes with the JDK
      archive.
      This behavior is new in JDK 1.2beta3 and was not present
      in JDK 1.2beta3 or JDK 1.1.x.
      (Review ID: 27145)
      ======================================================================

            dconnellsunw David Connelly (Inactive)
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: