Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b119
-
linux
Description
FULL PRODUCT VERSION :
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b113)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b55, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux XXXX.com 2.6.32-358.6.2.el6.3.deshaw.x86_64 #1 SMP Tue May 21 11:35:42 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
If you execute javadoc on a file containing a class which subclasses java.text.NumberFormat or java.text.DateFormat, it will emit the following error and die:
javadoc: error - com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
REGRESSION. Last worked in version 7u45
ADDITIONAL REGRESSION INFORMATION:
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b113)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b55, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Here we show the file that will cause the error, and then the javadoc command you run on that file to see the error.
> cat JavadocFailure.java
import java.text.NumberFormat;
public class JavadocFailure extends NumberFormat
{
}
> javadoc JavadocFailure.java
Loading source file JavadocFailure.java...
Constructing Javadoc information...
Standard Doclet version 1.8.0-ea
Building tree for all the packages and classes...
Generating ./JavadocFailure.html...
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
javadoc: error - com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
1 error
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect javadoc to run to completion without throwing an exception and dying.
ACTUAL -
javadoc throws an exception and dies:
> javadoc JavadocFailure.java
Loading source file JavadocFailure.java...
Constructing Javadoc information...
Standard Doclet version 1.8.0-ea
Building tree for all the packages and classes...
Generating ./JavadocFailure.html...
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
javadoc: error - com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
1 error
ERROR MESSAGES/STACK TRACES THAT OCCUR :
javadoc reports the following error and dies:
javadoc: error - com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.text.NumberFormat;
public class JavadocFailure extends NumberFormat
{
}
---------- END SOURCE ----------
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b113)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b55, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux XXXX.com 2.6.32-358.6.2.el6.3.deshaw.x86_64 #1 SMP Tue May 21 11:35:42 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
If you execute javadoc on a file containing a class which subclasses java.text.NumberFormat or java.text.DateFormat, it will emit the following error and die:
javadoc: error - com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
REGRESSION. Last worked in version 7u45
ADDITIONAL REGRESSION INFORMATION:
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b113)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b55, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Here we show the file that will cause the error, and then the javadoc command you run on that file to see the error.
> cat JavadocFailure.java
import java.text.NumberFormat;
public class JavadocFailure extends NumberFormat
{
}
> javadoc JavadocFailure.java
Loading source file JavadocFailure.java...
Constructing Javadoc information...
Standard Doclet version 1.8.0-ea
Building tree for all the packages and classes...
Generating ./JavadocFailure.html...
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
javadoc: error - com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
1 error
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect javadoc to run to completion without throwing an exception and dying.
ACTUAL -
javadoc throws an exception and dies:
> javadoc JavadocFailure.java
Loading source file JavadocFailure.java...
Constructing Javadoc information...
Standard Doclet version 1.8.0-ea
Building tree for all the packages and classes...
Generating ./JavadocFailure.html...
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
javadoc: error - com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
1 error
ERROR MESSAGES/STACK TRACES THAT OCCUR :
javadoc reports the following error and dies:
javadoc: error - com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.locale.provider.LocaleProviderAdapter not found
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.text.NumberFormat;
public class JavadocFailure extends NumberFormat
{
}
---------- END SOURCE ----------