[ltp] Java pre-1.5 and post 1.5

Peter B. West linux-thinkpad@linux-thinkpad.org
Sat, 31 Dec 2005 19:30:00 +0000


This is a cryptographically signed message in MIME format.

--------------ms040509090900030508050108
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Bret Comstock Waldow wrote:
> On Fri, 30 Dec 2005 23:27, Peter B. West wrote:
> 
> 
>>I can't recall the details, to tell you the truth.  But I was strongly
>>advised to keep the system JVM as 1.4.2 and to set only my user as 1.5.
>>The problem is something to do with updates for many Java-based packages
>>being unable to compile with 1.5.
> 
> 
> Ah, yes.  Sun changed the language.  They introduced some new keywords and 
> some new paradigms.
> 
> In some cases, people had been 'faking' similar functionality (the consistent 
> demand for which contributed to Sun deciding to put it in the language), and 
> so there are possible collisions between the new keywords and those same 
> names used as user defined objects previously.
> 
> So, code written pre-1.5 might contain constructs that mean something else 
> with 1.5.  There are flags to tell 1.5 to take this into account, but the 
> language is changing, and so there is a transittion period.
> 
> 
> The system user is the environment that recompiles any java packages (along 
> with all the other pacckages) during 'emerge' operations - hence the 
> suggestion to keep a 1.4 environment for the system user - so legacy code 
> will compile cleanly.  The actual users don't do that, and may arrange their 
> environment to their liking and deal with the consequences themselves.
> 

I am the actual user, _and_ it's my system.  I'm not running in a 
multi-user environment.

> 
> 
>>I have no reason to maintain a 1.4.2 installation.
> 
> 
> But of course.  As you point out, there is no need to.
> 

No.  Unless I'm running Gentoo.

> 
> 
>>If anyone has a reason or desire to maintain dual environments, good
>>luck to them.  I don't, and I don't see why I should be obliged to.
> 
> 
> Only for the sake of 'emerge -e' with legacy packages that weren't psychic 
> enough to anticipate the changes Sun would make in 1.5...
> 

Yes.  In other words, unless I'm running Gentoo.

> Cheers,
> Bret

If you want to see just how arcane the Java environment is becoming at 
Gentoo, go to the gentoo-java archives, and look at the thread 'Java 1.5 
migration plans'.  It'll put hairs on your chest.

Peter
-- 
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>

--------------ms040509090900030508050108
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJJzCC
Au4wggJXoAMCAQICAw9WGTANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwODIwMDY0MzQ2WhcNMDYwODIwMDY0MzQ2
WjBkMQ0wCwYDVQQEEwRXZXN0MRYwFAYDVQQqEw1QZXRlciBCZXJuYXJkMRswGQYDVQQDExJQ
ZXRlciBCZXJuYXJkIFdlc3QxHjAcBgkqhkiG9w0BCQEWD2xpc3RzQHBidy5pZC5hdTCCASIw
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM6Rl1X6RatDdAOqpAVXaNSGL3jA19xI2zHB
2Ogqg6oUmFwdmOIZIhIpk96VeYaYnf+fILzW8hls5MR5tKaAsKpE3n9B91x86xIK0nFa3WDG
yuaqoziXQNXB5/obynb95uiNA2DbgKgq0ETobjtJIFTUrv3aId3ig5jCmcCbhw6j7vRXcSQS
npjnaQu/ZF0RHx9fEa2Rf/KBmQYiwq04B3FuaQK/VqfFE705sroK2MHWrowkDo1DuPuWREj2
enM7yg7nDiiUIQwwTOHPK7WI247d0cEMqpn1hc3JUM/5043+cDKE5QA/kYPrZpEHsC+GC91i
lhS6k18C5LEu0sz7AM8CAwEAAaMsMCowGgYDVR0RBBMwEYEPbGlzdHNAcGJ3LmlkLmF1MAwG
A1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEEBQADgYEAfo7UsVkBNQp5tQVdQusyKppNvS4vzoYl
KtCcpMBC4DsJP6wd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g2sKdA5lB
GHatVReAXbDePy1IVtYvMOahqhvCg0JEqJ0FaDcJSuwqXYvYkYcqqvNr3XbIzFfQ/BH/yV2J
9+D6CdA/9t/5PUgXkSQD6+zFnD4MwJZbI2ZMEnE3iva8I4v1XI/pHYr0cjy8HA1aKDuggmGz
WYpcICOsq0jm/Y2LzGWH3uOLuxPwfF2qXKjXLfaC+0iQkJH05FcI9QAAAAAAAA==
--------------ms040509090900030508050108--
---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]