MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getSavedProperty

Method getSavedProperty

unused/sun/misc/VM.java:254–260  ·  view source on GitHub ↗

Returns the system property of the specified key saved at system initialization time. This method should only be used for the system properties that are not changed during runtime. It accesses a private copy of the system properties so that user's locking of the system properties object will not ca

(String key)

Source from the content-addressed store, hash-verified

252 *
253 */
254 public static String getSavedProperty(String key) {
255 if(org.opensourcephysics.js.JSUtil.isJS)return "SwingJS environment.";
256 if (savedProps.isEmpty())
257 throw new IllegalStateException("Should be non-empty if initialized");
258
259 return savedProps.getProperty(key);
260 }
261
262 // TODO: the Property Management needs to be refactored and
263 // the appropriate prop keys need to be accessible to the

Callers

nothing calls this directly

Calls 2

getPropertyMethod · 0.65
isEmptyMethod · 0.45

Tested by

no test coverage detected