Re: Re: Re: Re: Re: Is Interpreter generic?

Remi Forax <[email protected]> Tue, 18 Mar 2014 08:48:47 +0100
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
On 03/17/2014 10:37 PM, Eliot Moss wrote:
> On 3/17/2014 4:40 PM, Alexander Kampmann wrote:
>> hi,
>>
>> It does work with debug-all, thanks.
>
>> [...]
>
>> So javap can find out that this is a generic classes. Also, if javap 
>> can not figure it out, the
>> compiler can not as well, so compiling against the binary is 
>> impossible (as I just experienced).
>
> Yes, the "signatures" part of attributes gives this ... but
> in large part JVMs can ignore it since it does not impact
> execution.  This may change over time, of course.

The whole JVM ignore it :)

>
>> So why is there a binary with a non-generic version of the class? I 
>> would guess it is downwards
>> compability in order to run in JVM versions < 1.5?
>
> Yes, I think that is possible, though I think it would be
> of a pretty old version by now.

for JavaSE yes, but not for JavaME, most of the implementations are 
stuck with 1.3 compatiiblity.

>
> Regards -- Eliot

cheers,
Rémi
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