Gentoo Archives: gentoo-java

From: Krzysiek Pawlik <nelchael@g.o>
To: Gentoo Java <gentoo-java@l.g.o>, java@g.o
Subject: [gentoo-java] Deprecating JDK 1.4
Date: Sun, 13 Jul 2008 10:01:13
Message-Id: 4879D262.1080903@gentoo.org
1 Hi,
2
3 As I mentioned in the thread "[gentoo-java] caucho-services, burlap and hessian
4 mess" I'm going to deprecate 1.4 - there was not much feedback on that topic ;)
5
6 Current plan is:
7
8 * migrate 5 remaining packages to generation 2 (or if masked remove them) -
9 current list (as of today):
10 http://dev.gentoo.org/~nelchael/java-generation-2/not-migrated-20080713
11 * make generation 1 eclasses die instead of QA violation warning
12 * change eclasses that have >?=virtual/jdk-1.4.* (java-gnome and php4_4-sapi)
13 * rev bump every package with >?=virtual/jdk-1.4.*:
14 * if package has soft dependency on 1.4 (>=1.4) - raise it to 1.4 - that's
15 the easy case
16 * if package has hard dependency on 1.4 (=1.4) - try to compile with 1.5,
17 eventually patch it to work
18 * if package refuses to compile/work with >1.4 - package.mask, slate for removal
19 * get all rev bumped packages stabilized (if package has stable version in
20 corresponding SLOT)
21 * remove old versions of touched packages
22 * remove java5 use flag
23 * start dropping generation 1 from the tree:
24 * make old eclasses a stub - so unmerge works
25 * remove generation 1 bits from JDK ebuilds
26 * package.mask java-config-1*
27 * remove virtual/jdk-1.4.1
28 * clean up dev-java/* - prune old versions (for example currently:
29 java-config-wrapper - 3 stable versions in same SLOT)
30
31 What that huge change means to us? As you may (or may not) know Sun is stopping
32 support for 1.4 soon, so we need to move away from it. Also if we focus on
33 modern JDK versions (1.5, 1.6 and soon 1.7) we'll have less work, as most major
34 changes occurred between 1.4 and 1.5. Basically whatever is 1.5 compatible
35 should work with 1.6 and 1.7.
36
37 Note: that does NOT mean that I'm proposing to remove JDK 1.4 from the tree - it
38 will stay to people who need it can still use it. On the other hand few months
39 after Sun EOLs 1.4 we *should* consider dropping 1.4 JDKs.
40
41 If there are no objections I'm going to start the big changes around Friday (18
42 July). I'm planning also to get a heads-up announcement in GMN for July.
43
44 I'm also asking everybody for help: when the process starts please start fixing
45 ebuilds too - changing 370 packages is not an easy task to take alone.
46
47 Jean-Noël: Eclipse is quite special case here: as 3.2* requires both: 1.4 and
48 1.5 - could you start the process of stabilizing 3.3.1.1-r1 ?
49
50 --
51 Krzysiek Pawlik <nelchael at gentoo.org> key id: 0xBC555551
52 desktop-misc, java, apache, ppc, vim, kernel, python...

Attachments

File name MIME type
jdk1.4-atoms text/plain
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-java] Re: Deprecating JDK 1.4 "Jörg Schaible" <joerg.schaible@×××.de>
Re: [gentoo-java] Deprecating JDK 1.4 "Petteri Räty" <betelgeuse@g.o>