JDK-4165411 : java.lang.System: Forbid the modification of read-only system properties
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 1.1.6,1.2.0,1.3.0,1.4.0,6
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic,windows_nt
  • CPU: generic,x86
  • Submitted: 1998-08-11
  • Updated: 2005-10-24
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Though many system properties are read-only, the VM and the runtime system
allow them to be set, sometimes with unpredictable if not disastrous results.
We should identify precisely which system properties are read-only and disallow
them from being set either on the command line or via the methods in the
java.lang.System class.  -- mr@eng 8/11/1998

EVALUATION This should be done, but careful thought and possibly some API changes are required. It's too late for 1.2. -- mr@eng 9/3/1998