forked from pool/java-1_8_0-openjdk
Compare commits
19 Commits
Author | SHA256 | Date | |
---|---|---|---|
57328ea3c9 | |||
4ae81e7b33 | |||
ff531573ab | |||
428d1e0587 | |||
0f47743855 | |||
b78649d0a1 | |||
d38b90f983 | |||
666920d7a8 | |||
6312ab29a9 | |||
7b65e2260f | |||
1b05c7053f | |||
eaa64143a7 | |||
da492088ed | |||
6620ccee8a | |||
6bcf8ff849 | |||
362a745d8d | |||
6aadfd81ec | |||
2b9c3b5fcf | |||
aebfd29751 |
BIN
aarch32-git.tar.xz
(Stored with Git LFS)
BIN
aarch32-git.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
icedtea-3.32.0.tar.xz
(Stored with Git LFS)
BIN
icedtea-3.32.0.tar.xz
(Stored with Git LFS)
Binary file not shown.
3
icedtea-3.36.0.tar.xz
Normal file
3
icedtea-3.36.0.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f989ff90487edc5ebc2d5a1f5d94bca5d5973b5730a036c32f35be551bf9f69
|
||||
size 1584584
|
@@ -1,3 +1,327 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 7 16:23:11 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Update to version jdk8u462 (icedtea-3.36.0)
|
||||
* CVEs
|
||||
+ JDK-8348989, CVE-2025-30749, bsc#1246595: Better Glyph drawing
|
||||
+ JDK-8349594, CVE-2025-30754, bsc#1246598: Enhance TLS protocol
|
||||
support
|
||||
+ JDK-8351422, CVE-2025-30761, bsc#1246580: Improve scripting
|
||||
supports
|
||||
+ JDK-8360147, CVE-2025-50106, bsc#1246584: Better Glyph drawing
|
||||
redux
|
||||
* Import of OpenJDK 8 u462 build 08
|
||||
+ JDK-8026976: ECParameters, Point does not match field size
|
||||
+ JDK-8028998: [TEST_BUG] [macosx]
|
||||
java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java
|
||||
failed
|
||||
+ JDK-8046883: com/sun/jdi/ProcessAttachTest.sh gets
|
||||
"java.io.IOException: Invalid process identifier" on windows
|
||||
+ JDK-8071996: split_if accesses NULL region of ConstraintCast
|
||||
+ JDK-8159694: HiDPI, Unity,
|
||||
java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java
|
||||
+ JDK-8186143: keytool -ext option doesn't accept wildcards for
|
||||
DNS subject alternative names
|
||||
+ JDK-8186787: clang-4.0 SIGSEGV in Unsafe_PutByte
|
||||
+ JDK-8240235: jdk.test.lib.util.JarUtils updates jar files
|
||||
incorrectly
|
||||
+ JDK-8248001: javadoc generates invalid HTML pages whose
|
||||
ftp:// links are broken
|
||||
+ JDK-8274597: Some of the dnd tests time out and fail
|
||||
intermittently
|
||||
+ JDK-8274606: Fix
|
||||
jaxp/javax/xml/jaxp/unittest/transform/SurrogateTest.java test
|
||||
+ JDK-8278472: Invalid value set to CANDIDATEFORM structure
|
||||
+ JDK-8293107: GHA: Bump to Ubuntu 22.04
|
||||
+ JDK-8296631: NSS tests failing on OL9 linux-aarch64 hosts
|
||||
+ JDK-8303770: Remove Baltimore root certificate expiring in
|
||||
May 2025
|
||||
+ JDK-8309841: Jarsigner should print a warning if an entry is
|
||||
removed
|
||||
+ JDK-8339810: Clean up the code in sun.tools.jar.Main to
|
||||
properly close resources and use ZipFile during extract
|
||||
+ JDK-8341946: [8u] sun/security/pkcs11/ec/ tests fail on RHEL9
|
||||
+ JDK-8345133: Test
|
||||
sun/security/tools/jarsigner/TsacertOptionTest.java failed:
|
||||
Warning found in stdout
|
||||
+ JDK-8345625: Better HTTP connections
|
||||
+ JDK-8346887: DrawFocusRect() may cause an assertion failure
|
||||
+ JDK-8349111: Enhance Swing supports
|
||||
+ JDK-8350498: Remove two Camerfirma root CA certificates
|
||||
+ JDK-8351098: Bump update version of OpenJDK: 8u462
|
||||
+ JDK-8351439: [8u] test/java/util/TimeZone/tools/share/Makefile
|
||||
use wrong path to tzdb
|
||||
+ JDK-8352716: (tz) Update Timezone Data to 2025b
|
||||
+ JDK-8353433: XCG currency code not recognized in JDK 8u
|
||||
+ JDK-8356096: ISO 4217 Amendment 179 Update
|
||||
+ JDK-8359170: Add 2 TLS and 2 CS Sectigo roots
|
||||
* Backports
|
||||
+ JDK-8358538: Update GHA Windows runner to 2025
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 30 15:06:42 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Remove pack200 and unpack200 from alternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 25 10:47:33 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added paches:
|
||||
* jdk-8354941.patch
|
||||
* jdk-8354941-aarch32.patch
|
||||
+ JDK-8354941: Build failure with glibc 2.42 due to uabs() name
|
||||
collision
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 21 10:59:48 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Do not embed rebuild counter (bsc#1246806)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 20:40:38 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- add -std=gnu99 to CFLAGS to fix gcc15 compile time error. Since
|
||||
the C++ part is on -std=gnu++98, this is the closest.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 05:12:39 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Update to version jdk8u452 (icedtea-3.35.0)
|
||||
* Import of OpenJDK 8 u452 build 09
|
||||
+ JDK-8037013: [TESTBUG] Fix
|
||||
test/java/lang/ClassLoader/Assert.sh on AIX
|
||||
+ JDK-8048215: [TESTBUG] java/lang/management/ManagementFactory/
|
||||
/ThreadMXBeanProxy.java Expected non-null LockInfo
|
||||
+ JDK-8068305: [TEST_BUG] Test java/awt/Mixing/HWDisappear.java
|
||||
fails with GTKL&F
|
||||
+ JDK-8212096: javax/net/ssl/ServerName/
|
||||
/SSLEngineExplorerMatchedSNI.java failed intermittently due to
|
||||
SSLException: Tag mismatch
|
||||
+ JDK-8227651: Tests fail with SSLProtocolException: Input
|
||||
record too big
|
||||
+ JDK-8240235: jdk.test.lib.util.JarUtils updates jar files
|
||||
incorrectly
|
||||
+ JDK-8244966: Add .vscode to .hgignore and .gitignore
|
||||
+ JDK-8261020: Wrong format parameter in
|
||||
create_emergency_chunk_path
|
||||
+ JDK-8265019: Update tests for additional TestNG test
|
||||
permissions
|
||||
+ JDK-8266881: Enable debug log for
|
||||
SSLEngineExplorerMatchedSNI.java
|
||||
+ JDK-8268457: XML Transformer outputs Unicode supplementary
|
||||
character incorrectly to HTML
|
||||
+ JDK-8285756: clean up use of bad arguments for '@clean' in
|
||||
langtools tests
|
||||
+ JDK-8309841: Jarsigner should print a warning if an entry is
|
||||
removed
|
||||
+ JDK-8316193: jdk/jfr/event/oldobject/TestListenerLeak.java
|
||||
java.lang.Exception: Could not find leak
|
||||
+ JDK-8326110: [8u] The Marlin tests should be updated after
|
||||
JDK-8241307
|
||||
+ JDK-8337494: Clarify JarInputStream behavior
|
||||
+ JDK-8337692, CVE-2025-21587, bsc#1241274: Better TLS
|
||||
connection support
|
||||
+ JDK-8338430, CVE-2025-30691, bsc#1241275: Improve compiler
|
||||
transformations
|
||||
+ JDK-8339560: Unaddressed comments during code review of
|
||||
JDK-8337664
|
||||
+ JDK-8339637: (tz) Update Timezone Data to 2024b
|
||||
+ JDK-8339644: Improve parsing of Day/Month in tzdata rules
|
||||
+ JDK-8339810: Clean up the code in sun.tools.jar.Main to
|
||||
properly close resources and use ZipFile during extract
|
||||
+ JDK-8340552: Harden TzdbZoneRulesCompiler against missing
|
||||
zone names
|
||||
+ JDK-8340660: [8u] Test com/sun/jdi/PrivateTransportTest.sh
|
||||
fails on MacOS
|
||||
+ JDK-8342562: Enhance Deflater operations
|
||||
+ JDK-8343007, CVE-2025-30698, bsc#1241276: Enhance Buffered
|
||||
Image handling
|
||||
+ JDK-8345504: Bump update version of OpenJDK: 8u452
|
||||
+ JDK-8346140: [8u] tools/jar/ExtractFilesTest.java and
|
||||
tools/jar/MultipleManifestTest.java fails with jtreg5.1
|
||||
+ JDK-8346587: Distrust TLS server certificates anchored by
|
||||
Camerfirma Root CAs
|
||||
+ JDK-8347847: Enhance jar file support
|
||||
+ JDK-8347965: (tz) Update Timezone Data to 2025a
|
||||
+ JDK-8348211: [8u] sun/management/jmxremote/startstop/
|
||||
/JMXStartStopTest.java fails after backport of JDK-8066708
|
||||
+ JDK-8350816: [8u] Update TzdbZoneRulesCompiler to ignore
|
||||
HST/EST/MST links
|
||||
+ JDK-8352097: (tz) zone.tab update missed in 2025a backport
|
||||
+ JDK-8353433: XCG currency code not recognized in JDK 8u
|
||||
* Backports
|
||||
+ JDK-8293107: GHA: Bump to Ubuntu 22.04
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 28 06:46:44 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Update to version jdk8u442 (icedtea-3.34.0)
|
||||
* Security fiexes
|
||||
+ No CVE from the January 2025 CPU affects jdk8u432,
|
||||
nonetheless this release contains defense-in-depth fixes
|
||||
that have no CVE assigned to them.
|
||||
* Import of OpenJDK 8 u442 build 06
|
||||
+ JDK-8048003: test/compiler/8009761/Test8009761.java failed
|
||||
with: java.lang.RuntimeException: static java.lang.Object
|
||||
Test8009761.m3(boolean,boolean) not compiled
|
||||
+ JDK-8058322: Zero name_index item of MethodParameters
|
||||
attribute cause MalformedParameterException.
|
||||
+ JDK-8066708: JMXStartStopTest fails to connect to port 38112
|
||||
+ JDK-8133287: (fs) java/nio/file/Files/probeContentType/
|
||||
/ParallelProbes.java should use othervm mode
|
||||
+ JDK-8189687: Swing: Invalid position of candidate pop-up of
|
||||
InputMethod in Hi-DPI on Windows
|
||||
+ JDK-8209023: fix 2 compiler tests to avoid JDK-8208690
|
||||
+ JDK-8239312: [macOS] javax/swing/JFrame/NSTexturedJFrame/
|
||||
/NSTexturedJFrame.java
|
||||
+ JDK-8260380: Upgrade to LittleCMS 2.12
|
||||
+ JDK-8315731: Open source several Swing Text related tests
|
||||
+ JDK-8335428: Enhanced Building of Processes
|
||||
+ JDK-8335912: Add an operation mode to the jar command when
|
||||
extracting to not overwriting existing files
|
||||
+ JDK-8336564: Enhance mask blit functionality redux
|
||||
+ JDK-8338402: GHA: some of bundles may not get removed
|
||||
+ JDK-8339133: [8u] Profiler crashes at
|
||||
guarantee(is_result_safe || is_in_asgct()): unsafe access to
|
||||
zombie method
|
||||
+ JDK-8339180: Enhanced Building of Processes: Follow-on Issue
|
||||
+ JDK-8339394: Bump update version of OpenJDK: 8u442
|
||||
+ JDK-8339882: Replace ThreadLocalStorage::thread with
|
||||
Thread::current_or_null in jdk8 backport of JDK-8183925
|
||||
+ JDK-8340815: Add SECURITY.md file
|
||||
+ JDK-8342822: jdk8u432-b06 does not compile on AIX
|
||||
+ JDK-8342841: [8u] Separate jdk_security_infra tests from
|
||||
jdk_tier1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 5 11:48:50 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Update to version jdk8u432 (icedtea-3.33.0)
|
||||
* Security fixes
|
||||
+ JDK-8290367, JDK-8332643: Update default value and extend the
|
||||
scope of com.sun.jndi.ldap.object.trustSerialData system
|
||||
property
|
||||
+ JDK-8313626, JDK-8307769: C2 crash due to unexpected
|
||||
exception control flow
|
||||
+ JDK-8328286, CVE-2024-21208, bsc#1231702: Enhance HTTP client
|
||||
+ JDK-8328544, CVE-2024-21210, bsc#1231711: Improve handling of
|
||||
vectorization
|
||||
+ JDK-8328726: Better Kerberos support
|
||||
+ JDK-8331446, CVE-2024-21217, bsc#1231716: Improve
|
||||
deserialization support
|
||||
+ JDK-8332644, CVE-2024-21235, bsc#1231719: Improve graph
|
||||
optimizations
|
||||
+ JDK-8335713: Enhance vectorization analysis
|
||||
* Import of OpenJDK 8 u432 build 06
|
||||
+ JDK-4660158: TTY: NumberFormatException while trying to set
|
||||
values by 'set' command
|
||||
+ JDK-6544871: java/awt/event/KeyEvent/KeyTyped/CtrlASCII.html
|
||||
fails from jdk b09 on windows.
|
||||
+ JDK-7188098: TEST_BUG: closed/javax/sound/midi/Synthesizer/
|
||||
/Receiver/bug6186488.java fails
|
||||
+ JDK-8021775: compiler/8009761/Test8009761.java "Failed: init
|
||||
recursive calls: 51. After deopt 50"
|
||||
+ JDK-8030204: com/sun/jdi/JdbExprTest.sh: Required output
|
||||
"Can't convert 2147483648 to int" not found
|
||||
+ JDK-8030795: java/nio/file/Files/probeContentType/
|
||||
/ForceLoad.java failing with ServiceConfigurationError without
|
||||
jtreg -agentvm option
|
||||
+ JDK-8035395: sun/management/jmxremote/startstop/
|
||||
/JMXStartStopTest.java fails intermittently: Port already in
|
||||
use
|
||||
+ JDK-8075511: Enable -Woverloaded-virtual C++ warning for
|
||||
HotSpot build
|
||||
+ JDK-8137329: [windows] Build broken on VS2010 after
|
||||
"8046148: JEP 158: Unified JVM Logging"
|
||||
+ JDK-8145919: sun/management/jmxremote/bootstrap/
|
||||
/RmiSslBootstrapTest failed with Connection failed for no
|
||||
credentials
|
||||
+ JDK-8152207: Perform array bound checks while getting a
|
||||
length of bytecode instructions
|
||||
+ JDK-8193682: Infinite loop in ZipOutputStream.close()
|
||||
+ JDK-8196770: Add JNDI test
|
||||
com/sun/jndi/ldap/blits/AddTests/AddNewEntry.java
|
||||
+ JDK-8221903: PIT: javax/swing/RepaintManager/IconifyTest/
|
||||
/IconifyTest.java fails on ubuntu18.04
|
||||
+ JDK-8233364: Fix undefined behavior in
|
||||
Canonicalizer::do_ShiftOp
|
||||
+ JDK-8238274: (sctp) JDK-7118373 is not fixed for SctpChannel
|
||||
+ JDK-8251188: Update LDAP tests not to use wildcard addresses
|
||||
+ JDK-8264328: Broken license in
|
||||
javax/swing/JComboBox/8072767/bug8072767.java
|
||||
+ JDK-8266248: Compilation failure in
|
||||
PLATFORM_API_MacOSX_MidiUtils.c with Xcode 12.5
|
||||
+ JDK-8278794: Infinite loop in DeflaterOutputStream.finish()
|
||||
+ JDK-8279164: Disable TLS_ECDH_* cipher suites
|
||||
+ JDK-8281096: Flags introduced by configure script are not
|
||||
passed to ADLC build
|
||||
+ JDK-8284771: java/util/zip/CloseInflaterDeflaterTest.java
|
||||
failed with "AssertionError: Expected IOException to be
|
||||
thrown, but nothing was thrown"
|
||||
+ JDK-8298887: On the latest macOS+XCode the Robot API may
|
||||
report wrong colors
|
||||
+ JDK-8299677: Formatter.format might take a long time to
|
||||
format an integer or floating-point
|
||||
+ JDK-8305400: ISO 4217 Amendment 175 Update
|
||||
+ JDK-8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java
|
||||
failed with "Expected chains but found none"
|
||||
+ JDK-8307779: Relax the java.awt.Robot specification
|
||||
+ JDK-8309138: Fix container tests for jdks with symlinked conf
|
||||
dir
|
||||
+ JDK-8311666: Disabled tests in test/jdk/sun/java2d/marlin
|
||||
+ JDK-8315117: Update Zlib Data Compression Library to Version
|
||||
1.3
|
||||
+ JDK-8315863: [GHA] Update checkout action to use v4
|
||||
+ JDK-8316328: Test jdk/jfr/event/oldobject/
|
||||
/TestSanityDefault.java times out for some heap sizes
|
||||
+ JDK-8318951: Additional negative value check in JPEG decoding
|
||||
+ JDK-8320964: sun/tools/native2ascii/Native2AsciiTests.sh
|
||||
fails on Japanese
|
||||
+ JDK-8321480: ISO 4217 Amendment 176 Update
|
||||
+ JDK-8324632: Update Zlib Data Compression Library to Version
|
||||
1.3.1
|
||||
+ JDK-8324723: GHA: Upgrade some actions to avoid deprecated
|
||||
Node 16
|
||||
+ JDK-8326351: Update the Zlib version in
|
||||
open/src/java.base/share/legal/zlib.md to 1.3.1
|
||||
+ JDK-8326521: JFR: CompilerPhase event test fails on windows
|
||||
32 bit
|
||||
+ JDK-8326529: JFR: Test for CompilerCompile events fails due
|
||||
to time out
|
||||
+ JDK-8327007: javax/swing/JSpinner/8008657/bug8008657.java
|
||||
fails
|
||||
+ JDK-8330415: Update system property for Java SE specification
|
||||
maintenance version
|
||||
+ JDK-8333126: Bump update version of OpenJDK: 8u432
|
||||
+ JDK-8333724: Problem list security/infra/java/security/cert/
|
||||
/CertPathValidator/certification/CAInterop.java
|
||||
#teliasonerarootcav1
|
||||
+ JDK-8334653: ISO 4217 Amendment 177 Update
|
||||
+ JDK-8334905: [8u] The test java/awt/Mixing/AWT_Mixing/
|
||||
/JButtonOverlapping.java started to fail after 8159690
|
||||
+ JDK-8335851: [8u] Test JMXStartStopTest.java fails after
|
||||
JDK-8334415
|
||||
+ JDK-8335894: [8u] Fix SupplementalJapaneseEraTest.java for
|
||||
jdks with symlinked conf dir
|
||||
+ JDK-8336928: GHA: Bundle artifacts removal broken
|
||||
+ JDK-8337110: [8u] TestNoEagerReclaimOfHumongousRegions.java
|
||||
should be in gc/g1 directory
|
||||
+ JDK-8337312: [8u] Windows x86 VS2010 build broken by
|
||||
JDK-8320097
|
||||
+ JDK-8337664: Distrust TLS server certificates issued after
|
||||
Oct 2024 and anchored by Entrust Root CAs
|
||||
+ JDK-8338144: [8u] Remove duplicate license files
|
||||
+ JDK-8341057: Add 2 SSL.com TLS roots
|
||||
+ JDK-8341059: Change Entrust TLS distrust date to November 12,
|
||||
2024
|
||||
* Bug fixes
|
||||
+ Revert flawed PR2691 distcc fix
|
||||
- Added patches:
|
||||
* reproducible-directory-mtime.patch
|
||||
* reproducible-javadoc-timestamp.patch
|
||||
* reproducible-properties.patch
|
||||
+ miscelaneos reproducible fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 1 06:21:31 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
@@ -15,7 +339,7 @@ Thu Aug 1 06:21:31 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
+ 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
|
||||
+ JDK-8324559, CVE-2024-21145, bsc#1228051: Improve 2D image
|
||||
handling
|
||||
+ JDK-8325600: Better symbol storage
|
||||
* Import of OpenJDK 8 u422 build 05
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package java-1_8_0-openjdk
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{!?aarch64:%global aarch64 aarch64 arm64 armv8}
|
||||
%global jit_arches %{ix86} x86_64 ppc64 ppc64le %{aarch64} %{arm}
|
||||
%global icedtea_version 3.32.0
|
||||
%global icedtea_version 3.36.0
|
||||
%global buildoutputdir openjdk.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
|
||||
@@ -31,8 +31,8 @@
|
||||
# priority must be 6 digits in total
|
||||
%global priority 1805
|
||||
%global javaver 1.8.0
|
||||
%global updatever 422
|
||||
%global buildver 05
|
||||
%global updatever 462
|
||||
%global buildver 08
|
||||
# Standard JPackage directories and symbolic links.
|
||||
%global sdklnk java-%{javaver}-openjdk
|
||||
%global archname %{sdklnk}
|
||||
@@ -189,6 +189,12 @@ Patch15: make-jobserver-detection.patch
|
||||
#
|
||||
# OpenJDK specific patches
|
||||
#
|
||||
# Reproducible stuff
|
||||
#
|
||||
Patch20: reproducible-directory-mtime.patch
|
||||
Patch21: reproducible-javadoc-timestamp.patch
|
||||
Patch22: reproducible-properties.patch
|
||||
#
|
||||
# Patch for PPC
|
||||
Patch103: ppc-zero-hotspot.patch
|
||||
Patch1001: java-1_8_0-openjdk-suse-desktop-files.patch
|
||||
@@ -197,6 +203,8 @@ Patch2001: disable-doclint-by-default.patch
|
||||
Patch2002: JDK_1_8_0-8208602.patch
|
||||
Patch3000: tls13extensions.patch
|
||||
Patch4000: riscv64-zero.patch
|
||||
Patch4001: jdk-8354941.patch
|
||||
Patch4002: jdk-8354941-aarch32.patch
|
||||
Patch5001: fips.patch
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: autoconf
|
||||
@@ -440,7 +448,7 @@ CXXFLAGS=${CFLAGS}
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1330
|
||||
CFLAGS="$CFLAGS -fno-delete-null-pointer-checks -fno-lifetime-dse -fcommon"
|
||||
CFLAGS="$CFLAGS -std=gnu99 -fno-delete-null-pointer-checks -fno-lifetime-dse -fcommon"
|
||||
CXXFLAGS="$CXXFLAGS -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse -fcommon"
|
||||
%endif
|
||||
export CFLAGS
|
||||
@@ -450,7 +458,7 @@ sh autogen.sh
|
||||
%configure \
|
||||
--disable-downloading \
|
||||
--with-tzdata-dir=%{_datadir}/javazi \
|
||||
--with-pkgversion="build %{javaver}_%{updatever}-b%{buildver} suse-%{release}-%{_arch}" \
|
||||
--with-pkgversion="build %{javaver}_%{updatever}-b%{buildver} suse-%{suse_version}-%{_arch}" \
|
||||
--with-jdk-home="%{_sysconfdir}/alternatives/java_sdk" \
|
||||
--disable-nss \
|
||||
--enable-sysconf-nss \
|
||||
@@ -523,6 +531,10 @@ patch -p0 -i %{PATCH14}
|
||||
|
||||
patch -p0 -i %{PATCH15}
|
||||
|
||||
patch -p0 -i %{PATCH20}
|
||||
patch -p0 -i %{PATCH21}
|
||||
patch -p0 -i %{PATCH22}
|
||||
|
||||
%ifarch ppc ppc64 ppc64le
|
||||
# PPC fixes
|
||||
patch -p0 -i %{PATCH103}
|
||||
@@ -534,6 +546,10 @@ patch -p0 -i %{PATCH2002}
|
||||
patch -p0 -i %{PATCH3000}
|
||||
|
||||
patch -p0 -i %{PATCH4000}
|
||||
patch -p0 -i %{PATCH4001}
|
||||
%ifarch %{arm}
|
||||
patch -p0 -i %{PATCH4002}
|
||||
%endif
|
||||
|
||||
patch -p0 -i %{PATCH5001}
|
||||
|
||||
@@ -789,8 +805,6 @@ update-alternatives \
|
||||
--slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \
|
||||
--slave %{_bindir}/servertool servertool %{jrebindir}/servertool \
|
||||
--slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \
|
||||
--slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \
|
||||
--slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \
|
||||
--slave %{_mandir}/man1/java.1$ext java.1$ext \
|
||||
%{_mandir}/man1/java-%{sdklnk}.1$ext \
|
||||
--slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \
|
||||
@@ -807,10 +821,6 @@ update-alternatives \
|
||||
%{_mandir}/man1/servertool-%{sdklnk}.1$ext \
|
||||
--slave %{_mandir}/man1/tnameserv.1$ext tnameserv.1$ext \
|
||||
%{_mandir}/man1/tnameserv-%{sdklnk}.1$ext \
|
||||
--slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \
|
||||
%{_mandir}/man1/pack200-%{sdklnk}.1$ext \
|
||||
--slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \
|
||||
%{_mandir}/man1/unpack200-%{sdklnk}.1$ext \
|
||||
--slave %{_datadir}/applications/policytool.desktop policytool.desktop \
|
||||
%{_jvmdir}/%{jredir}/lib/desktop/policytool.desktop \
|
||||
|| :
|
||||
|
130
jdk-8354941-aarch32.patch
Normal file
130
jdk-8354941-aarch32.patch
Normal file
@@ -0,0 +1,130 @@
|
||||
--- openjdk/hotspot/src/cpu/aarch32/vm/assembler_aarch32.cpp 2025-08-25 12:58:03.747170504 +0200
|
||||
+++ openjdk/hotspot/src/cpu/aarch32/vm/assembler_aarch32.cpp 2025-08-25 12:59:08.519612682 +0200
|
||||
@@ -1341,7 +1341,7 @@
|
||||
}
|
||||
bool U = offset >= 0;
|
||||
assert(0 == (offset & 3), "Can only access aligned data");
|
||||
- unsigned imm8 = uabs(offset) / 4;
|
||||
+ unsigned imm8 = g_uabs(offset) / 4;
|
||||
i->f(U, 23), i->rf(_base, 16), i->f(imm8, 7, 0);
|
||||
} else {
|
||||
ShouldNotReachHere();
|
||||
@@ -1735,7 +1735,7 @@
|
||||
|
||||
//Try plan B - a mov first - need to have destination that is not an arg
|
||||
assert(Rd != Rn, "Can't use imm and can't do a mov. I'm in a jam.");
|
||||
- mov_immediate(Rd, (uint32_t)uabs(imm), cond, s);
|
||||
+ mov_immediate(Rd, (uint32_t)g_uabs(imm), cond, s);
|
||||
//Now do the non immediate version - copied from the immediate encodings
|
||||
{
|
||||
starti;
|
||||
--- openjdk/hotspot/src/cpu/aarch32/vm/assembler_aarch32.hpp 2025-08-25 12:58:03.747239554 +0200
|
||||
+++ openjdk/hotspot/src/cpu/aarch32/vm/assembler_aarch32.hpp 2025-08-25 12:59:21.028743552 +0200
|
||||
@@ -264,7 +264,7 @@
|
||||
|
||||
#define starti Instruction_aarch32 do_not_use(this); set_current(&do_not_use)
|
||||
|
||||
-static inline unsigned long uabs(long n) { return uabs((jlong)n); }
|
||||
+static inline unsigned long g_uabs(long n) { return g_uabs((jlong)n); }
|
||||
|
||||
#define S_DFLT ::lsl()
|
||||
#define C_DFLT AL
|
||||
@@ -1169,10 +1169,10 @@
|
||||
switch(decode) {
|
||||
case 0b010:
|
||||
// LDR, LDRB, STR, STRB
|
||||
- return uabs(offset) < (1 << 12);
|
||||
+ return g_uabs(offset) < (1 << 12);
|
||||
case 0b000:
|
||||
//LDRD, LDRH, LDRSB, LDRSH, STRH, STRD
|
||||
- return uabs(offset) < (1 << 8);
|
||||
+ return g_uabs(offset) < (1 << 8);
|
||||
default:
|
||||
ShouldNotReachHere();
|
||||
}
|
||||
@@ -1516,7 +1516,7 @@
|
||||
// are out of range.
|
||||
static const unsigned long branch_range = NOT_DEBUG(32 * M) DEBUG_ONLY(2 * M);
|
||||
static bool reachable_from_branch_at(address branch, address target) {
|
||||
- return uabs(target - branch) < branch_range;
|
||||
+ return g_uabs(target - branch) < branch_range;
|
||||
}
|
||||
|
||||
void branch_imm_instr(int decode, address dest, Condition cond) {
|
||||
@@ -2102,7 +2102,7 @@
|
||||
static bool is_valid_for_imm12(int imm);
|
||||
|
||||
static bool is_valid_for_offset_imm(int imm, int nbits) {
|
||||
- return uabs(imm) < (1u << nbits);
|
||||
+ return g_uabs(imm) < (1u << nbits);
|
||||
}
|
||||
|
||||
static bool operand_valid_for_logical_immediate(bool is32, uint64_t imm);
|
||||
--- openjdk/hotspot/src/cpu/aarch32/vm/macroAssembler_aarch32.cpp 2025-08-25 12:58:03.748987989 +0200
|
||||
+++ openjdk/hotspot/src/cpu/aarch32/vm/macroAssembler_aarch32.cpp 2025-08-25 12:59:15.501298302 +0200
|
||||
@@ -89,23 +89,23 @@
|
||||
instructions = patch_oop(branch, target) / NativeInstruction::arm_insn_sz;
|
||||
} else if (0b010 == (opc >> 1)) {
|
||||
// LDR, LDRB, STR, STRB
|
||||
- Instruction_aarch32::patch(branch, 11, 0, uabs(offset));
|
||||
+ Instruction_aarch32::patch(branch, 11, 0, g_uabs(offset));
|
||||
Instruction_aarch32::patch(branch, 23, 23, add);
|
||||
} else if (0b000 == (opc >> 1)) {
|
||||
// LDRH, LDRSH, LDRSB, LDRD, STRH, STRD
|
||||
- offset = uabs(offset);
|
||||
+ offset = g_uabs(offset);
|
||||
Instruction_aarch32::patch(branch, 3, 0, offset & 0xf);
|
||||
Instruction_aarch32::patch(branch, 11, 8, offset >> 4);
|
||||
Instruction_aarch32::patch(branch, 23, 23, add);
|
||||
} else if (0b1101 == opc) {
|
||||
// VLDR, VSTR - NOTE VSTR(lit) is deprecated
|
||||
- offset = uabs(offset);
|
||||
+ offset = g_uabs(offset);
|
||||
assert(0 == (offset & 3), "vldr, vstr can't do unaligned access");
|
||||
Instruction_aarch32::patch(branch, 7, 0, offset >> 2);
|
||||
Instruction_aarch32::patch(branch, 23, 23, add);
|
||||
} else if (0b0010 == opc) {
|
||||
// ADR
|
||||
- Instruction_aarch32::patch(branch, 11, 0, encode_imm12(uabs(offset)));
|
||||
+ Instruction_aarch32::patch(branch, 11, 0, encode_imm12(g_uabs(offset)));
|
||||
Instruction_aarch32::patch(branch, 23, 22, add ? 0b10 : 0b01 );
|
||||
} else {
|
||||
ShouldNotReachHere();
|
||||
@@ -2942,7 +2942,7 @@
|
||||
int MacroAssembler::ldrd(Register Rt, Register Rt2, const Address& adr, Register Rtmp, Condition cond) {
|
||||
if((0 == Rt->encoding_nocheck() % 2 &&
|
||||
(Rt->encoding_nocheck() + 1 == Rt2->encoding_nocheck())) &&
|
||||
- (uabs(adr.offset()) < (1 << 8))) {
|
||||
+ (g_uabs(adr.offset()) < (1 << 8))) {
|
||||
/* Good to go with a ldrd */
|
||||
ldrd(Rt, adr, cond);
|
||||
return 0x0;
|
||||
@@ -2955,7 +2955,7 @@
|
||||
int MacroAssembler::strd(Register Rt, Register Rt2, const Address& adr, Condition cond) {
|
||||
if((0 == Rt->encoding_nocheck() % 2 &&
|
||||
(Rt->encoding_nocheck() + 1 == Rt2->encoding_nocheck())) &&
|
||||
- (uabs(adr.offset()) < (1 << 8))) {
|
||||
+ (g_uabs(adr.offset()) < (1 << 8))) {
|
||||
/* Good to go with a strd */
|
||||
strd(Rt, adr, cond);
|
||||
} else {
|
||||
--- openjdk/hotspot/src/cpu/aarch32/vm/stubGenerator_aarch32.cpp 2025-08-25 12:58:03.752817598 +0200
|
||||
+++ openjdk/hotspot/src/cpu/aarch32/vm/stubGenerator_aarch32.cpp 2025-08-25 12:59:28.974868583 +0200
|
||||
@@ -654,7 +654,7 @@
|
||||
// bytes, so a caller doesn't have to mask them.
|
||||
|
||||
void copy_memory_small(Register s, Register d, Register count, Register tmp, bool is_aligned, int step) {
|
||||
- const int granularity = uabs(step);
|
||||
+ const int granularity = g_uabs(step);
|
||||
const bool gen_always = !is_aligned || (-4 < step && step < 0);
|
||||
Label halfword, done;
|
||||
|
||||
@@ -716,7 +716,7 @@
|
||||
void copy_memory(bool is_aligned, Register s, Register d,
|
||||
Register count, Register tmp, int step) {
|
||||
const int small_copy_size = 32; // 1 copy by ldm pays off alignment efforts and push/pop of temp set
|
||||
- const int granularity = uabs(step);
|
||||
+ const int granularity = g_uabs(step);
|
||||
const Register tmp2 = rscratch2;
|
||||
const Register t0 = r3;
|
||||
Label small;
|
104
jdk-8354941.patch
Normal file
104
jdk-8354941.patch
Normal file
@@ -0,0 +1,104 @@
|
||||
--- openjdk/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp
|
||||
+++ openjdk/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp
|
||||
@@ -1445,7 +1445,7 @@ void Assembler::add_sub_immediate(Register Rd, Register Rn, unsigned uimm, int o
|
||||
|
||||
bool Assembler::operand_valid_for_add_sub_immediate(long imm) {
|
||||
bool shift = false;
|
||||
- unsigned long uimm = uabs(imm);
|
||||
+ unsigned long uimm = g_uabs(imm);
|
||||
if (uimm < (1 << 12))
|
||||
return true;
|
||||
if (uimm < (1 << 24)
|
||||
--- openjdk/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp
|
||||
+++ openjdk/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp
|
||||
@@ -825,7 +825,7 @@ public:
|
||||
static const unsigned long branch_range = NOT_DEBUG(128 * M) DEBUG_ONLY(2 * M);
|
||||
|
||||
static bool reachable_from_branch_at(address branch, address target) {
|
||||
- return uabs(target - branch) < branch_range;
|
||||
+ return g_uabs(target - branch) < branch_range;
|
||||
}
|
||||
|
||||
// Unconditional branch (immediate)
|
||||
--- openjdk/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp
|
||||
+++ openjdk/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp
|
||||
@@ -2023,7 +2023,7 @@ void MacroAssembler::wrap_add_sub_imm_insn(Register Rd, Register Rn, unsigned im
|
||||
if (operand_valid_for_add_sub_immediate((int)imm)) {
|
||||
(this->*insn1)(Rd, Rn, imm);
|
||||
} else {
|
||||
- if (uabs(imm) < (1 << 24)) {
|
||||
+ if (g_uabs(imm) < (1 << 24)) {
|
||||
(this->*insn1)(Rd, Rn, imm & -(1 << 12));
|
||||
(this->*insn1)(Rd, Rd, imm & ((1 << 12)-1));
|
||||
} else {
|
||||
--- openjdk/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp
|
||||
+++ openjdk/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp
|
||||
@@ -1093,7 +1093,7 @@ class StubGenerator: public StubCodeGenerator {
|
||||
|
||||
void copy_memory_small(Register s, Register d, Register count, Register tmp, int step) {
|
||||
bool is_backwards = step < 0;
|
||||
- size_t granularity = uabs(step);
|
||||
+ size_t granularity = g_uabs(step);
|
||||
int direction = is_backwards ? -1 : 1;
|
||||
int unit = wordSize * direction;
|
||||
|
||||
@@ -1149,7 +1149,7 @@ class StubGenerator: public StubCodeGenerator {
|
||||
Register count, Register tmp, int step) {
|
||||
copy_direction direction = step < 0 ? copy_backwards : copy_forwards;
|
||||
bool is_backwards = step < 0;
|
||||
- int granularity = uabs(step);
|
||||
+ int granularity = g_uabs(step);
|
||||
const Register t0 = r3, t1 = r4;
|
||||
|
||||
// <= 96 bytes do inline. Direction doesn't matter because we always
|
||||
--- openjdk/hotspot/src/share/vm/opto/mulnode.cpp
|
||||
+++ openjdk/hotspot/src/share/vm/opto/mulnode.cpp
|
||||
@@ -189,7 +189,7 @@ Node *MulINode::Ideal(PhaseGVN *phase, bool can_reshape) {
|
||||
// Check for negative constant; if so negate the final result
|
||||
bool sign_flip = false;
|
||||
|
||||
- unsigned int abs_con = uabs(con);
|
||||
+ unsigned int abs_con = g_uabs(con);
|
||||
if (abs_con != (unsigned int)con) {
|
||||
sign_flip = true;
|
||||
}
|
||||
@@ -285,7 +285,7 @@ Node *MulLNode::Ideal(PhaseGVN *phase, bool can_reshape) {
|
||||
|
||||
// Check for negative constant; if so negate the final result
|
||||
bool sign_flip = false;
|
||||
- julong abs_con = uabs(con);
|
||||
+ julong abs_con = g_uabs(con);
|
||||
if (abs_con != (julong)con) {
|
||||
sign_flip = true;
|
||||
}
|
||||
--- openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp
|
||||
+++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp
|
||||
@@ -1254,7 +1254,7 @@ inline bool is_even(intx x) { return !is_odd(x); }
|
||||
|
||||
// abs methods which cannot overflow and so are well-defined across
|
||||
// the entire domain of integer types.
|
||||
-static inline unsigned int uabs(unsigned int n) {
|
||||
+static inline unsigned int g_uabs(unsigned int n) {
|
||||
union {
|
||||
unsigned int result;
|
||||
int value;
|
||||
@@ -1263,7 +1263,7 @@ static inline unsigned int uabs(unsigned int n) {
|
||||
if (value < 0) result = 0-result;
|
||||
return result;
|
||||
}
|
||||
-static inline julong uabs(julong n) {
|
||||
+static inline julong g_uabs(julong n) {
|
||||
union {
|
||||
julong result;
|
||||
jlong value;
|
||||
@@ -1272,8 +1272,8 @@ static inline julong uabs(julong n) {
|
||||
if (value < 0) result = 0-result;
|
||||
return result;
|
||||
}
|
||||
-static inline julong uabs(jlong n) { return uabs((julong)n); }
|
||||
-static inline unsigned int uabs(int n) { return uabs((unsigned int)n); }
|
||||
+static inline julong g_uabs(jlong n) { return g_uabs((julong)n); }
|
||||
+static inline unsigned int g_uabs(int n) { return g_uabs((unsigned int)n); }
|
||||
|
||||
// "to" should be greater than "from."
|
||||
inline intx byte_size(void* from, void* to) {
|
BIN
openjdk-git.tar.xz
(Stored with Git LFS)
BIN
openjdk-git.tar.xz
(Stored with Git LFS)
Binary file not shown.
15
reproducible-directory-mtime.patch
Normal file
15
reproducible-directory-mtime.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- openjdk/jdk/src/share/classes/java/io/File.java 2024-10-07 14:14:13.587124931 +0200
|
||||
+++ openjdk/jdk/src/share/classes/java/io/File.java 2024-10-07 14:15:27.187669663 +0200
|
||||
@@ -1352,7 +1352,11 @@
|
||||
if (isInvalid()) {
|
||||
return false;
|
||||
}
|
||||
- return fs.createDirectory(this);
|
||||
+ boolean result = fs.createDirectory(this);
|
||||
+ if ( result && System.getenv("SOURCE_DATE_EPOCH") != null ) {
|
||||
+ fs.setLastModifiedTime(this, 1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")));
|
||||
+ }
|
||||
+ return result;
|
||||
}
|
||||
|
||||
/**
|
11
reproducible-javadoc-timestamp.patch
Normal file
11
reproducible-javadoc-timestamp.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- openjdk/langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java 2024-10-07 14:14:13.353789871 +0200
|
||||
+++ openjdk/langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java 2024-10-07 14:27:56.233184616 +0200
|
||||
@@ -328,7 +328,7 @@
|
||||
|
||||
protected Comment getGeneratedBy(boolean timestamp) {
|
||||
String text = "Generated by javadoc"; // marker string, deliberately not localized
|
||||
- if (timestamp) {
|
||||
+ if (timestamp && System.getenv("SOURCE_DATE_EPOCH") == null) {
|
||||
Calendar calendar = new GregorianCalendar(TimeZone.getDefault());
|
||||
Date today = calendar.getTime();
|
||||
text += " ("+ configuration.getDocletSpecificBuildDate() + ") on " + today;
|
16
reproducible-properties.patch
Normal file
16
reproducible-properties.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
--- openjdk/jdk/src/share/classes/java/util/Properties.java 2024-10-07 14:14:13.617125153 +0200
|
||||
+++ openjdk/jdk/src/share/classes/java/util/Properties.java 2024-10-07 14:35:53.223317114 +0200
|
||||
@@ -826,7 +826,12 @@
|
||||
if (comments != null) {
|
||||
writeComments(bw, comments);
|
||||
}
|
||||
- bw.write("#" + new Date().toString());
|
||||
+ Date now = new Date();
|
||||
+ String sde = System.getenv("SOURCE_DATE_EPOCH");
|
||||
+ if (sde != null) {
|
||||
+ now = new Date(1000 * Long.parseLong(sde));
|
||||
+ }
|
||||
+ bw.write("#" + now.toString());
|
||||
bw.newLine();
|
||||
synchronized (this) {
|
||||
for (Enumeration<?> e = keys(); e.hasMoreElements();) {
|
BIN
shenandoah-git.tar.xz
(Stored with Git LFS)
BIN
shenandoah-git.tar.xz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user