Recognize obsoleted options
Bryce McKinlay
mckinlay@redhat.com
Fri May 13 20:37:00 GMT 2005
Ranjit Mathew wrote:
>"-verify" is also still supported. You can verify it(!)
>yourself by testing out the bytecode produced by GCJ
>for the testcase in PR19870. Sun's JRE happily prints
>out "42" without indicating an error unless you pass
>"-verify" on the command line.
>
>I have tested this out with Sun JDK 1.4.2_07 as well as
>JDK 1.5.0_03.
>
>The most probable reason for no difference in the strace
>output is that verification happens on the bytecode
>loaded in memory without necessarily needing to invoke
>system calls.
>
>
Interesting. I presume then that the default is actually "-verifyremote"
- ie verify classes if they are loaded by other than the system
classloader (or one of its parents). We could implement this behaviour
easily enough, although I'm inclined to stick with the status quo for
now since it means both the verifier and GCJ's bytecode output are more
likely to get tested.
Bryce
More information about the Java-patches
mailing list