diff --git a/8266187_Memory_leak_in_appendBootClassPath.patch b/8266187_Memory_leak_in_appendBootClassPath.patch new file mode 100755 index 0000000000000000000000000000000000000000..6cf7b3248071c6a7871a403a037b10521b6f834d --- /dev/null +++ b/8266187_Memory_leak_in_appendBootClassPath.patch @@ -0,0 +1,12 @@ +diff --git a/jdk/src/share/instrument/InvocationAdapter.c b/jdk/src/share/instrument/InvocationAdapter.c +index 5aa189b0..b06cf5cb 100644 +--- a/jdk/src/share/instrument/InvocationAdapter.c ++++ b/jdk/src/share/instrument/InvocationAdapter.c +@@ -829,6 +829,7 @@ appendBootClassPath( JPLISAgent* agent, + + resolved = resolve(parent, path); + jvmtierr = (*jvmtienv)->AddToBootstrapClassLoaderSearch(jvmtienv, resolved); ++ free(resolved); + } + + /* print warning if boot class path not updated */ diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index 2a39edf7963072cf05f03e9b484647ea81feff07..e493a0026d8d1a64cf6b12b1704eeaa48b692309 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -921,7 +921,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r Name: java-%{javaver}-%{origin} Version: %{javaver}.%{updatever}.%{buildver} -Release: 20 +Release: 3 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a @@ -1102,6 +1102,7 @@ Patch185: update-cacerts-and-VerifyCACerts.java-test.patch Patch186: update-to-keep-same-with-master.patch Patch187: 8182036.patch Patch188: 8247691_incorrect_handling_of_VM_exceptions_in_C1_deopt_stub.patch +Patch189: 8266187_Memory_leak_in_appendBootClassPath.patch ############################################# # @@ -1550,6 +1551,7 @@ pushd %{top_level_dir_name} %patch186 -p1 %patch187 -p1 %patch188 -p1 +%patch189 -p1 popd @@ -2167,6 +2169,9 @@ require "copy_jdk_configs.lua" %endif %changelog +* Fri May 20 2021 kuenking111 - 1:1.8.0.292-b10.2 +- add 8266187_Memory_leak_in_appendBootClassPath.patch + * Fri May 20 2021 kuenking111 - 1:1.8.0.292-b10.1 - add 8247691_incorrect_handling_of_VM_exceptions_in_C1_deopt_stub.patch