Re: Handling of NULL at LocalVariablesSorter.visitFrame()
Eugene Kuleshov <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Alexander, Could you please open a bun in ASM issue tracker and attach a simple test case that would allow to reproduce it? Thanks Eugene On Mon, Aug 23, 2010 at 7:36 AM, <[email protected]> wrote: > Hello, > > in version 3.3 the method LocalVariablesSorter.visitFrame() was updated to > include the check of locals types. It checks for Integer, Float, Long, Double > and otherwise use the following: > typ = Type.getObjectType((String) t); > > I have the problem with this statement. If local value is Opcodes.NULL then > we have ClassCastException (java.lang.Integer cannot be cast to > java.lang.String). > Probably the reason is that I use LocalVariablesSorter delegating to > AnalyzerAdapter, which pushes Opcodes.NULL on stack in case of ACONST_NULL > instruction. > > It's not reproducible with ASM 3.2. > > Could you please let me know if it's really an issue in ASM or just incorrect > using of ASM by me? > > > -- > You receive this message as a subscriber of the [email protected] mailing list. > To unsubscribe: mailto:[email protected] > For general help: mailto:[email protected]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > >
message-footer.txt
(text/plain, 238 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws