java/openjdk17: Update to 17.0.4

This commit is contained in:
Greg Lewis 2022-08-02 06:13:05 -07:00
parent 8a55ebeddf
commit f20eed28f0
3 changed files with 5 additions and 16 deletions

View file

@ -61,8 +61,8 @@ NOPRECIOUSMAKEVARS= yes
JDK_MAJOR_VERSION= 17
JDK_MINOR_VERSION= 0
JDK_PATCH_VERSION= 3
JDK_BUILD_NUMBER= 7
JDK_PATCH_VERSION= 4
JDK_BUILD_NUMBER= 8
BSD_JDK_VERSION= 1
JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1651715022
SHA256 (battleblow-jdk17u-jdk-17.0.3+7-1_GH0.tar.gz) = cffe416d32c273050f47dff7a22bf3626bc09a7684de74edd5ddc6adf1021ee8
SIZE (battleblow-jdk17u-jdk-17.0.3+7-1_GH0.tar.gz) = 104898973
TIMESTAMP = 1659416748
SHA256 (battleblow-jdk17u-jdk-17.0.4+8-1_GH0.tar.gz) = 3de3785971cd7764952f0f8f51055efd22fc295ad3b7640a1e83f64487612475
SIZE (battleblow-jdk17u-jdk-17.0.4+8-1_GH0.tar.gz) = 105007565

View file

@ -1,11 +0,0 @@
--- src/java.desktop/unix/classes/sun/awt/X11GraphicsEnvironment.java
+++ src/java.desktop/unix/classes/sun/awt/X11GraphicsEnvironment.java
@@ -232,7 +232,7 @@ public final class X11GraphicsEnvironment extends SunGraphicsEnvironment {
throw new AWTError("no screen devices");
}
int index = getDefaultScreenNum();
- mainScreen = 0 < index && index < screens.length ? index : 0;
+ mainScreen = 0 < index && index < numScreens ? index : 0;
for (int id = 0; id < numScreens; ++id) {
devices.put(id, old.containsKey(id) ? old.remove(id) :