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

legacy support: java endorsed dirs ignored for $JAVA_HOME/jre/lib/endorsed

XMLWordPrintable

      Reproduce Steps:
      ================
      1. Download & unzip ojdk.zip to /my/ojdk
      2. export JAVA_HOME=/my/ojdk
      3. Create dir $JAVA_HOME/jre/lib/endorsed and copy edtest.jar (attached) into it
      4. $JAVA_HOME/bin/javac Test.java (Test.java attached)

      Expect: compile pass
      Result: compile fail
      ¿Test.java:1: package test does not exist
      import test.testbase;
                 ^
      Test.java:3: cannot find symbol
      public class Test extends testbase
                                ^
        symbol: class testbase
      Test.java:9: cannot find symbol
                      pass = pass();
                             ^
        symbol: method pass()
        location: class Test
      3 errors

            Unassigned Unassigned
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: