Hello community,

here is the log from the commit of package java-11-openjdk for openSUSE:Factory 
checked in at 2020-04-25 20:12:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-11-openjdk (Old)
 and      /work/SRC/openSUSE:Factory/.java-11-openjdk.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "java-11-openjdk"

Sat Apr 25 20:12:24 2020 rev:38 rq:795995 version:11.0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/java-11-openjdk/java-11-openjdk.changes  
2020-03-27 21:55:49.754741511 +0100
+++ 
/work/SRC/openSUSE:Factory/.java-11-openjdk.new.2738/java-11-openjdk.changes    
    2020-04-25 20:13:17.228161691 +0200
@@ -1,0 +2,579 @@
+Tue Apr 21 08:29:08 UTC 2020 - Fridrich Strba <[email protected]>
+
+- update to upstream tag jdk-11.0.7+10 (April 2020 CPU,
+  bsc#1169511)
+  * Security fixes:
+    + S8223898, CVE-2020-2754: Forward references to Nashorn
+    + S8223904, CVE-2020-2755: Improve Nashorn matching
+    + S8224541, CVE-2020-2756: Better mapping of serial ENUMs
+    + S8224549, CVE-2020-2757: Less Blocking Array Queues
+    + S8225603: Enhancement for big integers
+    + S8226346: Build better binary builders
+    + S8227467: Better class method invocations
+    + S8227542: Manifest improved jar headers
+    + S8229733: TLS message handling improvements
+    + S8231415, CVE-2020-2773: Better signatures in XML
+    + S8231785: Improved socket permissions
+    + S8232424, CVE-2020-2778: More constrained algorithms
+    + S8232581, CVE-2020-2767: Improve TLS verification
+    + S8233250: Better X11 rendering
+    + S8233410: Better Build Scripting
+    + S8234027: Better JCEKS key support
+    + S8234408, CVE-2020-2781: Improve TLS session handling
+    + S8234825, CVE-2020-2800: Better Headings for HTTP Servers
+    + S8234841, CVE-2020-2803: Enhance buffering of byte buffers
+    + S8235274, CVE-2020-2805: Enhance typing of methods
+    + S8235691, CVE-2020-2816: Enhance TLS connectivity
+    + S8236201, CVE-2020-2830: Better Scanner conversions
+    + S8238960: linux-i586 builds are inconsistent as the newly
+      built jdk is not able to reserve enough space for object heap
+  * Other changes:
+    + S4919790: Errors in alert ssl message does not reflect the
+      actual certificate status
+    + S4949105: Access Bridge lacks html tags parsing
+    + S7092821: java.security.Provider.getService() is synchronized
+      and became scalability bottleneck
+    + S7143743: Potential memory leak with zip provider
+    + S8005819: Support cross-realm MSSFU
+    + S8042383: [TEST_BUG] Test javax/swing/plaf/basic/BasicMenuUI/
+      /4983388/bug4983388.java fails with shortcuts on menus do not
+      work
+    + S8068184: Fix for JDK-8032832 caused a deadlock
+    + S8145845: [AOT] NullPointerException in
+      compiler/whitebox/GetCodeHeapEntriesTest.java
+    + S8152988: [AOT] Update test batch definitions to include
+      aot-ed java.base module mode into hs-comp testing
+    + S8160926: FLAGS_COMPILER_CHECK_ARGUMENTS doesn't handle
+      cross-compilation
+    + S8163083: SocketListeningConnector does not allow invocations
+      with port 0
+    + S8163251: Hard coded loop limit prevents reading of smart
+      card data greater than 8k
+    + S8167276: jvmci/compilerToVM/MaterializeVirtualObjectTest.java
+      fails with -XX:-EliminateAllocations
+    + S8169718: nsk/jdb/locals/locals002: ERROR: Cannot find
+      boolVar with expected value: false
+    + S8176556:
+      java/awt/dnd/ImageTransferTest/ImageTransferTest.java fails
+      for JFIF
+    + S8178798: Two compiler/aot/verification/vmflags tests fail by
+      timeout with UseAVX=3
+    + S8183107: PKCS11 regression regarding checkKeySize
+    + S8185005: Improve performance of
+      ThreadMXBean.getThreadInfo(long ids[], int maxDepth)
+    + S8189633: Missing -Xcheck:jni checking for DeleteWeakGlobalRef
+    + S8189861: Refactor CacheFind
+    + S8193042: NativeLookup::lookup_critical_entry() should only
+      load shared library once
+    + S8193596: java/net/DatagramPacket/ReuseBuf.java failed due to
+      timeout
+    + S8194944: Regression automated test 'open/test/jdk/javax/
+      /swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java'
+      fails
+    + S8196467: javax/swing/JInternalFrame/Test6325652.java fails
+    + S8196969: JTreg Failure: serviceability/sa/ClhsdbJstack.java
+      causes NPE
+    + S8198321: javax/swing/JEditorPane/5076514/bug5076514.java
+      fails
+    + S8198398: Test javax/swing/JColorChooser/Test6199676.java
+      fails in mach5
+    + S8199072: Test javax/swing/GroupLayout/6613904/
+      /bug6613904.java is unstable
+    + S8200432: javadoc fails with ClassCastException on {@link
+      byte[]}
+    + S8201349: build broken when configured with
+      --with-zlib=bundled on gcc 7.3
+    + S8201355: Avoid native memory allocation in
+      sun.security.mscapi.PRNG.generateSeed
+    + S8201513: nsk/jvmti/IterateThroughHeap/filter-* are broken
+    + S8203364: Some serviceability/sa/ tests intermittently fail
+      with java.io.IOException: LingeredApp terminated with non-zero
+      exit code 3
+    + S8203687: javax/net/ssl/compatibility/Compatibility.java
+      supports TLS 1.3
+    + S8203904: javax/swing/JSplitPane/4816114/bug4816114.java: The
+      divider location is wrong
+    + S8203911: Test runtime/modules/getModuleJNI/GetModule fails
+      with -Xcheck:jni
+    + S8204525: [TESTBUG] runtime/NMT/MallocStressTest.java ran out
+      of java heap
+    + S8204529: gc/TestAllocateHeapAtMultiple.java fail with Agent
+      7 timed out
+    + S8204551: Event descriptions are truncated in logs
+    + S8206963: [AOT] bug with multiple class loaders
+    + S8207367: 10 vmTestbase/nsk/jdi tests timed out when running
+      with jtreg
+    + S8207832: serviceability/sa/ClhsdbCDSCore.java failed with
+      "Couldn't find core file location"
+    + S8207938: At step6,Click Add button,case failed automatically.
+    + S8208157: requires.VMProps throws NPE for missing properties
+      in "release" file
+    + S8208379: compiler/jvmci/events/
+      /JvmciNotifyInstallEventTest.java failed with "Got unexpected
+      event count after 2nd install attempt: expected 9 to equal 2"
+    + S8208658: Make CDS archived heap regions usable even if
+      compressed oop encoding has changed
+    + S8208715: Conversion of milliseconds to nanoseconds in
+      UNIXProcess contains bug
+    + S8209361: [AOT] Unexpected number of references for
+      JVMTI_HEAP_REFERENCE_CONSTANT_POOL [111-->111]: 0 (expected
+      at least 1)
+    + S8209385: CDS runtime classpath checking is too strict when
+      only classes from the system modules are archived
+    + S8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work.
+    + S8209418: Synchronize test/jdk/sanity/client/lib/jemmy with
+      code-tools/jemmy/v2
+    + S8209494: Create a test for SwingSet InternalFrameDemo
+    + S8209499: Create test for SwingSet EditorPaneDemo
+    + S8209574: [AOT] breakpoint events are generated in different
+      threads does not meet expected count
+    + S8209686: cleanup arguments to PhaseIdealLoop() constructor
+    + S8209789: Synchronize test/jdk/sanity/client/lib/jemmy with
+      code-tools/jemmy/v2
+    + S8209802: Garbage collectors should register JFR types
+      themselves to avoid build errors.
+    + S8209807: improve handling exception in requires.VMProps
+    + S8209817: stack is executable when building with Clang on
+      Linux
+    + S8209824: Improve the code coverage for ThreadLocal
+    + S8209826: Undefined reference to os::write after JDK-8209657
+      (filemap.hpp cleanup)
+    + S8209850: Allow NamedThreads to use GlobalCounter critical
+      sections
+    + S8209976: Improve iteration over non-JavaThreads
+    + S8209993: Create a test for SwingSet3 ToolTipDemo
+    + S8210024: JFR calls virtual is_Java_thread from ~Thread()
+    + S8210052: Enable testing for all the available look and feels
+      in SwingSet3 demo tests
+    + S8210055: Enable different look and feel tests in SwingSet3
+      demo tests
+    + S8210057: Enable different look and feels in SwingSet3 demo
+      test InternalFrameDemoTest
+    + S8210058: Algorithmic Italic font leans opposite angle in
+      Printing
+    + S8210220: [AOT] jdwp test cases are failing with error #
+      ERROR: TEST FAILED: Cought IOException while receiving event
+      packet
+    + S8210289: ArchivedKlassSubGraphInfoRecord is incomplete
+    + S8210459: Add support for generating compile_commands.json
+    + S8210476: sun/security/mscapi/PrngSlow.java fails with Still
+      too slow
+    + S8210512: [Testbug] vmTestbase/nsk/jdi/ObjectReference/
+      /referringObjects/referringObjects002/referringObjects002.java
+      fails with unexpected size of
+      ClassLoaderReference.referringObjects
+    + S8210523: runtime/appcds/cacheObject/DifferentHeapSizes.java
+      crash
+    + S8210632: Add key exchange algorithm to
+      javax/net/ssl/TLSCommon/CipherSuite.java
+    + S8210699: Problem list tests which times out in Xcomp mode
+    + S8210793: [JVMCI] AllocateCompileIdTest.java failed to find
+      DiagnosticCommand.class
+    + S8210910: Create test for FileChooserDemo
+    + S8210994: Create test for SwingSet3 FrameDemo
+    + S8211139: Increase timeout value in all tests under
+      jdk/sanity/client/SwingSet/src
+    + S8211160: Handle different look and feels in
+      JInternalFrameOperator
+    + S8211211: vmTestbase/metaspace/stressDictionary/
+      /StressDictionary.java timeout
+    + S8211322: Reduce the timeout of tooltip in SwingSet2DemoTest
+    + S8211443: Enable different look and feels in SwingSet3 demo
+      test SplitPaneDemoTest
+    + S8211703: JInternalFrame : java.lang.AssertionError: cannot
+      find the internal frame
+    + S8211781: re-building fails after changing Graal sources
+    + S8212897: Some improvements in the EditorPaneDemotest
+    + S8212903: [TestBug] Tests test/jdk/javax/swing/LookAndFeel/
+      /8145547/DemandGTK2.sh and DemandGTK3.sh fail on Ubuntu 18.04
+      LTS
+    + S8213009: Refactoring existing SunMSCAPI classes
+    + S8213010: Supporting keys created with certmgr.exe
+    + S8213168: Enable different look and feel tests in SwingSet3
+      demo test FileChooserDemoTest
+    + S8213348: jdk.internal.vm.compiler.management service
+      providers missing in module descriptor
+    + S8213906: Update arm devkits with libXrandr headers
+    + S8213908: AssertionError in DeferredAttr at setOverloadKind
++++ 385 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/java-11-openjdk/java-11-openjdk.changes
++++ and 
/work/SRC/openSUSE:Factory/.java-11-openjdk.new.2738/java-11-openjdk.changes

Old:
----
  837b7afec083.tar.bz2
  DependOnVariableHelper.patch

New:
----
  44ce940b344b.tar.bz2
  JDK-8228407.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ java-11-openjdk.spec ++++++
--- /var/tmp/diff_new_pack.y39D8h/_old  2020-04-25 20:13:27.328182516 +0200
+++ /var/tmp/diff_new_pack.y39D8h/_new  2020-04-25 20:13:27.332182524 +0200
@@ -32,13 +32,13 @@
 # Standard JPackage naming and versioning defines.
 %global featurever      11
 %global interimver      0
-%global updatever       6
+%global updatever       7
 %global patchver        0
-%global datever         2020-01-14
+%global datever         2020-04-14
 %global buildver        10
 %global hg_project      jdk-updates
 %global hg_repository   jdk11u
-%global hg_revision     837b7afec083
+%global hg_revision     44ce940b344b
 %global icedtea_sound_version 1.0.1
 # JavaEE modules
 %global java_atk_wrapper_version 0.33.2
@@ -209,7 +209,9 @@
 Patch20:        loadAssistiveTechnologies.patch
 #
 Patch30:        JDK-8208602.patch
-Patch31:        DependOnVariableHelper.patch
+# 8228407: JVM crashes with shared archive file mismatch
+# Summary: Stop processing other header fields if initial header check has 
failed.
+Patch31:        JDK-8228407.patch
 Patch32:        gcc-fno-common-fix.patch
 #
 # OpenJDK specific patches
@@ -997,18 +999,24 @@
   --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \
   --slave %{_bindir}/jjs jjs %{jrebindir}/jjs \
   --slave %{_bindir}/keytool keytool %{jrebindir}/keytool \
+  --slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \
   --slave %{_bindir}/rmid rmid %{jrebindir}/rmid \
   --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \
+  --slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \
   --slave %{_mandir}/man1/java.1$ext java.1$ext \
   %{_mandir}/man1/java-%{sdklnk}.1$ext \
   --slave %{_mandir}/man1/jjs.1$ext jjs.1$ext \
   %{_mandir}/man1/jjs-%{sdklnk}.1$ext \
   --slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \
   %{_mandir}/man1/keytool-%{sdklnk}.1$ext \
+  --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \
+  %{_mandir}/man1/pack200-%{sdklnk}.1$ext \
   --slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \
   %{_mandir}/man1/rmid-%{sdklnk}.1$ext \
   --slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \
   %{_mandir}/man1/rmiregistry-%{sdklnk}.1$ext \
+  --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \
+  %{_mandir}/man1/unpack200-%{sdklnk}.1$ext \
   || :
 
 update-alternatives \
@@ -1092,10 +1100,8 @@
   --slave %{_bindir}/jstack jstack %{sdkbindir}/jstack \
   --slave %{_bindir}/jstat jstat %{sdkbindir}/jstat \
   --slave %{_bindir}/jstatd jstatd %{sdkbindir}/jstatd \
-  --slave %{_bindir}/pack200 pack200 %{sdkbindir}/pack200 \
   --slave %{_bindir}/rmic rmic %{sdkbindir}/rmic \
   --slave %{_bindir}/serialver serialver %{sdkbindir}/serialver \
-  --slave %{_bindir}/unpack200 unpack200 %{sdkbindir}/unpack200 \
   --slave %{_mandir}/man1/jar.1$ext jar.1$ext \
   %{_mandir}/man1/jar-%{sdklnk}.1$ext \
   --slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \
@@ -1128,14 +1134,10 @@
   %{_mandir}/man1/jstat-%{sdklnk}.1$ext \
   --slave %{_mandir}/man1/jstatd.1$ext jstatd.1$ext \
   %{_mandir}/man1/jstatd-%{sdklnk}.1$ext \
-  --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \
-  %{_mandir}/man1/pack200-%{sdklnk}.1$ext \
   --slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \
   %{_mandir}/man1/rmic-%{sdklnk}.1$ext \
   --slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \
   %{_mandir}/man1/serialver-%{sdklnk}.1$ext \
-  --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \
-  %{_mandir}/man1/unpack200-%{sdklnk}.1$ext \
   --slave %{_datadir}/applications/jconsole.desktop jconsole.desktop \
   %{_jvmdir}/%{sdkdir}/lib/desktop/jconsole.desktop \
   || :
@@ -1219,8 +1221,10 @@
 %{_jvmdir}/%{sdkdir}/bin/jfr
 %{_jvmdir}/%{sdkdir}/bin/jjs
 %{_jvmdir}/%{sdkdir}/bin/keytool
+%{_jvmdir}/%{sdkdir}/bin/pack200
 %{_jvmdir}/%{sdkdir}/bin/rmid
 %{_jvmdir}/%{sdkdir}/bin/rmiregistry
+%{_jvmdir}/%{sdkdir}/bin/unpack200
 %{_jvmdir}/%{sdkdir}/conf/logging.properties
 %{_jvmdir}/%{sdkdir}/conf/management/jmxremote.access
 %{_jvmdir}/%{sdkdir}/conf/management/jmxremote.password.template
@@ -1293,8 +1297,10 @@
 %{_mandir}/man1/java-%{sdklnk}.1%{?ext_man}
 %{_mandir}/man1/jjs-%{sdklnk}.1%{?ext_man}
 %{_mandir}/man1/keytool-%{sdklnk}.1%{?ext_man}
+%{_mandir}/man1/pack200-%{sdklnk}.1%{?ext_man}
 %{_mandir}/man1/rmid-%{sdklnk}.1%{?ext_man}
 %{_mandir}/man1/rmiregistry-%{sdklnk}.1%{?ext_man}
+%{_mandir}/man1/unpack200-%{sdklnk}.1%{?ext_man}
 
 %files devel
 %dir %{_jvmdir}/%{sdkdir}/bin
@@ -1334,10 +1340,8 @@
 %{_jvmdir}/%{sdkdir}/bin/jstack
 %{_jvmdir}/%{sdkdir}/bin/jstat
 %{_jvmdir}/%{sdkdir}/bin/jstatd
-%{_jvmdir}/%{sdkdir}/bin/pack200
 %{_jvmdir}/%{sdkdir}/bin/rmic
 %{_jvmdir}/%{sdkdir}/bin/serialver
-%{_jvmdir}/%{sdkdir}/bin/unpack200
 %{_jvmdir}/%{sdkdir}/include/classfile_constants.h
 %{_jvmdir}/%{sdkdir}/include/jawt.h
 %{_jvmdir}/%{sdkdir}/include/jdwpTransport.h
@@ -1374,10 +1378,8 @@
 %{_mandir}/man1/jstack-%{sdklnk}.1%{?ext_man}
 %{_mandir}/man1/jstat-%{sdklnk}.1%{?ext_man}
 %{_mandir}/man1/jstatd-%{sdklnk}.1%{?ext_man}
-%{_mandir}/man1/pack200-%{sdklnk}.1%{?ext_man}
 %{_mandir}/man1/rmic-%{sdklnk}.1%{?ext_man}
 %{_mandir}/man1/serialver-%{sdklnk}.1%{?ext_man}
-%{_mandir}/man1/unpack200-%{sdklnk}.1%{?ext_man}
 
 %if %{with_systemtap}
 %{tapsetroot}

++++++ 837b7afec083.tar.bz2 -> 44ce940b344b.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/java-11-openjdk/837b7afec083.tar.bz2 
/work/SRC/openSUSE:Factory/.java-11-openjdk.new.2738/44ce940b344b.tar.bz2 
differ: char 11, line 1

++++++ JDK-8228407.patch ++++++
# HG changeset patch
# User ccheung
# Date 1564075552 25200
#      Thu Jul 25 10:25:52 2019 -0700
# Node ID f1332f6025515e4fc9e42fbf79f983d782abaaf0
# Parent  966fc6d784a737ec25cd0b1be48109a4a3fa02ad
8228407: JVM crashes with shared archive file mismatch
Summary: Stop processing other header fields if initial header check has failed.
Reviewed-by: dholmes, jiangli

diff --git a/src/hotspot/share/memory/filemap.cpp 
b/src/hotspot/share/memory/filemap.cpp
--- a/src/hotspot/share/memory/filemap.cpp
+++ b/src/hotspot/share/memory/filemap.cpp
@@ -1287,7 +1287,9 @@
   }
 
   init_from_file(_fd);
