[Java Spec Report] Re: jsr 14 proto where

"Pat LaVarre" <[email protected]> Thu, 11 Mar 2004 04:51:37 -0000
Newsgroups gmane.comp.java.spec-report
Message-ID <[email protected]>
> >>>jsr014_adding_generics-0_1-pr-spec.zip, 424.32 KB
> >>You found an early copy of the jsr14 specification,
> > Eh?
> > A later copy of the jsr 14 text is publically available on the
> > web?
> Yes, inside the prototype that you just downloaded.

Wow.  Thanks for clueing me in.  Reminds of the clarify.html whose
web copy never learned to mention its errors were superceded.

> >>http://java.sun.com/developer/earlyAccess/adding_generics/
> > Instant support!  Thank you again ...
> > Ouch, again I say maybe later.  This javac src uses its own
> > features!
> 
> Yes it does ... Read the README.

Yes independently while disconnected eventually I saw:

adding_generics-2_4ea/README 
confirms: "src ... As the compiler is written using generics, if you
want to bootstrap, you  
will need to use a generic-extended Java compiler.   Use the " source
1.5" compiler flag  
...".

> Yes it does, and it bootstraps itself on a 1.4.2 VM just fine,
> thank you.  See scripts/bootstrap.  Read the README.

Real life isn't that simple?  Same as normal?  Specifically this
morning we collected the google key "does not point to a working J2SE
1.4.2 installation" from the episode of pain:

$ uname -srvm
Darwin 7.2.0 ... Power Macintosh
$
$ cd adding_generics-2_4ea/
$
$ view README
$
$ export | grep J
$ 
$ java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_03-117.1)
Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode)
$ 
$ ls -l `which java` | sed $'s/ [^ ]*$/\\\x0A&/'
lrwxr-xr-x  1 root  wheel  57 23 Feb 17:43 /usr/bin/java ->
 /System/Library/Frameworks/JavaVM.framework/Commands/java
$ 
$ find /System/Library/Frameworks/JavaVM.framework -iname 'dt.jar'
/System/Library/Frameworks/JavaVM.framework/Versio
ns/1.3.1/Home/lib/dt.jar
/System/Library/Frameworks/JavaVM.framework/Versio
ns/1.4.2/Classes/dt.jar
/System/Library/Frameworks/JavaVM.framework/Versio
ns/1.4.2/Home/lib/dt.jar
$ 
$ export JSR14DISTR=$PWD
$ export J2SE14=/System/Library/Frameworks/JavaVM.
framework/Versions/1.4.2/Home
$ scripts/javac
${J2SE14} does not point to a working J2SE 1.4.2 installation.
$ 
$ view scripts/javac
$ 
$ export J2SE14=$PWD
$ scripts/javac
${J2SE14} does not point to a working J2SE 1.4.2 installation.
$ 
$ export J2SE14=/System/Library/Frameworks/JavaVM.
framework/Versions/1.4.2/Home/
lib
$ scripts/javac
${J2SE14} does not point to a working J2SE 1.4.2 installation.
$ 

> > Ouch, again I say maybe later.

A colleague of mine in real life recently made quite a point of
explaining how automagically this download just plain
works ...  I said we should remember we have involved
by-design-unreasonable computers and the stunningly
ignorant me.

So far I think I'm winning, but I see it could work someday.

Pat LaVarre



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Upgrade to 128-bit SSL Security!
http://us.click.yahoo.com/VV_nUB/yjVHAA/TtwFAA/5cFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this mailing list, send an email to:
[email protected]
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/java-spec-report/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/