jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Dixon-Peugh <dpe...@mindspring.com>
Subject INVOKEVIRTUAL Problems
Date Sat, 09 Feb 2002 18:31:37 GMT

INVOKEVIRTUAL only reports the following Exceptions:
	java.lang.NoSuchFieldError
	java.lang.IllegalAccessError
	java.lang.NoSuchMethodError
	java.lang.NullPointerException	
	java.lang.IncompatibleClassChangeError
	java.lang.AbstractMethodError
	java.lang.UnsatisfiedLinkError


How difficult would it be to have INVOKEVIRTUAL
return the declared exceptions on the Method?

Basically, for the Coverage tool, I need to find
all Handlers which can be reached from the Instruction.
(Looking at the Exception table isn't sufficient, because
the INVOKEVIRTUAL may be inside of Try/Catch which catches
something the method doesn't declare.)

Any insight?

DDP




Mime
View raw message