Rony G. Flatscher wrote:
> (In order to do that in a safe way, it is also
necessary to determine whether the code is running under version 1.1, in which case "AccessibleObject" is not available. To do so, at present I am using an anonymous static block in "EngineUtils" in which the System properties are used to determine the version of the JVM. )
You should not check against Java version to check for AccessibleObject methods, use the reflection instead to check if a particular class or method is available as various PJava and libraries like www.classpath.org may have a method implementation even if the version string mention 1.1.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to