[Soot-list] Java generics in Soot

Khilan Gudka khilan.gudka at imperial.ac.uk
Wed Mar 5 13:39:37 EST 2008


Hi,

Generics are a source-level feature in Java (as opposed to .NET where
generics are reified and are thus implemented in the .NET runtime) hence
they get erased before bytecode is output by javac. There is no notion of
generics in java bytecode.

Khilan

On 05/03/2008, Andrey Chudnov <achudnov at gmail.com> wrote:
>
> Hi,
> Does Soot support generics? I need to construct Jimple code which
> creates an instance of a generic class.
>
> Best regards,
>
> Andrey Chudnov
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20080305/26b7e4f7/attachment.htm


More information about the Soot-list mailing list