Gentoo Archives: gentoo-java

From: Vlastimil Babka <caster@g.o>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] Cross compiling for older platform versions
Date: Fri, 29 Feb 2008 07:51:23
Message-Id: 47C7B973.7040708@gentoo.org
In Reply to: Re: [gentoo-java] Cross compiling for older platform versions by "Petteri Räty"
1 Petteri Räty wrote:
2 > David Herron kirjoitti:
3 >> Hi, I talked with Petterati at FOSDEM last weekend and he explained to
4 >> me (again) the issue y'all have. I just noticed that Joe Darcy has
5 >> posted a blog entry which seems to be really close to what you want.
6 >> Namely that even if you specify "-source 1.4" the platform library is
7 >> gonna change from release-release. Please take a look.
8 >>
9 >> http://blogs.sun.com/darcy/entry/how_to_cross_compile_for
10 >>
11 >>
12 >
13 > Yeah we talked a while ago on #gentoo-java or was it on this mailing
14 > list that our approach to backwards compatibility is not enough to be
15 > able to always run things with 1.4 but using -source is enough to get us
16 > through the following situation:
17
18 Actually, this idea might be worth exploring when gen-1 is gone and some
19 packages in gen-2 still need 1.4 to compile (but can run with 1.5+), 1.4
20 EOL is near... Maybe taking rt.jar from blackdown-jdk would not break
21 the license (didn't check), wouldn't need fetch restriction and because
22 it would be just used as compilation target, the security
23 vulnerabilities would be moot.
24
25 Or maybe there will be only few packages, with existing or easy patches
26 to work with 1.5+ :)
27 --
28 Vlastimil Babka (Caster)
29 Gentoo/Java

Attachments

File name MIME type
signature.asc application/pgp-signature