git: f20eed28f0b8 - main - java/openjdk17: Update to 17.0.4

From: Greg Lewis <glewis_at_FreeBSD.org>
Date: Tue, 02 Aug 2022 13:14:17 UTC
The branch main has been updated by glewis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f20eed28f0b84ea9b09fc2ec26b498f009548156

commit f20eed28f0b84ea9b09fc2ec26b498f009548156
Author:     Greg Lewis <glewis@FreeBSD.org>
AuthorDate: 2022-08-02 13:13:05 +0000
Commit:     Greg Lewis <glewis@FreeBSD.org>
CommitDate: 2022-08-02 13:14:11 +0000

    java/openjdk17: Update to 17.0.4
---
 java/openjdk17/Makefile                                       |  4 ++--
 java/openjdk17/distinfo                                       |  6 +++---
 ...a.desktop_unix_classes_sun_awt_X11GraphicsEnvironment.java | 11 -----------
 3 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile
index ad11ec975465..96c4051dc9ed 100644
--- a/java/openjdk17/Makefile
+++ b/java/openjdk17/Makefile
@@ -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
diff --git a/java/openjdk17/distinfo b/java/openjdk17/distinfo
index dbd6b419fea4..bc0fbc26b21e 100644
--- a/java/openjdk17/distinfo
+++ b/java/openjdk17/distinfo
@@ -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
diff --git a/java/openjdk17/files/patch-src_java.desktop_unix_classes_sun_awt_X11GraphicsEnvironment.java b/java/openjdk17/files/patch-src_java.desktop_unix_classes_sun_awt_X11GraphicsEnvironment.java
deleted file mode 100644
index 7019cf8b290d..000000000000
--- a/java/openjdk17/files/patch-src_java.desktop_unix_classes_sun_awt_X11GraphicsEnvironment.java
+++ /dev/null
@@ -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) :