Compare commits
2 Commits
f325717ac7
...
main
Author | SHA256 | Date | |
---|---|---|---|
e48f06ce53 | |||
8eee8ada98 |
BIN
aarch32-git.tar.xz
(Stored with Git LFS)
BIN
aarch32-git.tar.xz
(Stored with Git LFS)
Binary file not shown.
87
fix-build-with-gcc14.patch
Normal file
87
fix-build-with-gcc14.patch
Normal file
@@ -0,0 +1,87 @@
|
||||
--- openjdk/jdk/src/share/bin/splashscreen_stubs.c
|
||||
+++ openjdk/jdk/src/share/bin/splashscreen_stubs.c
|
||||
@@ -61,11 +61,11 @@ typedef char* (*SplashGetScaledImageName_t)(const char* fileName,
|
||||
#define INVOKEV(name) _INVOKE(name, ,;)
|
||||
|
||||
int DoSplashLoadMemory(void* pdata, int size) {
|
||||
- INVOKE(SplashLoadMemory, NULL)(pdata, size);
|
||||
+ INVOKE(SplashLoadMemory, 0)(pdata, size);
|
||||
}
|
||||
|
||||
int DoSplashLoadFile(const char* filename) {
|
||||
- INVOKE(SplashLoadFile, NULL)(filename);
|
||||
+ INVOKE(SplashLoadFile, 0)(filename);
|
||||
}
|
||||
|
||||
void DoSplashInit(void) {
|
||||
@@ -87,4 +87,4 @@ void DoSplashSetScaleFactor(float scaleFactor) {
|
||||
char* DoSplashGetScaledImageName(const char* fileName, const char* jarName,
|
||||
float* scaleFactor) {
|
||||
INVOKE(SplashGetScaledImageName, NULL)(fileName, jarName, scaleFactor);
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
--- openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c
|
||||
+++ openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c
|
||||
@@ -2850,14 +2850,14 @@ Java_com_sun_imageio_plugins_jpeg_JPEGImageWriter_writeImage
|
||||
pb = &data->pixelBuf;
|
||||
|
||||
if (setPixelBuffer(env, pb, buffer) == NOT_OK) {
|
||||
- freeArray(scale, numBands);
|
||||
+ freeArray((void**)scale, numBands);
|
||||
return data->abortFlag; // We already threw an out of memory exception
|
||||
}
|
||||
|
||||
// Allocate a 1-scanline buffer
|
||||
scanLinePtr = (JSAMPROW)malloc(scanLineSize);
|
||||
if (scanLinePtr == NULL) {
|
||||
- freeArray(scale, numBands);
|
||||
+ freeArray((void**)scale, numBands);
|
||||
JNU_ThrowByName( env,
|
||||
"java/lang/OutOfMemoryError",
|
||||
"Writing JPEG Stream");
|
||||
@@ -2879,7 +2879,7 @@ Java_com_sun_imageio_plugins_jpeg_JPEGImageWriter_writeImage
|
||||
JNU_ThrowByName(env, "javax/imageio/IIOException", buffer);
|
||||
}
|
||||
|
||||
- freeArray(scale, numBands);
|
||||
+ freeArray((void**)scale, numBands);
|
||||
free(scanLinePtr);
|
||||
return data->abortFlag;
|
||||
}
|
||||
@@ -2928,7 +2928,7 @@ Java_com_sun_imageio_plugins_jpeg_JPEGImageWriter_writeImage
|
||||
(*env)->ReleaseIntArrayElements(env, QtableSelectors, qsels, JNI_ABORT);
|
||||
}
|
||||
if (!success) {
|
||||
- freeArray(scale, numBands);
|
||||
+ freeArray((void**)scale, numBands);
|
||||
free(scanLinePtr);
|
||||
return data->abortFlag;
|
||||
}
|
||||
@@ -2949,7 +2949,7 @@ Java_com_sun_imageio_plugins_jpeg_JPEGImageWriter_writeImage
|
||||
if (GET_ARRAYS(env, data,
|
||||
(const JOCTET **)(&dest->next_output_byte)) == NOT_OK) {
|
||||
(*env)->ExceptionClear(env);
|
||||
- freeArray(scale, numBands);
|
||||
+ freeArray((void**)scale, numBands);
|
||||
free(scanLinePtr);
|
||||
JNU_ThrowByName(env,
|
||||
"javax/imageio/IIOException",
|
||||
@@ -2987,7 +2987,7 @@ Java_com_sun_imageio_plugins_jpeg_JPEGImageWriter_writeImage
|
||||
scanData = (*env)->GetIntArrayElements(env, scanInfo, NULL);
|
||||
if (scanData == NULL) {
|
||||
RELEASE_ARRAYS(env, data, (const JOCTET *)(dest->next_output_byte));
|
||||
- freeArray(scale, numBands);
|
||||
+ freeArray((void**)scale, numBands);
|
||||
free(scanLinePtr);
|
||||
return data->abortFlag;
|
||||
}
|
||||
@@ -3086,7 +3086,7 @@ Java_com_sun_imageio_plugins_jpeg_JPEGImageWriter_writeImage
|
||||
jpeg_abort((j_common_ptr)cinfo);
|
||||
}
|
||||
|
||||
- freeArray(scale, numBands);
|
||||
+ freeArray((void**)scale, numBands);
|
||||
free(scanLinePtr);
|
||||
RELEASE_ARRAYS(env, data, NULL);
|
||||
return data->abortFlag;
|
BIN
icedtea-3.31.0.tar.xz
(Stored with Git LFS)
BIN
icedtea-3.31.0.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
icedtea-3.34.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
icedtea-3.34.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,281 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to version jdk8u422 (icedtea-3.32.0)
|
||||
* 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-8322106, CVE-2024-21144, bsc#1228050: Enhance Pack 200
|
||||
loading
|
||||
+ 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
|
||||
* Import of OpenJDK 8 u422 build 05
|
||||
+ 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-8198321: javax/swing/JEditorPane/5076514/bug5076514.java
|
||||
fails
|
||||
+ JDK-8203691: [TESTBUG] Test
|
||||
/runtime/containers/cgroup/PlainRead.java fails
|
||||
+ JDK-8205407: [windows, vs<2017] C4800 after 8203197
|
||||
+ JDK-8235834: IBM-943 charset encoder needs updating
|
||||
+ JDK-8239965: XMLEncoder/Test4625418.java fails due to "Error:
|
||||
Cp943 - can't read properly"
|
||||
+ 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-8262017: C2: assert(n != __null) failed: Bad immediate
|
||||
dominator info.
|
||||
+ 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-8293562: KeepAliveCache Blocks Threads while Closing
|
||||
Connections
|
||||
+ JDK-8303466: C2: failed: malformed control flow. Limit type
|
||||
made precise with MaxL/MinL
|
||||
+ 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-8315020: The macro definition for LoongArch64 zero build
|
||||
is not accurate.
|
||||
+ JDK-8316138: Add GlobalSign 2 TLS root certificates
|
||||
+ 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-8328825: Google CAInterop test failures
|
||||
+ JDK-8329544: [8u] sun/security/krb5/auto/
|
||||
/ReplayCacheTestProc.java cannot find the testlibrary
|
||||
+ JDK-8331791: [8u] AIX build break from JDK-8320005 backport
|
||||
+ JDK-8331980: [8u] Problem list CAInterop.java#certignarootca
|
||||
test
|
||||
+ JDK-8335552: [8u] JDK-8303466 backport to 8u requires 3
|
||||
::Identity signature fixes
|
||||
* Bug fixes
|
||||
+ JDK-8331730: [8u] GHA: update sysroot for cross builds to
|
||||
Debian bullseye
|
||||
+ JDK-8333669: [8u] GHA: Dead VS2010 download link
|
||||
+ JDK-8318039: GHA: Bump macOS and Xcode versions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 13:31:41 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Fix condition enabling shenandoah GC only for Factory. It was by
|
||||
mistake enabled for SLE too (bsc#1226274)
|
||||
- Disable shenandoah for all distributions, since the shenandoah
|
||||
hotspot tarball is rather out of sync.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 17:41:21 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* fix-build-with-gcc14.patch
|
||||
+ fix build with gcc14
|
||||
+ pointer/integer type precision
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 20 20:17:41 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
@@ -85,7 +363,6 @@ Sat Apr 20 20:17:41 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
* Bug fixes
|
||||
+ Support make 4.4
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 12:58:44 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package java-1_8_0-openjdk
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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.31.0
|
||||
%global icedtea_version 3.34.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 412
|
||||
%global buildver 08
|
||||
%global updatever 442
|
||||
%global buildver 06
|
||||
# Standard JPackage directories and symbolic links.
|
||||
%global sdklnk java-%{javaver}-openjdk
|
||||
%global archname %{sdklnk}
|
||||
@@ -128,11 +128,11 @@
|
||||
%if 0%{?__isa_bits}
|
||||
%global bits %{__isa_bits}
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1500 && !0%{?sle_version}
|
||||
%global with_shenandoah 1
|
||||
%else
|
||||
#if 0%{?suse_version} > 1500 && !0%{?sle_version}
|
||||
#global with_shenandoah 1
|
||||
#else
|
||||
%global with_shenandoah 0
|
||||
%endif
|
||||
#endif
|
||||
%global NSS_LIBDIR %(pkg-config --variable=libdir nss)
|
||||
%bcond_without bootstrap
|
||||
%bcond_with zero
|
||||
@@ -180,6 +180,8 @@ Patch2: 1015432.patch
|
||||
Patch3: java-atk-wrapper-security.patch
|
||||
# Fix use of unintialized memory in adlc parser
|
||||
Patch12: adlc-parser.patch
|
||||
# Fix different integer/pointer type mismatches that are fatal with gcc14
|
||||
Patch13: fix-build-with-gcc14.patch
|
||||
# Avoid triggering inactivity timeout while generating javadoc in zero VM
|
||||
Patch14: zero-javadoc-verbose.patch
|
||||
# Fix detection of jobserver support
|
||||
@@ -187,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
|
||||
@@ -500,7 +508,7 @@ sh autogen.sh
|
||||
%ifarch %{arm}
|
||||
--with-hotspot-src-zip=%{SOURCE2} \
|
||||
%else
|
||||
%if %{without zero} && %{with shenandoah}
|
||||
%if %{without zero} && %{with_shenandoah}
|
||||
--with-hotspot-src-zip=%{SOURCE3} \
|
||||
--with-hotspot-build=shenandoah \
|
||||
%endif
|
||||
@@ -513,6 +521,7 @@ patch -p0 -i %{PATCH1}
|
||||
patch -p0 -i %{PATCH2}
|
||||
patch -p0 -i %{PATCH3}
|
||||
patch -p0 -i %{PATCH12}
|
||||
patch -p0 -i %{PATCH13}
|
||||
|
||||
%if %{with zero}
|
||||
patch -p0 -i %{PATCH14}
|
||||
@@ -520,6 +529,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}
|
||||
|
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