JDK-8065765 : Missing space in output message from -XX:+CheckEndorsedAndExtDirs
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7u80,8u40,8u45
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-11-24
  • Updated: 2015-02-02
  • Resolved: 2014-12-02
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 7 JDK 8
7u80Fixed 8u40 b18Fixed
Related Reports
Relates :  
Description
-XX:+CheckEndorsedAndExtDirs should be dropped from run command
http://hg.openjdk.java.net/jdk8u/hs-dev/hotspot/rev/fa6adc194d48#l3.32

----------messages:(3/183)----------
command: main -XX:+CheckEndorsedAndExtDirs EndorsedExtDirs
reason: User specified action: run main/othervm -XX:+CheckEndorsedAndExtDirs EndorsedExtDirs 
elapsed time (seconds): 0.046
----------System.out:(3/226)----------
Non-empty extension directory: /usr/jdk/packages/lib/ext
Endorsed standards override mechanism and extension mechanismwill not be supported in a future release.
Refer to JEP 220 for details (http://openjdk.java.net/jeps/220).
----------System.err:(2/108)----------
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Comments
I repurpose this JBS issue to fix the missing space issue. And update the test to work on test systems with the JAR files installed on the system extension directory.
01-12-2014

Test appears broken for nightly testing. Also, the error message is missing a space in "mechanismwill": ----------System.out:(3/226)---------- Non-empty extension directory: /usr/jdk/packages/lib/ext Endorsed standards override mechanism and extension mechanismwill not be supported in a future release. Refer to JEP 220 for details (http://openjdk.java.net/jeps/220).
24-11-2014