Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11312

Re: Strange problem with .jar and .class files

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Strange problem with .jar and .class files
Date 2012-01-13 15:34 -0800
Organization http://groups.google.com
Message-ID <23773727.883.1326497691492.JavaMail.geo-discussion-forums@prli40> (permalink)
References (6 earlier) <jeoe32$pdk$1@news.albasani.net> <jeoq9g$su3$1@dont-email.me> <jeors8$4dk$1@dont-email.me> <jepj8h$4nr$1@news.albasani.net> <jepqol$dga$1@dont-email.me>

Show all headers | View raw


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<TextBuilder> 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-processing Java code for generics or not. It seems so bassackwards and unnecessary, 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 generics for all current work.

So I was expressing my "WTF?" over their technique.

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Strange problem with .jar and .class files Eric Tonissen <EricTonissen@zonnet.nl> - 2012-01-12 03:40 -0800
  Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 10:33 -0500
    Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-12 08:14 -0800
      Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 12:34 -0500
        Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-12 13:42 -0800
          Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 19:38 -0500
            Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-12 21:05 -0800
              Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 03:41 -0500
                Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 04:08 -0500
                Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-13 07:40 -0800
                Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 12:55 -0500
                Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-13 15:34 -0800
                Re: Strange problem with .jar and .class files Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-13 21:45 -0400
  Re: Strange problem with .jar and .class files Roedy Green <see_website@mindprod.com.invalid> - 2012-01-12 09:40 -0800
  Re: Strange problem with .jar and .class files Eric Tonissen <EricTonissen@zonnet.nl> - 2012-01-13 02:24 -0800
    Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-13 07:42 -0800
      Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 13:18 -0500
        Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-13 15:40 -0800

csiph-web