Possible bytecode verifier issues

Tom Tromey tromey@redhat.com
Fri Feb 28 06:02:00 GMT 2003

>>>>> "Ranjit" == Ranjit Mathew <rmathew4lists@hotmail.com> writes:

Ranjit> With 3.2, he used to get lots of "bad pc in
Ranjit> exception_table" errors which disappeared with 3.3,
Ranjit> but now he gets "warning: exception handler inside
Ranjit> code that is being protected" warnings.

Just ignore this warning.
Recent versions of javac generate bytecode like this.  In 3.3 we
changed this from an error to a warning.

Ranjit> Is this is a known issue with GCJ or could it be
Ranjit> that his class bytecodes are really SNAFU-ed?

No, they are fine.  This is a weird corner case.  The archives have a
nice explanation from (who else?) Eric Blake.


More information about the Java mailing list