A constant collection to detect the current JRE version. Note that this code
is more sophisticated then a mere check of "java.version" or "java.class.version"
and similar system properties because some JVMs allow overriding those
by the user (e.g., from the command line). This implementation relies on
the core classes only and tries to minimize the number of security-sensitive
methods it uses.
This interface is supported in Java 1.1+ and should be compiled with class
version stamp 45.3 (-target 1.1). |