Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin3!goblin.stu.neva.ru!exi-transit.telstra.net!news.telstra.net!exi-spool.telstra.net!exi-reader.telstra.net!not-for-mail Date: Mon, 30 May 2011 15:19:37 +1000 From: Esmond Pitt Reply-To: not.esmond.pitt@not.bigpond.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Java generics and type erasure References: <9d4c2b16-beb5-40b1-87a2-f03e971efeed@k17g2000vbn.googlegroups.com> <4dde10b0$0$67777$c30e37c6@exi-reader.telstra.net> <4ddf0617$0$67777$c30e37c6@exi-reader.telstra.net> <4ddf14c8$0$67785$c30e37c6@exi-reader.telstra.net> <4ddf5baf$0$67779$c30e37c6@exi-reader.telstra.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 13 Message-ID: <4de328ea$0$89995$c30e37c6@exi-reader.telstra.net> NNTP-Posting-Host: 120.151.14.51 X-Trace: 1306732778 exi-reader.telstra.net 89995 120.151.14.51:35333 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4715 On 28/05/2011 12:18 AM, Lew wrote: > Esmond Pitt wrote: > SO it IS a runtime phenomenon that the generic information IN THE CLASS > FILE is ignored. > > Better? Not even different. The type information present in the source code is not present in the byte code. It is erased by the compiler. Ergo that happens at compile time. The compiler puts type information elsewhere in the class file for its own use, also at compile time. There is no runtime action anywhere here. Absence of a phenomenon isn't itself a phenomenon.