# HG changeset patch # User alanb # Date 1448828858 0 # Node ID 6beb09485bdd7af6e3210c52e6040f8d6ce037da # Parent eddd54f8891ec7e3a5824f6919e85903fe482f2c 8144210: Runtime.currentRuntime should be final Reviewed-by: dl, dholmes diff -r eddd54f8891e -r 6beb09485bdd jdk/src/java.base/share/classes/java/lang/Runtime.java --- a/jdk/src/java.base/share/classes/java/lang/Runtime.java Fri Nov 27 11:30:46 2015 +0100 +++ b/jdk/src/java.base/share/classes/java/lang/Runtime.java Sun Nov 29 20:27:38 2015 +0000 @@ -44,7 +44,7 @@ */ public class Runtime { - private static Runtime currentRuntime = new Runtime(); + private static final Runtime currentRuntime = new Runtime(); /** * Returns the runtime object associated with the current Java application.