Re: Re: RetransformClasses doesnt contain locals info

Prashant Deva <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <CAEg0NFZp+cOekhW9rb=Azgu=O3A30W79g1Fx5NiwuvGvzQCbFw@mail.gmail.com>
I am posting this here to confirm that this is indeed a bug in the jvm.
I have posted this and it has been accepted.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7064927

I would encourage everyone reading this to vote for the bug so that it gets
fixed in some upcoming release of the jvm.

Prashant


On Thu, Jul 7, 2011 at 10:36 AM, Prashant Deva <[email protected]>wrote:

> umm dont really have an test case but i did try it with 2 different
> versions to ensure it isnt a bug.
> I tried with java6 update 23 and update 26.
>
> Prashant
>
>
> On Thu, Jul 7, 2011 at 6:48 AM, Rémi Forax <[email protected]> wrote:
>
>>  Le 07/07/2011 08:57, Prashant Deva a écrit :
>>
>>  It seems that if I try to 'retransform' some of the classes in my
>>> application, the local variable table is not loaded when my
>>> ClassFileTransformer is called.
>>>
>>> Specifically the asm.tree.MethodNode.**localVariables remains an empty
>>> ArrayList.
>>> The locals do load if instead of instrumenting the same classes with
>>> retransform, I do them right when they are loaded
>>>
>>> Is this how it is supposed to work or is this a bug in the asm or the
>>> jvm?
>>>
>>> Prashant
>>>
>>
>> There is perhaps a bug in the JVM, do you have a small test case ?
>>
>> Rémi
>>
>>
>>
>> --
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.