system reserved property names
david.holmes at oracle.com
Fri Apr 19 02:44:30 UTC 2013
On 19/04/2013 8:32 AM, huizhe wang wrote:
> On 4/18/2013 2:13 AM, Alan Bateman wrote:
>> On 18/04/2013 07:28, huizhe wang wrote:
>>> System.getProperties  returns all of the "current" system
>>> properties. Is there a way to get a list of the system reserved
>>> properties such as "java.version" and etc.? Would anyone know?
>> I'm not 100% sure what you mean by "reserved" but I will guess that
>> you asking if there is a complete list of the system properties
>> defined by the Java SE APIs and perhaps the list of JDK-specific
>> system properties too. Off-hand, I'm not aware of a master list, they
>> are instead "buried" in the API specs. Is the context the system
>> properties that JAXP 1.5 is proposing to define?
> Yes, those defined by the Java SE APIs or the JDK-specific system
> properties. Not related to JAXP 1.5, I'm just asking a general question
> to find out if there's an API to get the 'master' list.
As with Alan I don't know what you mean by "reserved". The documentation
you link to above tells you what properties must exist. But an
implementation can add other properties. I don't know if there is any
rule that says they can't add properties in the java.* namespace.
More information about the core-libs-dev