JDK-8210669 : Some launcher tests assume a pre-JDK 9 run-time image layout
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 9,10,11,12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-09-12
  • Updated: 2021-08-09
  • Resolved: 2019-01-09
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 12 JDK 13
11.0.13-oracleFixed 12 b28Fixed 13Fixed
Related Reports
Blocks :  
Relates :  
Description
Two launcher tests, ExecutionEnvironment.java and Test7029048.java (in test/jdk/tools/launcher), still assume the old image layout in which a HotSpot shared library (libjava.so) is found in $JDK/lib/$ARCH/$VMTYPE on Linux and Solaris.  The intermediate $ARCH directory was removed in JDK 9, as part of JEP 220 (Modular Run-Time Images) [1].  Since that time these tests have been succeeding anyway, because they don���t fail when the requested VM is not found.

The tests should be fixed to fail when the requested VM is not found, and to look for VM shared libraries in the proper location.

[1] http://openjdk.java.net/jeps/220
Comments
Fix Request (11u) This improves launcher tests and keeps parity with 11.0.13-oracle. Patch applies cleanly to 11u, tools/launcher tests still pass.
09-08-2021

Downgrading priority to P4. This should never have been P3.
07-01-2019