JDK-8114828 : wrong class file error when compiling tests
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2015-06-16
  • Updated: 2015-10-21
  • Resolved: 2015-10-21
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 9
9Resolved
Related Reports
Relates :  
Description
#section:build
----------messages:(3/105)----------
command: build TestClassLoaderStats
reason: Named class compiled on demand
elapsed time (seconds): 7.005
result: Failed. Compilation failed: Compilation failed
....

bpool/local/aurora/CommonData/TESTBASE/hotspot/test/serviceability/sa/TestClassLoaderStats.java:31: error: cannot access LingeredApp
import jdk.test.lib.apps.LingeredApp;
                        ^
  bad class file: /bpool/local/aurora/sandbox/results/workDir/test/lib/share/classes/jdk/test/lib/apps/LingeredApp.class
    class file contains wrong class: jdk.test.lib.Utils
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
result: Failed. Compilation failed: Compilation failed
Comments
Executed the mentioned tests with RBT and as standalone. Could not reproduce the issue, the tests all pass. Asked the submitter for instructions how to reproduce. Likely to be a test environment setup issue. Lowered priority as the tests do pass.
17-07-2015