-  if (!validate_header()) {
+  // UseSharedSpaces could be disabled if the checking of some of the header 
fields in
+  // init_from_file has failed.
+  if (!UseSharedSpaces || !validate_header()) {
     return false;
   }
   return true;
diff --git a/test/hotspot/jtreg/runtime/appcds/SharedArchiveConsistency.java 
b/test/hotspot/jtreg/runtime/appcds/SharedArchiveConsistency.java
--- a/test/hotspot/jtreg/runtime/appcds/SharedArchiveConsistency.java
+++ b/test/hotspot/jtreg/runtime/appcds/SharedArchiveConsistency.java
@@ -385,8 +385,16 @@
         output.shouldNotContain("Checksum verification failed");
 
         copyFile(orgJsaFile, jsa);
+        // modify _jvm_ident and run with -Xshare:auto
+        System.out.println("\n2b. Corrupt _jvm_ident run with -Xshare:auto\n");
+        modifyJvmIdent();
+        output = TestCommon.execAuto(execArgs);
+        output.shouldContain("The shared archive file was created by a 
different version or build of HotSpot");
+        output.shouldContain("Hello World");
+
+        copyFile(orgJsaFile, jsa);
         // modify _magic and _paths_misc_info_size, test should fail
-        System.out.println("\n2b. Corrupt _magic and _paths_misc_info_size, 
should fail\n");
+        System.out.println("\n2c. Corrupt _magic and _paths_misc_info_size, 
should fail\n");
         modifyHeaderIntField(offset_magic, 0x00000000);
         modifyHeaderIntField(offset_paths_misc_info_size, Integer.MAX_VALUE);
         output = TestCommon.execCommon(execArgs);
@@ -395,7 +403,7 @@
 
         copyFile(orgJsaFile, jsa);
         // modify _version and _paths_misc_info_size, test should fail
-        System.out.println("\n2c. Corrupt _version and _paths_misc_info_size, 
should fail\n");
+        System.out.println("\n2d. Corrupt _version and _paths_misc_info_size, 
should fail\n");
         modifyHeaderIntField(offset_version, 0x00000000);
         modifyHeaderIntField(offset_paths_misc_info_size, Integer.MAX_VALUE);
         output = TestCommon.execCommon(execArgs);

Reply via email to