Update to 7u261

This commit is contained in:
Greg Lewis
2020-04-19 21:28:43 +00:00
parent 31b014f2f3
commit e9995ef7a1
3 changed files with 4 additions and 18 deletions

View File

@@ -53,7 +53,7 @@ INSTALLDIR= ${PREFIX}/${PORTNAME}${JDK_MAJOR_VERSION}-jre
.endif
JDK_MAJOR_VERSION= 7
JDK_UPDATE_VERSION= 251
JDK_UPDATE_VERSION= 261
JDK_BUILD_NUMBER= 02
BSD_JDK_VERSION= 1

View File

@@ -1,5 +1,5 @@
TIMESTAMP = 1583113236
TIMESTAMP = 1587323053
SHA256 (apache-ant-1.9.14-bin.tar.gz) = ad6b296a76f0ad433bc6b4ebda41c3275e0dc03f0e9a6c8c299f787a5e4c3fe4
SIZE (apache-ant-1.9.14-bin.tar.gz) = 5837539
SHA256 (battleblow-jdk7u-7.251.02.1-jdk7u251-b02.1_GH0.tar.gz) = b709d9e344c4ebbc5bb71646a7e78137ad47f2e17fb61739c7be0420ececc707
SIZE (battleblow-jdk7u-7.251.02.1-jdk7u251-b02.1_GH0.tar.gz) = 69828420
SHA256 (battleblow-jdk7u-7.261.02.1-jdk7u261-b02.1_GH0.tar.gz) = 708579df5083d52c6ca56ac09425082e0fe1e2c9f986e33a0e131efb3b8733dc
SIZE (battleblow-jdk7u-7.261.02.1-jdk7u261-b02.1_GH0.tar.gz) = 69823650

View File

@@ -1,14 +0,0 @@
--- hotspot/src/cpu/x86/vm/jni_x86.h.orig 2020-03-01 18:10:20 UTC
+++ hotspot/src/cpu/x86/vm/jni_x86.h
@@ -28,7 +28,10 @@
#if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE)
-#if defined(__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2)
+#ifndef __has_attribute
+ #define __has_attribute(x) 0
+#endif
+#if (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility)
#define JNIEXPORT __attribute__((visibility("default")))
#define JNIIMPORT __attribute__((visibility("default")))
#else