FS#42570 - [java-runtime-common] Don't use _JAVA_AWT_WM_NONREPARENTING in /etc/profile.d

Attached to Project: Arch Linux
Opened by Rohit Agrawal (rohitagr) - Sunday, 26 October 2014, 22:27 GMT
Last edited by Guillaume ALAUX (galaux) - Monday, 01 June 2015, 20:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
My patch for awt on non-reparenting window managers has been accepted upstream for JDK9 (http://hg.openjdk.java.net/jdk9/client/jdk/rev/a06c13cb2e45) and exists for JDK8 (http://mail.openjdk.java.net/pipermail/awt-dev/2014-September/008576.html).

The chosen implementation always uses _JAVA_AWT_WM_NONREPARENTING if set, and so this environment variable should not be set system-wide. It should be set by users individually in their xinitrc's (or wherever).
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Monday, 01 June 2015, 20:37 GMT
Reason for closing:  Implemented
Comment by Guillaume ALAUX (galaux) - Sunday, 02 November 2014, 12:51 GMT
Excellent news! Thank you for letting me know. I will remove the patch for our OpenJDK8 packages.
I agree on the fact that this variable belongs to xinitrc or similar file rather than the "jre" profile. I will "move" it away from jre.sh and add a message after package installation to let users know they should take care of it somewhere else.

I will close this bug once done.
Comment by Rohit Agrawal (rohitagr) - Saturday, 07 March 2015, 18:10 GMT
As of jdk 8u40, the nonreparenting patch is upstream so there is no need to patch it in the PKGBUILD.
Comment by Guillaume ALAUX (galaux) - Sunday, 08 March 2015, 19:17 GMT
Awesome. Once again thank you very much for letting us know. You sir make my life a breeze.

Loading...