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

javac -extdirs doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.0
    • 1.2.0
    • tools
    • None
    • 1.2fcs
    • generic
    • generic

      The "-extdirs" does not work - actually arguments to extdirs are effectively
      ignored and flag causes standard extensions not to be found.

      Because code is shared this also effects javadoc.
      robert.field@Eng 1998-08-06

      To reproduce:
      % cd /tmp
      % mkdir q
      % cd q
      % cat > Frog.java
      public class Frog {
              public int rat;
      }
      % javac Frog.java
      % jar cf toad.jar Frog.class
      % rm Frog.class
      % cd
      % cat > Y.java
      public class Y extends Frog {
      }
      % javac -extdirs /tmp/q Y.java
      Y.java:1: Superclass Frog of class Y not found.
      public class Y extends Frog {
                             ^
      1 error

                 --- fix the bug here ---

      % javac -extdirs /tmp/q Y.java
      %
      robert.field@Eng 1998-08-06

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: