Re: Runtime.currentRuntime

2015-11-29 Thread Doug Lea
On 11/28/2015 10:07 AM, Alan Bateman wrote: On 28/11/2015 11:37, Doug Lea wrote: Does anyone know why the static singleton in java.lang.Runtime is not declared as final? public class Runtime { private static Runtime currentRuntime = new Runtime(); I don't see a reason, so it seems lik

Re: Runtime.currentRuntime

2015-11-28 Thread David Holmes
On 28/11/2015 9:37 PM, Doug Lea wrote: Does anyone know why the static singleton in java.lang.Runtime is not declared as final? public class Runtime { private static Runtime currentRuntime = new Runtime(); I don't see a reason, so it seems likely that somehow no one has noticed befor

Re: Runtime.currentRuntime

2015-11-28 Thread Alan Bateman
On 28/11/2015 11:37, Doug Lea wrote: Does anyone know why the static singleton in java.lang.Runtime is not declared as final? public class Runtime { private static Runtime currentRuntime = new Runtime(); I don't see a reason, so it seems likely that somehow no one has noticed before th