Since the call to System.getProperties is wrapped in a privileged action, the SecurityException declared can never be thrown.
Comments
The move of jdk.Version to java.lang.Runtime.Version (JDK-8144062) included replacement of jdk.Version.current() with Runtime.version(). The specification of version() does not contain the problematic @throws:
/**
* Returns the version of the Java Runtime Environment as a {@link
* Runtime.Version}.
*
* @return the {@link Runtime.Version} of the Java Runtime Environment
*
* @since 9
*/
public static Version version() { }
Resolving this issues as "Duplicate" of JDK-8144062 since the problem was resolved as a result of those changes.
19-05-2016
Raised priority to P3 since this affects the API and the best time to fix this is before 9 is released.