This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Possible bytecode verifier issues


>>>>> "Ranjit" == Ranjit Mathew <rmathew4lists at hotmail dot 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.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]