From 89340ee8a9861038e2ee74e70e2148d6a26172af Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Wed, 10 Jul 2024 21:18:22 +0100 Subject: [PATCH] Restore NEWS file and rename remove-intree-libraries.sh so portable can be rebuilt Document policy repacking script and rename to correct spelling and style Resolves: RHEL-47057 --- NEWS | 51 +++++++++++++++++++ java-1.8.0-openjdk.spec | 18 ++++--- ...libraries.sh => remove-intree-libraries.sh | 0 ...cies.sh => repack_reproducible_policies.sh | 0 4 files changed, 61 insertions(+), 8 deletions(-) rename java-1.8.0-openjdk-remove-intree-libraries.sh => remove-intree-libraries.sh (100%) rename repackReproduciblePolycies.sh => repack_reproducible_policies.sh (100%) diff --git a/NEWS b/NEWS index cfad64d..195d4bb 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,57 @@ Key: JDK-X - https://bugs.openjdk.java.net/browse/JDK-X CVE-XXXX-YYYY: https://cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release OpenJDK 8u422 (2024-07-16): +=========================================== +Live versions of these release notes can be found at: + * https://bit.ly/openjdk8u422 + +* Other changes + - JDK-8025439: [TEST BUG] [macosx] PrintServiceLookup.lookupPrintServices doesn't work properly since jdk8b105 + - JDK-8069389: CompilerOracle prefix wildcarding is broken for long strings + - JDK-8159454: [TEST_BUG] javax/swing/ToolTipManager/7123767/bug7123767.java: number of checked graphics configurations should be limited + - JDK-8159690: [TESTBUG] Mark headful tests with @key headful. + - JDK-8198321: javax/swing/JEditorPane/5076514/bug5076514.java fails + - JDK-8203691: [TESTBUG] Test /runtime/containers/cgroup/PlainRead.java fails + - JDK-8240756: [macos] SwingSet2:TableDemo:Printed Japanese characters were garbled + - JDK-8256152: tests fail because of ambiguous method resolution + - JDK-8258855: Two tests sun/security/krb5/auto/ReplayCacheTestProc.java and ReplayCacheTestProcWithMD5.java failed on OL8.3 + - JDK-8268916: Tests for AffirmTrust roots + - JDK-8278067: Make HttpURLConnection default keep alive timeout configurable + - JDK-8291226: Create Test Cases to cover scenarios for JDK-8278067 + - JDK-8291637: HttpClient default keep alive timeout not followed if server sends invalid value + - JDK-8291638: Keep-Alive timeout of 0 should close connection immediately + - JDK-8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM + - JDK-8313081: MonitoringSupport_lock should be unconditionally initialized after 8304074 + - JDK-8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Japanese Windows + - JDK-8320005: Allow loading of shared objects with .a extension on AIX + - JDK-8324185: [8u] Accept Xcode 12+ builds on macOS + - JDK-8325096: Test java/security/cert/CertPathBuilder/akiExt/AKISerialNumber.java is failing + - JDK-8325927: [8u] Backport of JDK-8170552 missed part of the test + - JDK-8326686: Bump update version of OpenJDK: 8u422 + - JDK-8327440: Fix "bad source file" error during beaninfo generation + - JDK-8328809: [8u] Problem list some CA tests + - JDK-8329544: [8u] sun/security/krb5/auto/ReplayCacheTestProc.java cannot find the testlibrary + +Notes on individual issues: +=========================== + +core-libs/java.net: + +JDK-8278067: Make HttpURLConnection Default Keep Alive Timeout Configurable +=========================================================================== +Two system properties have been added which control the keep alive +behavior of HttpURLConnection in the case where the server does not +specify a keep alive time. These are: + +* `http.keepAlive.time.server` +* `http.keepAlive.time.proxy` + +which control the number of seconds before an idle connection to a +server or proxy will be closed, respectively. If the server or proxy +specifies a keep alive time in a "Keep-Alive" response header, this +will take precedence over the values of these properties. + New in release OpenJDK 8u412 (2024-04-16): =========================================== Live versions of these release notes can be found at: diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index af7537c..726afb1 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -1416,9 +1416,6 @@ URL: http://openjdk.java.net/ # where the source is obtained from http://github.com/%%{project}/%%{repo} Source0: %{shenandoah_revision}.tar.xz -# Release notes -Source7: NEWS - # Use 'icedtea_sync.sh' to update the following # They are based on code contained in the IcedTea project (3.x). # Systemtap tapsets. Zipped up to keep it small. @@ -1432,7 +1429,7 @@ Source10: policytool.desktop.in Source11: nss.cfg.in # Removed libraries that we link instead -Source12: %{name}-remove-intree-libraries.sh +Source12: remove-intree-libraries.sh # Ensure we aren't using the limited crypto policy Source13: TestCryptoLevel.java @@ -1452,8 +1449,6 @@ Source17: nss.fips.cfg.in # Ensure translations are available for new timezones Source18: TestTranslations.java -Source21: repackReproduciblePolycies.sh - # New versions of config files with aarch64 support. This is not upstream yet. Source100: config.guess Source101: config.sub @@ -1461,6 +1456,10 @@ Source101: config.sub # Include portable spec and instructions on how to rebuild Source19: README.md Source20: java-1.%{majorver}.0-openjdk-portable.specfile +Source21: NEWS + +# Repack export policy JARs with reproducible timestamps +Source22: repack_reproducible_policies.sh # Setup variables to reference correct sources %global releasezip %{_jvmdir}/%{name}-portable-%{pversion}-%{prelease}.portable.unstripped.jdk.%{_arch}.tar.xz @@ -2550,7 +2549,7 @@ for suffix in %{build_loop} ; do %ifarch %{portable_build_arches} mv ${jdk_image}/NEWS ${commondocdir} %else - cp -a %{SOURCE7} ${commondocdir} + cp -a %{SOURCE21} ${commondocdir} %endif cp -a %{SOURCE19} %{SOURCE20} ${commondocdir} @@ -2677,7 +2676,7 @@ find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir -- $suffix}/demo \ | sed 's|^|%dir |' \ >> %{name}-demo.files"$suffix" -bash %{SOURCE21} $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir -- $suffix} %{javaver} +bash %{SOURCE22} $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir -- $suffix} %{javaver} # https://bugzilla.redhat.com/show_bug.cgi?id=1183793 touch -t 201401010000 $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir -- $suffix}/lib/security/java.security @@ -2924,7 +2923,10 @@ cjc.mainProgram(args) - Update release notes for shenandoah-8u422-b01. - Switch to EA mode. - Sync the copy of the portable specfile with the latest update +- Update NEWS file and rename remove-intree-libraries.sh so portable can be rebuilt +- Document policy repacking script and rename to correct spelling and style - Related: RHEL-46858 +- Resolves: RHEL-47057 * Mon Apr 08 2024 Andrew Hughes - 1:1.8.0.412.b08-3 - Bump rpmrelease for CentOS build diff --git a/java-1.8.0-openjdk-remove-intree-libraries.sh b/remove-intree-libraries.sh similarity index 100% rename from java-1.8.0-openjdk-remove-intree-libraries.sh rename to remove-intree-libraries.sh diff --git a/repackReproduciblePolycies.sh b/repack_reproducible_policies.sh similarity index 100% rename from repackReproduciblePolycies.sh rename to repack_reproducible_policies.sh