Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292001 (java15removal) - [Tracker] removal of 1.5 JDK's
Summary: [Tracker] removal of 1.5 JDK's
Status: RESOLVED FIXED
Alias: java15removal
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 233548 275182 275672 283848 287615 292286 293387 301239 304639 309109 310825 313307 313309 314091 318543
Blocks: 306579 483018 CVE-2013-3829
  Show dependency tree
 
Reported: 2009-11-05 17:32 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2017-01-19 18:46 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the state so far (jdk-1.5-list,5.18 KB, patch)
2009-11-08 22:55 UTC, Vlastimil Babka (Caster) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-05 17:32:28 UTC
1.5 was EOLed on 3rd of November, time to get rid of it too.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-08 22:55:39 UTC
Created attachment 209679 [details, diff]
the state so far

only few packages left
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-03-31 16:18:33 UTC
P.masked for removal: 
=dev-java/sun-jre-bin-1.5*
=app-emulation/emul-linux-x86-java-1.5*

use.masked nsplugin and marked as build-only to minimize usage outside of emerge
dev-java/sun-jdk-1.5
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-05 22:17:47 UTC
+# Vlastimil Babka <caster@gentoo.org> (06 Apr 2010)
+# Legacy library nothing in the tree depends on. Needs 1.5 java to compile.
+# Masked for removal (move to java-overlay) in 30 days. Tracker bug #292001.
+dev-java/struts-legacy
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-05 23:10:40 UTC
Bumped to remove java6 flag (needs time before stable requests):
dev-db/hsqldb-1.8.1.2-r1
dev-java/jdbc-postgresql-8.4_p701-r1
dev-java/jruby-1.4.0-r6
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-05 23:55:48 UTC
Comment on attachment 209679 [details, diff]
the state so far

After cleanup of old packages and dealing with the test-related stuff, the only stuff left to do should be the blockers of this bug and stabilization/remove-old for packages mentioned in the previous comment.
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-06-30 21:53:41 UTC
Since the remaining blockers are open only for keywording arches other than x86/amd64, I removed x86/amd64 keywords from the versions that need 1.5 and are pending removal once the keywording is completed. This allowed masking of sun-jdk-1.5:

+# Vlastimil Babka <caster@gentoo.org> (30 Jun 2010)
+# Masked for removal due to EOL and security, bug #292001.
+# Do this to avoid pulling other 1.5 JDK:
+#   emerge -av --depclean sun-jdk:1.5 jdk:1.5 jre:1.5
+=dev-java/sun-jdk-1.5*
+
+# Vlastimil Babka <caster@gentoo.org> (30 Jun 2010)
+# Masked for removal due to 1.5 JDK removal, bug #292001.
+# Use dev-java/tijmp for the 1.6 java replacement.
+dev-java/jmp
+ 
Comment 7 Brandon Holbrook 2010-08-25 16:51:41 UTC
It hasn't been brought up here, so I thought I'd add my 2 cents :)

JDK-1.5 is required when building Android (not developing apps FOR Android, but when compiling the actual Android OS).  Documentation to this fact can be found here: http://source.android.com/source/download.html (Excerpt: "Java 6 is not supported, because of incompatibilities with @Override.")

Granted, it's their fault they haven't ported to java6 yet, but it is what it is, and I do enjoy using Gentoo as my dev box when hacking around on their source.  The ebuilds bring a lot of conveniences that I'd lose if I had to install the JDK manually.

Is there any other way we can find to let one copy of JDK-1.5 live on?  Hard mask?  Does somebody have a public overlay they'd consider letting this live on?
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-08-25 20:22:56 UTC
(In reply to comment #7)
> Is there any other way we can find to let one copy of JDK-1.5 live on?  Hard
> mask?  Does somebody have a public overlay they'd consider letting this live
> on?
 
Yes it will stay in java-overlay available via layman.
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-09-16 11:26:46 UTC
Masks in comment 6 have proceeded to removals.
Comment 10 Pacho Ramos gentoo-dev 2014-12-07 15:02:11 UTC
What is pending here?
# grep -r virtual/jdk */*/*.ebuild|grep ":1.5"
dev-java/dsiutils/dsiutils-1.0.10-r2.ebuild:	|| ( virtual/jdk:1.6 virtual/jdk:1.5 )
dev-java/jcharts/jcharts-0.7.5-r2.ebuild:	|| ( virtual/jdk:1.6 virtual/jdk:1.5 virtual/jdk:1.4 )
virtual/jre/jre-1.5.0-r2.ebuild:		virtual/jdk:1.5
# grep -r virtual/jre */*/*.ebuild|grep ":1.5"
dev-java/jcharts/jcharts-0.7.5-r2.ebuild:	|| ( virtual/jre:1.6 virtual/jre:1.5 )"
java-virtuals/jmx/jmx-1.0-r3.ebuild:			virtual/jre:1.5
java-virtuals/jmx/jmx-1.0-r4.ebuild:		virtual/jre:1.5

(jmx supports more slots too, then, it doesn't need 1.5 slot)
Comment 11 Miroslav Šulc gentoo-dev 2015-02-09 15:26:41 UTC
so it seems these are the packages to be masked for removal:

dev-java/apple-jdk-bin:1.5
virtual/jre:1.5
virtual/jdk:1.5

these should be preserved:

dev-java/gcj
dev-java/jamvm (probably just until jamvm 2.0.0 is packaged, then jamvm-1.5.4 should go)


also there is dev-java/apple-jdk-bin:1.4 still left which should be removed too.


any comments/objections?
Comment 12 Miroslav Šulc gentoo-dev 2015-02-11 08:58:42 UTC
  11 Feb 2015; Miroslav Šulc <fordfrog@gentoo.org> -jdk-1.5.0-r1.ebuild:
  removed slot 1.5 per bug #292001

  11 Feb 2015; Miroslav Šulc <fordfrog@gentoo.org> -jre-1.5.0-r2.ebuild:
  removed slot 1.5 per bug #292001

  11 Feb 2015; Miroslav Šulc <fordfrog@gentoo.org>
  -apple-jdk-bin-1.4.2.ebuild, -apple-jdk-bin-1.5.0.ebuild:
  removed obsolete ebuilds