request for review (S): rev JVMTI version number
Alan Bateman
Alan.Bateman at oracle.com
Mon Dec 6 08:43:18 PST 2010
Daniel D. Daugherty wrote:
> :
>
>
> > The returned environment may have a different version than the
> > requested version but the returned environment must be compatible.
>
> If a client asks for version 1.0 or version 1.1, then it is okay
> to return version 1.2 as long as the common parts between those
> versions are compatible. If a client running on JDK5 or JDK6 is
> smart enough to ask for JVM/TI version 1.2, then it can be allowed
> to have it.
It may be safer for jdk6 to continue to return a 1.1 environment, just
in case there are agents that would be surprised if GetVersionNumber
returned something else.
-Alan.
More information about the serviceability-dev
mailing list