eclipse-ee4j / glassfish-shoal

Shoal
Other
5 stars 9 forks source link

Accessing system property in a rt.jar specific way #80

Open glassfishrobot opened 15 years ago

glassfishrobot commented 15 years ago

Watch out in line 99 of com.sun.enterprise.jxtamgmt.NiceLogFormatter:

@SuppressWarnings("unchecked") private static final String LINE_SEPARATOR = (String) java.security.AccessController.doPrivileged( new sun.security.action.GetPropertyAction("line.separator"));

Why not just using:

instead?

The code above is shown as error in eclipse. Probably it just does not like, that we use code directly on the rt.jar and not from the public API.

Environment

Operating System: All Platform: All

Affected Versions

[current]

glassfishrobot commented 6 years ago
glassfishrobot commented 15 years ago

@glassfishrobot Commented Reported by okrische

glassfishrobot commented 15 years ago

@glassfishrobot Commented @jfialli said: Does not impact the running system, only compile time.

glassfishrobot commented 12 years ago

@glassfishrobot Commented shreedhar_ganapathy said: Transferring to Joe for eval and closure.

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA SHOAL-80