Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674466 - dev-java/icedtea-3.10.0 version bump
Summary: dev-java/icedtea-3.10.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-01-03 23:30 UTC by Joakim Tjernlund
Modified: 2019-01-24 09:32 UTC (History)
2 users (show)

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


Attachments
0001-dev-java-icedtea-bump-to-3.10.0.patch (0001-dev-java-icedtea-bump-to-3.10.0.patch,18.26 KB, patch)
2019-01-08 04:39 UTC, Georgy Yakovlev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2019-01-05 04:42:40 UTC
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.
Comment 2 Joakim Tjernlund 2019-01-05 13:06:49 UTC
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.
Comment 3 Georgy Yakovlev archtester gentoo-dev 2019-01-08 04:39:08 UTC
Created attachment 560344 [details, diff]
0001-dev-java-icedtea-bump-to-3.10.0.patch

simple bump
Comment 4 Joakim Tjernlund 2019-01-08 11:44:15 UTC
Nice :)

GTK USE seems the same though, it is always on if gtk+ libs are installed,
regardless of gtk USE flag for icedtea
Comment 5 Joakim Tjernlund 2019-01-08 12:03:58 UTC
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?
Comment 6 Joakim Tjernlund 2019-01-09 00:59:42 UTC
Why not commit to Gentoo repo?
Comment 7 Georgy Yakovlev archtester gentoo-dev 2019-01-09 02:02:59 UTC
I will in couple of days.
Comment 8 Andrew John Hughes 2019-01-09 03:01:37 UTC
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.
Comment 9 Andrew John Hughes 2019-01-09 03:11:12 UTC
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.
Comment 10 Joakim Tjernlund 2019-01-09 08:51:09 UTC
(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 ?
Comment 11 Andrew John Hughes 2019-01-11 00:30:08 UTC
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.
Comment 12 Larry the Git Cow gentoo-dev 2019-01-19 03:48:04 UTC
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(+)
Comment 13 Mike Lothian 2019-01-21 08:35:39 UTC
Is this supposed to be based of OpenJDK 1.8.0_202? Or are we a release behind?
Comment 14 Andrew John Hughes 2019-01-21 09:24:01 UTC
3.11.0 will be 8u201. Working on it now.
Comment 15 Georgy Yakovlev archtester gentoo-dev 2019-01-24 09:32:07 UTC
in tree for a while