JDK-8225772 : Spec Clarification : System:getProperties() not listing the "java.compiler"
Type:Enhancement
Component:core-libs
Sub-Component:java.lang
Priority:P3
Status:New
Resolution:Unresolved
Submitted:2019-06-14
Updated:2019-06-14
Description
As per the https://download.java.net/java/early_access/jdk13/docs/api/java.base/java/lang/System.html#getProperties()
"This set of system properties always includes values for the following keys:"
Observed that "java.compiler" is not listed.
Comments
java.lang.Compiler was deprecated (for removal) in Java SE 9 - see JDK-4285505. As part of this, the reference to the "java.compiler" system property was removed from the Compiler class.
The remaining reference to the "java.compiler" will likely go away once JDK-8041676 is addressed. I suspect this latest bug report is actually a duplicate of this one.