javap -extdirs doesn't work

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.2.0
    • Affects Version/s: 1.2.0
    • Component/s: tools
    • None
    • 1.2fcs
    • generic
    • generic
    • Verified

      The "-extdirs" does not work - actually arguments to extdirs are effectively
      ignored and flag causes standard extensions not to be searched.
      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
      % javap -extdirs /tmp/q Frog
      Class 'Frog' not found

                 --- fix the bug here ---

      % javap -extdirs /tmp/q Frog
      Compiled from Frog.java
      public class Frog extends java.lang.Object {
          public int rat;
          public Frog();
      }
      %
      robert.field@Eng 1998-08-06

            Assignee:
            Robert Field (Inactive)
            Reporter:
            Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: