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

old standard doclet (Standard.java) option flags gives error in JDK 10

XMLWordPrintable

      ADDITIONAL SYSTEM INFORMATION :
      Java 10.0.2

      A DESCRIPTION OF THE PROBLEM :
      This bug (https://bugs.java.com/view_bug.do?bug_id=JDK-8177511) states that the Standard.java (old standard doclet) should have been removed. It is not removed. It has been deprecated in the source code and the implementation has changed so that optionLength always returns 0. This means that all option flags will fail. In addition, it will throw an invalid flag error when this is clearly not what should be occuring.

      Please remove this Standard.java class or restore the implementation to what it was in Java 8 and 9.

      REGRESSION : Last worked in version 8u181

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run JDK10.0.2+13 javadoc with a java 8 doclet.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It throws a ClassNotFoundException(Standard.java after removing it) at compile time or it gives a deprecation warning and has same behaviour as it used to.
      ACTUAL -
      It returns with an invalid flag error.

      FREQUENCY : always


            jjg Jonathan Gibbons
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: