Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package java-21-openjdk for openSUSE:Factory checked in at 2024-07-19 15:25:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/java-21-openjdk (Old) and /work/SRC/openSUSE:Factory/.java-21-openjdk.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-21-openjdk" Fri Jul 19 15:25:14 2024 rev:14 rq:1188259 version:21.0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/java-21-openjdk/java-21-openjdk.changes 2024-07-16 22:02:10.925340794 +0200 +++ /work/SRC/openSUSE:Factory/.java-21-openjdk.new.17339/java-21-openjdk.changes 2024-07-19 15:25:21.342456697 +0200 @@ -1,0 +2,618 @@ +Wed Jul 17 19:32:56 UTC 2024 - Fridrich Strba <fst...@suse.com> + +- Update to upstream tag jdk-21.0.4+7 (July 2024 CPU) + * Security fixes + + JDK-8314794, CVE-2024-21131, bsc#1228046: Improve UTF8 String + supports + + JDK-8319859, CVE-2024-21138, bsc#1228047: Better symbol + storage + + JDK-8320097: Improve Image transformations + + JDK-8320548, CVE-2024-21140, bsc#1228048: Improved loop + handling + + JDK-8323231, CVE-2024-21147, bsc#1228052: Improve array + management + + JDK-8323390: Enhance mask blit functionality + + JDK-8324559, CVE-2024-21145, bsc#1228051: Improve 2D image + handling + + JDK-8325600: Better symbol storage + + JDK-8327413: Enhance compilation efficiency + * Other changes + + JDK-7001133: OutOfMemoryError by CustomMediaSizeName + implementation + + JDK-8159927: Add a test to verify JMOD files created in the + images do not have debug symbols + + JDK-8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, + 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at + line 185 + + JDK-8187759: Background not refreshed when painting over a + transparent JFrame + + JDK-8223696: java/net/httpclient/MaxStreams.java failed with + didn't finish within the time-out + + JDK-8259866: two java.util tests failed with "IOException: + There is not enough space on the disk" + + JDK-8266242: java/awt/GraphicsDevice/CheckDisplayModes.java + failing on macOS 11 ARM + + JDK-8278527: java/util/concurrent/tck/JSR166TestCase.java + fails nanoTime test + + JDK-8280056: gtest/LargePageGtests.java#use-large-pages + failed "os.release_one_mapping_multi_commits_vm" + + JDK-8281658: Add a security category to the java + -XshowSettings option + + JDK-8288936: Wrong lock ordering writing + G1HeapRegionTypeChange JFR event + + JDK-8288989: Make tests not depend on the source code + + JDK-8293069: Make -XX:+Verbose less verbose + + JDK-8293850: need a largest_committed metric for each + category of NMT's output + + JDK-8294699: Launcher causes lingering busy cursor + + JDK-8294985: SSLEngine throws IAE during parsing of + X500Principal + + JDK-8295111: dpkg appears to have problems resolving + symbolically linked native libraries + + JDK-8299023: TestPLABResize.java and TestPLABPromotion.java + are failing intermittently + + JDK-8301183: (zipfs) jdk/jdk/nio/zipfs/ + /TestLocOffsetFromZip64EF.java failing with ZipException:R0 + on OL9 + + JDK-8303525: Refactor/cleanup + open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java + + JDK-8303773: Replace "main.wrapper" with + "test.thread.factory" property in test code + + JDK-8303891: Speed up Zip64SizeTest using a small ZIP64 file + + JDK-8303959: tools/jpackage/share/RuntimePackageTest.java + fails with java.lang.AssertionError missing files + + JDK-8303972: (zipfs) Make test/jdk/jdk/nio/zipfs/ + /TestLocOffsetFromZip64EF.java independent of the zip command + line + + JDK-8304839: Move TestScaffold.main() to the separate class + DebugeeWrapper + + JDK-8305645: System Tray icons get corrupted when Windows + primary monitor changes + + JDK-8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java + failed with "Expected chains but found none" + + JDK-8306040: HttpResponseInputStream.available() returns 1 on + empty stream + + JDK-8308144: Uncontrolled memory consumption in + SSLFlowDelegate.Reader + + JDK-8308453: Convert JKS test keystores in + test/jdk/javax/net/ssl/etc to PKCS12 + + JDK-8309142: Refactor test/langtools/tools/javac/versions/ + /Versions.java + + JDK-8309752: com/sun/jdi/SetLocalWhileThreadInNative.java + fails with virtual test thread factory due to + OpaqueFrameException + + JDK-8309757: com/sun/jdi/ReferrersTest.java fails with + virtual test thread factory + + JDK-8309763: Move tests in test/jdk/sun/misc/URLClassPath + directory to test/jdk/jdk/internal/loader + + JDK-8309871: jdk/jfr/api/consumer/recordingstream/ + /TestSetEndTime.java timed out + + JDK-8309890: TestStringDeduplicationInterned.java waits for + the wrong condition + + JDK-8310070: Test javax/net/ssl/DTLS/DTLSWontNegotiateV10.java + timed out + + JDK-8310228: Improve error reporting for uncaught native + exceptions on Windows + + JDK-8310234: Refactor Locale tests to use JUnit + + JDK-8310355: Move the stub test from initialize_final_stubs() + to test/hotspot/gtest + + JDK-8310513: [s390x] Intrinsify recursive ObjectMonitor + locking + + JDK-8310731: Configure a javax.net.ssl.SNIMatcher for the + HTTP/1.1 test servers in java/net/httpclient tests + + JDK-8310818: Refactor more Locale tests to use JUnit + + JDK-8310913: Move ReferencedKeyMap to jdk.internal so it may + be shared + + JDK-8311792: java/net/httpclient/ResponsePublisher.java fails + intermittently with AssertionError: Found some outstanding + operations + + JDK-8311823: JFR: Uninitialized EventEmitter::_thread_id field + + JDK-8311881: jdk/javax/swing/ProgressMonitor/ProgressTest.java + does not show the ProgressMonitorInputStream all the time + + JDK-8311964: Some jtreg tests failing on x86 with error + 'unrecognized VM options' (C2 flags) + + JDK-8312014: [s390x] TestSigInfoInHsErrFile.java Failure + + JDK-8312194: test/hotspot/jtreg/applications/ctw/modules/ + /jdk_crypto_ec.java cannot handle empty modules + + JDK-8312218: Print additional debug information when hitting + assert(in_hash) + + JDK-8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh + from ProblemList + + JDK-8312383: Log X509ExtendedKeyManager implementation class + name in TLS/SSL connection + + JDK-8312498: Thread::getState and JVM TI GetThreadState + should return TIMED_WAITING virtual thread is timed parked + + JDK-8312777: notifyJvmtiMount before notifyJvmtiUnmount + 8321270: Virtual Thread.yield consumes parking permit + + JDK-8313394: Array Elements in OldObjectSample event has the + incorrect description + + JDK-8313612: Use JUnit in lib-test/jdk tests + + JDK-8313702: Update IANA Language Subtag Registry to Version + 2023-08-02 + + JDK-8313710: jcmd: typo in the documentation of JFR.start and + JFR.dump + + JDK-8313899: JVMCI exception Translation can fail in + TranslatedException.<clinit> + + JDK-8314573: G1: Heap resizing at Remark does not take + existing eden regions into account + + JDK-8314824: Fix serviceability/jvmti/8036666/ + /GetObjectLockCount.java to use vm flags + + JDK-8314828: Mark 3 jcmd command-line options test as + vm.flagless + + JDK-8314832: Few runtime/os tests ignore vm flags + + JDK-8314975: JavadocTester should set source path if not + specified + + JDK-8315071: Modify TrayIconScalingTest.java, + PrintLatinCJKTest.java to use new PassFailJFrame's builder + pattern usage + + JDK-8315117: Update Zlib Data Compression Library to Version + 1.3 + + JDK-8315373: Change VirtualThread to unmount after freezing, + re-mount before thawing + + JDK-8315485: (fs) Move java/nio/file/Path/Misc.java tests + into java/nio/file/Path/PathOps.java + + JDK-8315503: G1: Code root scan causes long GC pauses due to + imbalanced iteration + + JDK-8315559: Delay TempSymbol cleanup to avoid symbol table + churn + + JDK-8315605: G1: Add number of nmethods in code roots + scanning statistics + + JDK-8315609: Open source few more swing text/html tests + + JDK-8315652: RISC-V: Features string uses wrong separator for + jtreg + + JDK-8315663: Open source misc awt tests + + JDK-8315677: Open source few swing JFileChooser and other + tests + + JDK-8315741: Open source few swing JFormattedTextField and + JPopupMenu tests + + JDK-8315824: Open source several Swing Text/HTML related tests + + JDK-8315834: Open source several Swing JSpinner related tests + + JDK-8315889: Open source several Swing HTMLDocument related + tests + + JDK-8315898: Open source swing JMenu tests + + JDK-8315998: Remove dead + ClassLoaderDataGraphKlassIteratorStatic + + JDK-8316002: Remove unnecessary seen_dead_loader in + ClassLoaderDataGraph::do_unloading + + JDK-8316053: Open some swing tests 3 + + JDK-8316138: Add GlobalSign 2 TLS root certificates + + JDK-8316154: Opensource JTextArea manual tests + + JDK-8316164: Opensource JMenuBar manual test + + JDK-8316186: RISC-V: Remove PlatformCmpxchg<4> + + JDK-8316228: jcmd tests are broken by 8314828 + + JDK-8316242: Opensource SwingGraphics manual test + + JDK-8316451: 6 java/lang/instrument/PremainClass tests ignore + VM flags + + JDK-8316460: 4 javax/management tests ignore VM flags + + JDK-8316559: Refactor some util/Calendar tests to JUnit + + JDK-8316563: test tools/jpackage/linux/LinuxResourceTest.java + fails on CentOS Linux release 8.5.2111 and Fedora 27 + + JDK-8316608: Enable parallelism in vmTestbase/gc/vector tests + + JDK-8316669: ImmutableOopMapSet destructor not called + + JDK-8316670: Remove effectively unused nmethodBucket::_count + + JDK-8316696: Remove the testing base classes: IntlTest and + CollatorTest + + JDK-8316924: java/lang/Thread/virtual/stress/ParkALot.java + times out + + JDK-8316959: Improve InlineCacheBuffer pending queue + management + + JDK-8317007: Add bulk removal of dead nmethods during class + unloading + + JDK-8317235: Remove Access API use in nmethod class + + JDK-8317287: [macos14] InterJVMGetDropSuccessTest.java: Child + VM: abnormal termination + + JDK-8317350: Move code cache purging out of + CodeCache::UnloadingScope + + JDK-8317440: Lock rank checking fails when code root set is + modified with the Servicelock held after JDK-8315503 + + JDK-8317600: VtableStubs::stub_containing() table load not + ordered wrt to stores + + JDK-8317631: Refactor ChoiceFormat tests to use JUnit + + JDK-8317677: Specialize Vtablestubs::entry_for() for + VtableBlob + + JDK-8317809: Insertion of free code blobs into code cache can + be very slow during class unloading + + JDK-8317965: TestLoadLibraryDeadlock.java fails with "Unable + to load native library.: expected true, was false" + + JDK-8318109: Writing JFR records while a CHT has taken its + lock asserts in rank checking + + JDK-8318322: Update IANA Language Subtag Registry to Version + 2023-10-16 + + JDK-8318455: Fix the compiler/sharedstubs/ + /SharedTrampolineTest.java and SharedStubToInterpTest.java + + JDK-8318580: "javax/swing/MultiMonitor/MultimonVImage.java + failing with Error. Can't find library: /open/test/jdk/java/ + /awt/regtesthelpers" after JDK-8316053 + + JDK-8318585: Rename CodeCache::UnloadingScope to + UnlinkingScope + + JDK-8318599: HttpURLConnection cache issues leading to + crashes in JGSS w/ native GSS introduced by 8303809 + + JDK-8318720: G1: Memory leak in G1CodeRootSet after + JDK-8315503 + + JDK-8318727: Enable parallelism in + vmTestbase/vm/gc/concurrent tests + + JDK-8318757: VM_ThreadDump asserts in interleaved + ObjectMonitor::deflate_monitor calls + + JDK-8318854: [macos14] Running any AWT app prints Secure + coding warning + + JDK-8318962: Update ProcessTools javadoc with suggestions in + 8315097 + + JDK-8318986: Improve GenericWaitBarrier performance + + JDK-8319048: Monitor deflation unlink phase prolongs time to + safepoint + + JDK-8319153: Fix: Class is a raw type in ProcessTools + + JDK-8319265: TestLoadLibraryDeadlock.java fails on + windows-x64 "Unable to load b.jar" + + JDK-8319338: tools/jpackage/share/RuntimeImageTest.java fails + with -XX:+UseZGC + + JDK-8319376: ParallelGC: Forwarded objects found during heap + inspection + + JDK-8319437: NMT should show library names in call stacks + + JDK-8319567: Update java/lang/invoke tests to support vm flags + + JDK-8319568: Update java/lang/reflect/exeCallerAccessTest/ + /CallerAccessTest.java to accept vm flags + + JDK-8319571: Update jni/nullCaller/NullCallerTest.java to + accept flags or mark as flagless + + JDK-8319574: Exec/process tests should be marked as flagless + + JDK-8319578: Few java/lang/instrument ignore test.java.opts + and accept test.vm.opts only + + JDK-8319647: Few java/lang/System/LoggerFinder/modules tests + ignore vm flags + + JDK-8319648: java/lang/SecurityManager tests ignore vm flags + + JDK-8319650: Improve heap dump performance with class + metadata caching + + JDK-8319651: Several network tests ignore vm flags when start + java process + + JDK-8319672: Several classloader tests ignore VM flags + + JDK-8319676: A couple of jdk/modules/incubator/ tests ignore + VM flags + + JDK-8319677: Test jdk/internal/misc/VM/RuntimeArguments.java + should be marked as flagless + + JDK-8319713: Parallel: Remove + PSAdaptiveSizePolicy::should_full_GC + + JDK-8319757: java/nio/channels/DatagramChannel/ + /InterruptibleOrNot.java failed: wrong exception thrown + + JDK-8319876: Reduce memory consumption of VM_ThreadDump::doit + + JDK-8319896: Remove monitor deflation from final audit + + JDK-8319955: Improve dependencies removal during class + unloading + + JDK-8320005: Allow loading of shared objects with .a + extension on AIX + + JDK-8320061: [nmt] Multiple issues with peak accounting + + JDK-8320113: [macos14] : ShapeNotSetSometimes.java fails + intermittently on macOS 14 + + JDK-8320129: "top" command during jtreg failure handler does + not display CPU usage on OSX + + JDK-8320275: assert(_chunk->bitmap().at(index)) failed: Bit + not set at index + + JDK-8320331: G1 Full GC Heap verification relies on metadata + not reset before verification + + JDK-8320342: Use PassFailJFrame for + TruncatedPopupMenuTest.java + + JDK-8320343: Generate GIF images for + AbstractButton/5049549/bug5049549.java + + JDK-8320349: Simplify FileChooserSymLinkTest.java by using + single-window testUI + + JDK-8320365: IPPPrintService.getAttributes() causes blanket + re-initialisation ++++ 321 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/java-21-openjdk/java-21-openjdk.changes ++++ and /work/SRC/openSUSE:Factory/.java-21-openjdk.new.17339/java-21-openjdk.changes Old: ---- jdk-21.0.4+6.tar.gz New: ---- jdk-21.0.4+7.tar.gz reproducible-javadoc-timestamp.patch BETA DEBUG BEGIN: New:- Added patch: * reproducible-javadoc-timestamp.patch + set javadoc timestamps to the time from SOURCE_DATE_EPOCH BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-21-openjdk.spec ++++++ --- /var/tmp/diff_new_pack.1Y1H7z/_old 2024-07-19 15:25:27.974720589 +0200 +++ /var/tmp/diff_new_pack.1Y1H7z/_new 2024-07-19 15:25:27.974720589 +0200 @@ -21,7 +21,7 @@ %global jit_arches %{ix86} x86_64 ppc64 ppc64le %{aarch64} %{arm} s390x riscv64 %global debug 0 %global make make -%global is_release 0 +%global is_release 1 %global buildoutputdir build # Convert an absolute path to a relative path. Each symbolic link is # specified relative to the directory in which it is installed so that @@ -34,7 +34,7 @@ %global featurever 21 %global interimver 0 %global updatever 4 -%global buildver 6 +%global buildver 7 %global openjdk_repo jdk21u %global openjdk_tag jdk-%{featurever}%{?updatever:.%{interimver}.%{updatever}}%{?patchver:.%{patchver}}+%{buildver} %global openjdk_dir %{openjdk_repo}-jdk-%{featurever}%{?updatever:.%{interimver}.%{updatever}}%{?patchver:.%{patchver}}-%{buildver} @@ -154,6 +154,7 @@ Patch5: multiple-pkcs11-library-init.patch # Fix instantiation of VM on ZERO Patch8: zero-ranges.patch +Patch9: reproducible-javadoc-timestamp.patch # From icedtea: Increase default memory limits Patch10: memory-limits.patch Patch11: reproducible-properties.patch @@ -389,6 +390,7 @@ %patch -P 4 -p1 %patch -P 5 -p1 %patch -P 8 -p1 +%patch -P 9 -p1 %patch -P 10 -p1 %patch -P 11 -p1 %patch -P 12 -p1 ++++++ jdk-21.0.4+6.tar.gz -> jdk-21.0.4+7.tar.gz ++++++ /work/SRC/openSUSE:Factory/java-21-openjdk/jdk-21.0.4+6.tar.gz /work/SRC/openSUSE:Factory/.java-21-openjdk.new.17339/jdk-21.0.4+7.tar.gz differ: char 27, line 1 ++++++ reproducible-javadoc-timestamp.patch ++++++ diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java index 6bff863e178..60c01d18320 100644 --- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java +++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java @@ -25,7 +25,9 @@ package jdk.javadoc.internal.doclets.formats.html; +import java.time.Instant; import java.time.ZonedDateTime; +import java.time.ZoneId; import java.util.ArrayList; import java.util.EnumSet; import java.util.HashMap; @@ -264,8 +266,12 @@ public class HtmlConfiguration extends BaseConfiguration { return false; } + ZonedDateTime now = ZonedDateTime.now(); + if ( System.getenv("SOURCE_DATE_EPOCH") != null ) { + now = ZonedDateTime.ofInstant(Instant.ofEpochMilli(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))), ZoneId.of("UTC")); + } ZonedDateTime zdt = options.date(); - buildDate = zdt != null ? zdt : ZonedDateTime.now(); + buildDate = zdt != null ? zdt : now; if (!getSpecifiedTypeElements().isEmpty()) { Map<String, PackageElement> map = new HashMap<>();