JDK-8251840 : Java_sun_awt_X11_XToolkit_getDefaultScreenData should not be in make/mapfiles/libawt_xawt/mapfile-vers
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: openjdk8u272
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris
  • Submitted: 2020-08-14
  • Updated: 2021-11-29
  • Resolved: 2020-10-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8u331Fixed openjdk8u282Fixed
Related Reports
Relates :  
Relates :  
Description
https://bugs.openjdk.java.net/browse/JDK-8246815 removed
Java_sun_awt_X11_XToolkit_getDefaultScreenData
but the mapfile-vers was not updated to remove the entry.

Causes a build fail on Solaris:

Undefined first referenced
 symbol in file
Java_sun_awt_X11_XToolkit_getDefaultScreenData
jdk/make/mapfiles/libawt_xawt/mapfile-vers
ld: fatal: symbol referencing errors. No output written to
build/solaris-x86_64-normal-server-release/jdk/lib/amd64/libawt_xawt.so 

Comments
URL: https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/3607ed88c07b User: andrew Date: 2020-11-16 13:38:04 +0000
16-11-2020

URL: https://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/3607ed88c07b User: sgehwolf Date: 2020-10-22 16:36:20 +0000
22-10-2020

Fix Request (OpenJDK 8u): Please approve this 8u-only fix as a follow-up to JDK-8239819 which missed removing the symbol from the map file causing a build failure on Solaris. Risk is low. Tested with builds on Solaris/Linux. Patch got reviewed by Andrew Brygin. RFR: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-October/012843.html webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8251840/01/webrev/
22-10-2020

Assigning to myself to get this fixed.
22-10-2020

This issue causes a build failure of OpenJDK 8u on Solaris.
20-10-2020