JDK-6306394 : jtreg test com/sun/javadoc/testBadPackageFileInJar/TestBadPackageFileInJar.java failing
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-08-04
  • Updated: 2014-05-05
  • Resolved: 2006-03-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b75Fixed
Related Reports
Relates :  
Description
----------System.err:(22/933)----------
ERROR_OUTPUT : 

WARNING_OUTPUT : 

java.lang.Error: 
1 of 1 subtests failed for bug 4691095 (TestBadPackageFileInJar)

	at JavadocTester.printSummary(JavadocTester.java:312)
	at TestBadPackageFileInJar.main(TestBadPackageFileInJar.java:36)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
	at java.lang.Thread.run(Thread.java:608)

JavaTest Message: Test threw exception: java.lang.Error: 
1 of 1 subtests failed for bug 4691095 (TestBadPackageFileInJar)

JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Error:  1 of 1 subtests failed for bug 4691095 (TestBadPackageFileInJar)
result: Failed. Execution failed: `main' threw exception: java.lang.Error:  1 of 1 subtests failed for bug 4691095 (TestBadPackageFileInJar)


test result: Failed. Execution failed: `main' threw exception: java.lang.Error:  1 of 1 subtests failed for bug 4691095 (TestBadPackageFileInJar)

Comments
EVALUATION The jar file has a package.html file in it. We should either re-enable source in jar files, or remove the test.
15-12-2005

EVALUATION Initial suggestion is that the problem comes from DefaultFileManager not supporting source files in .jar files.
11-08-2005