JDK-8251349 : Add TestCaseImpl to OverloadCompileQueueTest.java's build dependencies
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,15,16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-08-10
  • Updated: 2024-11-20
  • Resolved: 2020-08-18
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 11 JDK 16
11.0.23-oracleFixed 16 b12Fixed
Related Reports
Relates :  
Description
Fails in 100% runs. The failure is caused by a non-built dependency, the TestCaseImpl.java.

Test's stacktrace:

java.lang.Error: TESTBUG: cannot load class byte code compiler.codecache.stress.TestCaseImpl
	at compiler.codecache.stress.Helper.<clinit>(Helper.java:46)
	at compiler.codecache.stress.OverloadCompileQueueTest.<clinit>(OverloadCompileQueueTest.java:60)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.io.IOException: Stream closed
	at java.base/java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:157)
	at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
	at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
	at java.base/java.io.FilterInputStream.read(FilterInputStream.java:106)
	at compiler.codecache.stress.Helper.loadClassData(Helper.java:84)
	at compiler.codecache.stress.Helper.<clinit>(Helper.java:44)
	... 7 more
STATUS:Failed.`main' threw exception: java.lang.Error: TESTBUG: cannot load class byte code compiler.codecache.stress.TestCaseImpl
Comments
[jdk11u-fix-request] Approval Request from Amos “Backporting for parity with jdk 11.0.23-oracle. No risk, test fix. Clean backort. SAP nightlies passed on 2023-12-14”
14-12-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2358 Date: 2023-12-13 01:49:02 +0000
13-12-2023

Commit: https://github.com/openjdk/jdk/commit/714db70bf35a559409b0f8d9c785e47b44cd2900 Author: Evgeny Nikitin <enikitin@openjdk.org> Date: Mon Aug 10 20:31:27 2020 +0200
05-12-2023

URL: https://hg.openjdk.java.net/jdk/jdk/rev/6f73ede46aad User: iignatyev Date: 2020-08-18 23:21:57 +0000
18-08-2020

ILW = LMH I = L, A bug in a test that's long time quarantined; L = M, failure happens in a test, not in a product code; W = H, no workaround yet.
10-08-2020