DO NOT REPLY [Bug 47902] ExecutionVisitor doesn't support Class constant type for LDC and LDC_W

2009-09-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47902

--- Comment #2 from Enrico Gueli enrico.gu...@polito.it 2009-09-25 03:28:45 
PDT ---
Created an attachment (id=24310)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=24310)
ExecutionVisitor patch (updated)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: bcel-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: bcel-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 47902] ExecutionVisitor doesn't support Class constant type for LDC and LDC_W

2009-09-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47902

--- Comment #1 from Enrico Gueli enrico.gu...@polito.it 2009-09-25 03:27:19 
PDT ---
(In reply to comment #0)
 Moreover, it would be desired to throw an exception when an unknown constant
 type is encountered, rather than doing nothing at all. 

I've just read the Javadoc of ExecutionVisitor, that states that it doesn't
check for correct types on the OperandStack. Therefore I remove the checks and
just add the class literal constant. Sorry for the inconvenience.

Enrico

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: bcel-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: bcel-dev-h...@jakarta.apache.org