java-1.8.0-openjdk/remove_aarch64_jvm.cfg_divergence.patch
Jiri Vanek acfc6fd068 Add patches to allow the SunEC provider to be built with the system NSS install.
Re-generate source tarball so it includes ecc_impl.h.
Adjust tarball generation script to allow ecc_impl.h to be included.
Bring over NSS changes from java-1.7.0-openjdk spec file (NSS_CFLAGS/NSS_LIBS)
Remove patch which disables the SunEC provider as it is now usable.
Correct spelling mistakes in tarball generation script.
Resolves: rhbz#1019554
2016-02-24 18:46:52 +01:00

49 lines
1.6 KiB
Diff

diff -r 57824090cf28 src/share/bin/java.c
--- openjdk/jdk/src/share/bin/java.c Fri Feb 05 17:41:45 2016 +0000
+++ openjdk/jdk/src/share/bin/java.c Thu Feb 18 03:43:51 2016 +0000
@@ -699,22 +699,6 @@
}
}
-/*
- * This is called if the jvmtype returned by CheckJvmType above
- * didn't exist. In this case if it was the default VM and we
- * selected the server vm we will allow it to use the client vm
- * instead.
- */
-char *
-GetAltJvmType(char *jvmtype)
-{
- if ((knownVMs[0].flag == VM_IF_SERVER_CLASS)) {
- if (jvmtype == knownVMs[0].server_class+1) return knownVMs[0].name+1;
- if (jvmtype == knownVMs[0].name+1) return knownVMs[0].server_class+1;
- }
- return NULL;
-}
-
/* copied from HotSpot function "atomll()" */
static int
parse_size(const char *s, jlong *result) {
diff -r 57824090cf28 src/share/bin/java.h
--- openjdk/jdk/src/share/bin/java.h Fri Feb 05 17:41:45 2016 +0000
+++ openjdk/jdk/src/share/bin/java.h Thu Feb 18 03:43:51 2016 +0000
@@ -164,7 +164,6 @@
*/
jint ReadKnownVMs(const char *jvmcfg, jboolean speculative);
char *CheckJvmType(int *argc, char ***argv, jboolean speculative);
-char *GetAltJvmType(char *jvmtype);
void AddOption(char *str, void *info);
enum ergo_policy {
diff -r 57824090cf28 src/solaris/bin/aarch64/jvm.cfg
--- openjdk/jdk/src/solaris/bin/aarch64/jvm.cfg Fri Feb 05 17:41:45 2016 +0000
+++ openjdk/jdk/src/solaris/bin/aarch64/jvm.cfg Thu Feb 18 03:43:51 2016 +0000
@@ -31,6 +31,5 @@
# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
# and may not be available in a future release.
#
--client IF_SERVER_CLASS -server
-server KNOWN
--minimal KNOWN
+-client IGNORE