RFR JDK-8066709 Make some JDK system properties read only

Brent Christian brent.christian at oracle.com
Tue Jun 19 15:52:37 UTC 2018


On 6/19/18 8:08 AM, Roger Riggs wrote:
>>
>> * src/java.base/share/classes/java/lang/System.java :
>>
>> Should the @implNote with the list of cached properties be added 
>> everywhere the @apiNote is being added ?  Right now the @implNote is 
>> only added to getProperties().
>>
> The repetition was getting tiresome and the base of all the 
> xxxProperties methods is getProperties.
>   Joe suggested having one copy of the full information  and referring 
> to that from the individual @apiNotes.

Fair enough.

>> * src/java.base/share/classes/jdk/internal/util/StaticProperty.java :
>>
>>   45     private StaticProperty() {
>>   46
>>   47     }
>>
>> Maybe put this all on one line?
>>
> Will do

Thanks,
-Brent



More information about the core-libs-dev mailing list