See: https://mail.openjdk.java.net/pipermail/distro-pkg-dev/2018-December/040710.html
classpath.org seems to be down. can't even get tarball, nslookup icedtea.classpath.org 1.1.1.1 Server: 1.1.1.1 Address: 1.1.1.1#53 ** server can't find icedtea.classpath.org: SERVFAIL will check out later.
Yes, there is something odd going on with classpath ATM. Got a request too. There is a gtk USE flag which pulls in gtk+ etc. But there is nothing that actually turns off gtk+ in icedtea when gtk USE is off. This result in GTK user I/F when not wanted if one already have gtk+ installed.
Created attachment 560344 [details, diff] 0001-dev-java-icedtea-bump-to-3.10.0.patch simple bump
Nice :) GTK USE seems the same though, it is always on if gtk+ libs are installed, regardless of gtk USE flag for icedtea
OT but here goes: JAVA_HOME in en is: JAVA_HOME=/etc/java-config-2/current-system-vm but JAVA_HOME in an ebuild(via java-utils-2 eclass is: JAVA_HOME=/usr/lib/jvm//openjdk-bin-8 The /etc/java-config-2/current-system-vm link has been expanded. I figure both should be the same but which one?
Why not commit to Gentoo repo?
I will in couple of days.
Updated ebuild has been in java-overlay since Thursday the 3rd. https://gitweb.gentoo.org/proj/java.git/plain/dev-java/icedtea/icedtea-3.10.0.ebuild?id=HEAD icedtea.classpath.org was temporarily not resolving due to an issue with the GNU nameservers, but is now resolved.
OpenJDK does not link against Gtk+. It attempts to dlopen it. The gtk USE flag is there to pull in Gtk+ so that the look and feel works rather than silently failing. Enabling or disabling the Gtk+ user interface can be done at run-time: https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html If any change is made, I'd suggest making Gtk+ a mandatory requirement as it is also needed for a functioning Desktop API on GNU/Linux.
(In reply to Andrew John Hughes from comment #9) > OpenJDK does not link against Gtk+. It attempts to dlopen it. The gtk USE > flag is there to pull in Gtk+ so that the look and feel works rather than > silently failing. > > Enabling or disabling the Gtk+ user interface can be done at run-time: > > https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html > > If any change is made, I'd suggest making Gtk+ a mandatory requirement as it > is also needed for a functioning Desktop API on GNU/Linux. I see but isn't it strange that both orace and openjdk default to something else? Both uses Metal I think, why is icedtea different ?
IcedTea is OpenJDK plus enhancements (e.g. AArch64 port, Shenandoah garbage collector, additional bug fixes). No-one obviously knows for sure how Oracle's proprietary JDK is concocted, but they claim it's 90%+ based on OpenJDK. What desktop environment do you use? It should default to Gtk+ if you're on Linux, as it would default to Windows on that platform or Aqua on Mac OS X. I seem to recall that was only on GNOME 2 for upstream OpenJDK and we fixed that, so that may be what you're seeing if you're on something like KDE or Xfce. IMHO, that's an OpenJDK & Oracle bug. If you're writing an application and want the Metal L'n'F, you should be turning it on in your code. Otherwise, you'll get the platform look and feel on many systems instead.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2982d2adbb44b7192079dcc898b61c4ad704b3de commit 2982d2adbb44b7192079dcc898b61c4ad704b3de Author: Andrew John Hughes <gnu_andrew@member.fsf.org> AuthorDate: 2019-01-19 02:24:43 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-01-19 03:46:21 +0000 dev-java/icedtea: bump to 3.10.0 Bug: https://bugs.gentoo.org/674466 Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/icedtea/Manifest | 11 + dev-java/icedtea/icedtea-3.10.0.ebuild | 384 +++++++++++++++++++++++++++++++++ 2 files changed, 395 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d94aebceeb99a741c08d4236d7a0bbb013ee4b commit 06d94aebceeb99a741c08d4236d7a0bbb013ee4b Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-01-19 02:07:56 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-01-19 03:46:15 +0000 dev-java/icedtea-bin: bump to 3.10.0 No arm64 for now, but it will follow shortly. Bug: https://bugs.gentoo.org/674466 Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/icedtea-bin/Manifest | 12 ++ dev-java/icedtea-bin/icedtea-bin-3.10.0.ebuild | 159 +++++++++++++++++++++++++ 2 files changed, 171 insertions(+)
Is this supposed to be based of OpenJDK 1.8.0_202? Or are we a release behind?
3.11.0 will be 8u201. Working on it now.
in tree for a while