Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Strange problem with .jar and .class files Date: Fri, 13 Jan 2012 15:34:51 -0800 (PST) Organization: http://groups.google.com Lines: 41 Message-ID: <23773727.883.1326497691492.JavaMail.geo-discussion-forums@prli40> References: <86312e3c-b1cd-47d6-819f-5337ac665d00@t13g2000yqg.googlegroups.com> <27275044.412.1326404555131.JavaMail.geo-discussion-forums@prok2> Reply-To: comp.lang.java.programmer@googlegroups.com NNTP-Posting-Host: 2620:0:1000:fd2b:224:d7ff:fe69:5838 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1326497782 20635 127.0.0.1 (13 Jan 2012 23:36:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 13 Jan 2012 23:36:22 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2620:0:1000:fd2b:224:d7ff:fe69:5838; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11312 On Friday, January 13, 2012 9:55:25 AM UTC-8, Jeff Higgins wrote: > On 01/13/2012 10:40 AM, Lew wrote: > > On 01/13/2012 01:08 AM, Jeff Higgins wrote: > >> On 01/13/2012 03:41 AM, Jeff Higgins wrote: > >>> On 01/13/2012 12:05 AM, Lew wrote: > >>>> Jeff Higgins wrote: > >>>>> If I look at for instance Javolution library, their build process > >>>>> includes a > >>>>> non-standard text substitution step to include or not Java generics= . > >>>> > >>>> ??! > >>>> > >>> A method signature in the .templates.javolution.text package: > >>> public final Appendable/*TextBuilder*/ append(char c) > >>> becomes > >>> public final Appendable append(char c) > >>> in the javolution.text package before compilation. > >>> > >> or not, depending upon the build parameters. > > > > And again I say, > > > > ??! > > > I don't understand the question(exclamation). Fair enough. I'm expressing puzzlement and shock at the idea of pre-proces= sing Java code for generics or not. It seems so bassackwards and unnecessar= y, though I'm sure they thought they were clever to do this. I might have = contented my self with a -target 1.4 (and appropriate bootclasspath) rather= than manipulating source, presumably to support a ten-year-old version of = Java. Or better, freeze the Java 1.4 library and just freaking use the freaking g= enerics for all current work. So I was expressing my "WTF?" over their technique. --=20 Lew