openjdk: remove some old patches that aren't needed anymore
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
5d5ed30150
commit
9357a9fbd5
@ -1,16 +0,0 @@
|
|||||||
diff -Naur openjdk-orig/jdk/make/sun/awt/mawt.gmk openjdk/jdk/make/sun/awt/mawt.gmk
|
|
||||||
--- openjdk-orig/jdk/make/sun/awt/mawt.gmk 2012-08-28 19:13:16.000000000 -0400
|
|
||||||
+++ openjdk/jdk/make/sun/awt/mawt.gmk 2013-01-22 11:56:22.315418708 -0500
|
|
||||||
@@ -234,12 +234,6 @@
|
|
||||||
endif # !HEADLESS
|
|
||||||
endif # PLATFORM
|
|
||||||
|
|
||||||
-ifeq ($(PLATFORM), linux)
|
|
||||||
- # Checking for the X11/extensions headers at the additional location
|
|
||||||
- CPPFLAGS += -I$(firstword $(wildcard $(OPENWIN_HOME)/include/X11/extensions) \
|
|
||||||
- $(wildcard /usr/include/X11/extensions))
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
ifeq ($(PLATFORM), macosx))
|
|
||||||
CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \
|
|
||||||
-I$(OPENWIN_HOME)/include
|
|
@ -1,14 +0,0 @@
|
|||||||
diff -Naur openjdk-7u65-b32-upstream/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java openjdk-7u65-b32/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java
|
|
||||||
--- openjdk-7u65-b32-upstream/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java 2014-07-17 05:42:14.000000000 -0430
|
|
||||||
+++ openjdk-7u65-b32/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java 2014-12-30 10:15:50.327905933 -0430
|
|
||||||
@@ -281,8 +281,8 @@
|
|
||||||
checkCurrencyCode(newCurrency);
|
|
||||||
String timeString = currencyInfo.substring(4, length - 4);
|
|
||||||
long time = format.parse(timeString).getTime();
|
|
||||||
- if (Math.abs(time - System.currentTimeMillis()) > ((long) 10) * 365 * 24 * 60 * 60 * 1000) {
|
|
||||||
- throw new RuntimeException("time is more than 10 years from present: " + time);
|
|
||||||
+ if (Math.abs(time - System.currentTimeMillis()) > ((long) 20) * 365 * 24 * 60 * 60 * 1000) {
|
|
||||||
+ throw new RuntimeException("time is more than 20 years from present: " + time);
|
|
||||||
}
|
|
||||||
specialCaseCutOverTimes[specialCaseCount] = time;
|
|
||||||
specialCaseOldCurrencies[specialCaseCount] = oldCurrency;
|
|
@ -1,17 +0,0 @@
|
|||||||
diff -ru -x '*~' openjdk-orig/hotspot/src/os/linux/vm/os_linux.cpp openjdk/hotspot/src/os/linux/vm/os_linux.cpp
|
|
||||||
--- openjdk-orig/hotspot/src/os/linux/vm/os_linux.cpp 2013-09-06 20:22:03.000000000 +0200
|
|
||||||
+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp 2014-01-24 22:44:08.223857012 +0100
|
|
||||||
@@ -2358,12 +2358,10 @@
|
|
||||||
CAST_FROM_FN_PTR(address, os::jvm_path),
|
|
||||||
dli_fname, sizeof(dli_fname), NULL);
|
|
||||||
assert(ret, "cannot locate libjvm");
|
|
||||||
char *rp = NULL;
|
|
||||||
if (ret && dli_fname[0] != '\0') {
|
|
||||||
- rp = realpath(dli_fname, buf);
|
|
||||||
+ snprintf(buf, buflen, "%s", dli_fname);
|
|
||||||
}
|
|
||||||
- if (rp == NULL)
|
|
||||||
- return;
|
|
||||||
|
|
||||||
if (Arguments::created_by_gamma_launcher()) {
|
|
||||||
// Support for the gamma launcher. Typical value for buf is
|
|
@ -1,28 +0,0 @@
|
|||||||
diff --git a/hotspot/make/linux/makefiles/launcher.make b/hotspot/make/linux/makefiles/launcher.make
|
|
||||||
index 34bbcd6..41b9332 100644
|
|
||||||
--- a/hotspot/make/linux/makefiles/launcher.make
|
|
||||||
+++ b/hotspot/make/linux/makefiles/launcher.make
|
|
||||||
@@ -83,6 +83,8 @@ $(LAUNCHER): $(OBJS) $(LIBJVM) $(LAUNCHER_MAPFILE)
|
|
||||||
$(QUIETLY) echo Linking launcher...
|
|
||||||
$(QUIETLY) $(LINK_LAUNCHER/PRE_HOOK)
|
|
||||||
$(QUIETLY) $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(OBJS) $(LIBS_LAUNCHER)
|
|
||||||
+ paxctl -c $(LAUNCHER)
|
|
||||||
+ paxctl -zex -XXX_PAXFLAGS_XXX $(LAUNCHER)
|
|
||||||
$(QUIETLY) $(LINK_LAUNCHER/POST_HOOK)
|
|
||||||
|
|
||||||
$(LAUNCHER): $(LAUNCHER_SCRIPT)
|
|
||||||
diff --git a/jdk/make/common/Program.gmk b/jdk/make/common/Program.gmk
|
|
||||||
index 091800d..1de8cb4 100644
|
|
||||||
--- a/jdk/make/common/Program.gmk
|
|
||||||
+++ b/jdk/make/common/Program.gmk
|
|
||||||
@@ -60,6 +60,10 @@ ACTUAL_PROGRAM = $(ACTUAL_PROGRAM_DIR)/$(ACTUAL_PROGRAM_NAME)
|
|
||||||
program_default_rule: all
|
|
||||||
|
|
||||||
program: $(ACTUAL_PROGRAM)
|
|
||||||
+ if [[ "$(PROGRAM)" = "java" ]]; then \
|
|
||||||
+ paxctl -c $(ACTUAL_PROGRAM); \
|
|
||||||
+ paxctl -zex -XXX_PAXFLAGS_XXX $(ACTUAL_PROGRAM); \
|
|
||||||
+ fi
|
|
||||||
|
|
||||||
# Work-around for missing processor specific mapfiles
|
|
||||||
ifndef CROSS_COMPILE_ARCH
|
|
@ -1,21 +0,0 @@
|
|||||||
diff -ur openjdk-7u65-b32/jdk/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java openjdk-7u65-b32.new/jdk/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java
|
|
||||||
--- openjdk-7u65-b32/jdk/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java 2014-07-17 12:12:14.000000000 +0200
|
|
||||||
+++ openjdk-7u65-b32.new/jdk/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java 2014-12-09 13:31:27.821960372 +0100
|
|
||||||
@@ -158,6 +158,7 @@
|
|
||||||
/*
|
|
||||||
* Try:
|
|
||||||
* javax.net.ssl.trustStore (if this variable exists, stop)
|
|
||||||
+ * system environment variable JAVAX_NET_SSL_TRUSTSTORE
|
|
||||||
* jssecacerts
|
|
||||||
* cacerts
|
|
||||||
*
|
|
||||||
@@ -165,6 +166,9 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
storeFileName = props.get("trustStore");
|
|
||||||
+ if (storeFileName == null) {
|
|
||||||
+ storeFileName = System.getenv("JAVAX_NET_SSL_TRUSTSTORE");
|
|
||||||
+ }
|
|
||||||
if (!"NONE".equals(storeFileName)) {
|
|
||||||
if (storeFileName != null) {
|
|
||||||
storeFile = new File(storeFileName);
|
|
Loading…
x
Reference in New Issue
Block a user