jakarta-bcel-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Corry <e...@arbat.com>
Subject Inclusive/exclusive exception ranges
Date Thu, 01 Apr 2004 09:15:12 GMT
Hi,

http://jakarta.apache.org/bcel/apidocs/org/apache/bcel/generic/CodeExceptionGen.html#getEndPC()
says:

getEndPC

public InstructionHandle getEndPC()

    Returns:
            end of handled region (inclusive)



But http://jakarta.apache.org/bcel/apidocs/org/apache/bcel/classfile/CodeException.html#getEndPC()
says:

getEndPC

public final int getEndPC()

    Returns:
            Exclusive end index of the region where the handler is active.



Is this really right?  The one method gives you the exclusive and
the other gives you the inclusive end address?

-- 
Erik Corry         I'd be a Libertarian, if they weren't all a
erik@arbat.com     bunch of tax-dodging professional whiners.   - B. Breathed.

---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org


Mime
View raw message