Sync from SUSE:ALP:Source:Standard:1.0 java-11-openjdk revision 509682d53f1f308572bc839ccd6f5b96

This commit is contained in:
Adrian Schröter 2024-09-25 15:52:10 +02:00
parent ab3476ea60
commit 43428949d3
7 changed files with 840 additions and 152 deletions

View File

@ -1,111 +0,0 @@
--- a/src/java.base/share/classes/java/time/zone/TzdbZoneRulesProvider.java Thu Jun 28 17:49:13 2018 -0700
+++ b/src/java.base/share/classes/java/time/zone/TzdbZoneRulesProvider.java Fri Jun 29 08:23:40 2018 +0200
@@ -74,6 +74,7 @@
import java.util.List;
import java.util.Map;
import java.util.NavigableMap;
+import java.util.Properties;
import java.util.Set;
import java.util.TreeMap;
import java.util.concurrent.ConcurrentHashMap;
@@ -106,7 +107,14 @@
*/
public TzdbZoneRulesProvider() {
try {
- String libDir = StaticProperty.javaHome() + File.separator + "lib";
+ final String homeDir = StaticProperty.javaHome();
+ if (homeDir == null) {
+ throw new Error("java.home is not set");
+ }
+ String libDir = homeDir + File.separator + "lib";
+ String otherDir = getZoneInfoDir(homeDir);
+ if (otherDir != null)
+ libDir = otherDir;
try (DataInputStream dis = new DataInputStream(
new BufferedInputStream(new FileInputStream(
new File(libDir, "tzdb.dat"))))) {
@@ -117,6 +125,28 @@
}
}
+ private static String getZoneInfoDir(final String homeDir) {
+ try {
+ File f = new File(homeDir + File.separator + "conf" +
+ File.separator + "tz.properties");
+ if (!f.exists())
+ return null;
+ BufferedInputStream bin = new BufferedInputStream(new FileInputStream(f));
+ Properties props = new Properties();
+ props.load(bin);
+ bin.close();
+ String dir = props.getProperty("sun.zoneinfo.dir");
+ if (dir == null)
+ return null;
+ File tzdbdat = new File(dir, "tzdb.dat");
+ if (tzdbdat.exists())
+ return dir;
+ return null;
+ } catch (Exception x) {
+ return null;
+ }
+ }
+
@Override
protected Set<String> provideZoneIds() {
return new HashSet<>(regionIds);
--- a/src/java.base/share/classes/sun/util/calendar/ZoneInfoFile.java Thu Jun 28 17:49:13 2018 -0700
+++ b/src/java.base/share/classes/sun/util/calendar/ZoneInfoFile.java Fri Jun 29 08:23:40 2018 +0200
@@ -45,6 +45,7 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Properties;
import java.util.SimpleTimeZone;
import java.util.concurrent.ConcurrentHashMap;
import java.util.zip.CRC32;
@@ -251,7 +252,15 @@
AccessController.doPrivileged(new PrivilegedAction<Void>() {
public Void run() {
try {
- String libDir = StaticProperty.javaHome() + File.separator + "lib";
+ final String homeDir = StaticProperty.javaHome();
+ if (homeDir == null) {
+ throw new Error("java.home is not set");
+ }
+ String libDir = homeDir + File.separator + "lib";
+ String otherDir = getZoneInfoDir(homeDir);
+ if (otherDir != null)
+ libDir = otherDir;
+
try (DataInputStream dis = new DataInputStream(
new BufferedInputStream(new FileInputStream(
new File(libDir, "tzdb.dat"))))) {
@@ -265,6 +274,28 @@
});
}
+ private static String getZoneInfoDir(final String homeDir) {
+ try {
+ File f = new File(homeDir + File.separator + "conf" +
+ File.separator + "tz.properties");
+ if (!f.exists())
+ return null;
+ BufferedInputStream bin = new BufferedInputStream(new FileInputStream(f));
+ Properties props = new Properties();
+ props.load(bin);
+ bin.close();
+ String dir = props.getProperty("sun.zoneinfo.dir");
+ if (dir == null)
+ return null;
+ File tzdbdat = new File(dir, "tzdb.dat");
+ if (tzdbdat.exists())
+ return dir;
+ return null;
+ } catch (Exception x) {
+ return null;
+ }
+ }
+
private static void addOldMapping() {
for (String[] alias : oldMappings) {
aliases.put(alias[0], alias[1]);

View File

@ -1,3 +1,793 @@
-------------------------------------------------------------------
Thu Jul 18 06:07:42 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream tag jdk-11.0.24+8 (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-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
+ JDK-8327413: Enhance compilation efficiency
* Other changes:
+ JDK-8015739: Background of JInternalFrame is located out of
JInternalFrame
+ JDK-8042380: Test javax/swing/JFileChooser/4524490/
/bug4524490.java fails with InvocationTargetException
+ JDK-8061729: Update java/net tests to eliminate dependency on
sun.net.www.MessageHeader and some other internal APIs
+ JDK-8158048: Fix failure message from jtreg gtest wrapper
+ JDK-8159927: Add a test to verify JMOD files created in the
images do not have debug symbols
+ JDK-8163921: HttpURLConnection default Accept header is
malformed according to HTTP/1.1 RFC
+ JDK-8187759: Background not refreshed when painting over a
transparent JFrame
+ JDK-8210988: Improved handling of compiler warnings in the
build
+ JDK-8214400: Update hotspot application/jcstress jtreg tests
wrappers to use jcstress 0.5
+ JDK-8218917: KeyEvent.getModifiers() returns inconsistent
values for ALT keys
+ JDK-8220202: Simplify/standardize method naming for HtmlTree
+ JDK-8231351: Add notes for PKCS11 tests in the test doc
+ JDK-8241951: SA core file tests failed to find core file for
signed binaries on OSX 10.15
+ JDK-8243010: Test support: Customizable Hex Printer
+ JDK-8248194: Need better support for running SA tests on core
files
+ JDK-8248667: Need support for building native libraries
located in the test/lib directory
+ JDK-8253980: javax/swing/plaf/synth/7158712/bug7158712.java
fails on windows
+ JDK-8255031: Update java/util/prefs/AddNodeChangeListener.java
to report more failure info
+ JDK-8256660: Disable DTLS 1.0
+ JDK-8261404: Class.getReflectionFactory() is not thread-safe
+ JDK-8263659: Reflow GTestResultParser for better readability
+ JDK-8263940: NPE when creating default file system when
default file system provider is packaged as JAR file on class
path
+ JDK-8264152: javax/net/ssl/DTLS/RespondToRetransmit.java
timed out
+ JDK-8267796: vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/
/hs201t002/TestDescription.java fails with NoClassDefFoundError
+ JDK-8267938: (sctp) SCTP channel factory methods should check
platform support
+ JDK-8268974: GetJREPath() JLI function fails to locate
libjava.so if not standard Java launcher is used
+ JDK-8269258: java/net/httpclient/ManyRequestsLegacy.java
failed with connection timeout
+ JDK-8270199: Most SA tests are skipped on macosx-aarch64
because all executables are signed
+ JDK-8271142: package help is not displayed for missing
X11/extensions/Xrandr.h
+ JDK-8273153: Consolidate file_exists into os:file_exists
+ JDK-8273831: PrintServiceLookup spawns 2 threads in the
current classloader, getting orphaned
+ JDK-8276125: RunThese24H.java SIGSEGV in
JfrThreadGroup::thread_group_id
+ JDK-8280546: Remove hard-coded 127.0.0.1 loopback address
+ JDK-8281507: Two javac tests have bad jtreg `@clean` tags
+ JDK-8282017: sun/net/www/protocol/https/HttpsURLConnection/
/B6216082.java fails with "SocketException: Unexpected end of
file from server"
+ JDK-8283349: Robustness improvements to
java/util/prefs/AddNodeChangeListener.jar
+ JDK-8286705: GCC 12 reports use-after-free potential bugs
+ JDK-8290203: ProblemList vmTestbase/nsk/jvmti/scenarios/
/capability/CM03/cm03t001/TestDescription.java on linux-all
+ JDK-8292716: Configure should check that jtreg is of the
required version
+ JDK-8292717: Clean up checking of testing requirements in
configure
+ JDK-8292763: JDK-8292716 breaks configure without jtreg
+ JDK-8293563: [macos-aarch64] SA core file tests failing with
sun.jvm.hotspot.oops.UnknownOopException
+ JDK-8293887: AArch64 build failure with GCC 12 due to
maybe-uninitialized warning in libfdlibm k_rem_pio2.c
+ JDK-8293965: Code signing warnings after JDK-8293550
+ JDK-8294137: Review running times of java.math tests
+ JDK-8294156: Allow PassFailJFrame.Builder to create test UI
+ JDK-8295343: sun/security/pkcs11 tests fail on Linux RHEL 8.6
and newer
+ JDK-8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java
from problem list
+ JDK-8297449: Update JInternalFrame Metal Border code
+ JDK-8297798: Timeout with DTLSOverDatagram test template
+ JDK-8299023: TestPLABResize.java and TestPLABPromotion.java
are failing intermittently
+ JDK-8299677: Formatter.format might take a long time to
format an integer or floating-point
+ JDK-8299858: [Metrics] Swap memory limit reported incorrectly
when too large
+ JDK-8302069: javax/management/remote/mandatory/notif/
/NotifReconnectDeadlockTest.java update
+ JDK-8302512: Update IANA Language Subtag Registry to Version
2023-02-14
+ JDK-8303466: C2: failed: malformed control flow. Limit type
made precise with MaxL/MinL
+ JDK-8304761: Update IANA Language Subtag Registry to Version
2023-03-22
+ JDK-8305645: System Tray icons get corrupted when Windows
primary monitor changes
+ JDK-8305874: Open source AWT Key, Text Event related tests
+ JDK-8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java
failed with "Expected chains but found none"
+ JDK-8305942: Open source several AWT Focus related tests
+ JDK-8305943: Open source few AWT Focus related tests
+ JDK-8305962: update jcstress to 0.16
+ JDK-8306031: Update IANA Language Subtag Registry to Version
2023-04-13
+ JDK-8306067: Open source AWT Graphics,GridBagLayout related
tests
+ JDK-8306634: Open source AWT Event related tests
+ JDK-8306714: Open source few Swing event and AbstractAction
tests
+ JDK-8306838: GetGraphicsTest needs to be headful
+ JDK-8306941: Open source several datatransfer and dnd AWT
tests
+ JDK-8307083: Open source some drag and drop tests 3
+ JDK-8307955: Prefer to PTRACE_GETREGSET instead of
PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'
+ JDK-8308021: Update IANA Language Subtag Registry to Version
2023-05-11
+ JDK-8310380: Handle problems in core-related tests on macOS
when codesign tool does not work
+ JDK-8310818: Refactor more Locale tests to use JUnit
+ JDK-8310923: Refactor Currency tests to use JUnit
+ JDK-8312194: test/hotspot/jtreg/applications/ctw/modules/
/jdk_crypto_ec.java cannot handle empty modules
+ JDK-8312383: Log X509ExtendedKeyManager implementation class
name in TLS/SSL connection
+ JDK-8313206: PKCS11 tests silently skip execution
+ JDK-8313702: Update IANA Language Subtag Registry to Version
2023-08-02
+ JDK-8314220: Configurable InlineCacheBuffer size
+ JDK-8314283: Support for NSS tests on aarch64 platforms
+ JDK-8314495: Update to use jtreg 7.3.1
+ JDK-8314552: Fix javadoc tests to work with jtreg 7
+ JDK-8314830: runtime/ErrorHandling/ tests ignore external VM
flags
+ 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-8315609: Open source few more swing text/html tests
+ JDK-8315663: Open source misc awt tests
+ JDK-8315677: Open source few swing JFileChooser and other
tests
+ JDK-8315726: Open source several AWT applet 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-8316017: Refactor timeout handler in PassFailJFrame
+ JDK-8316053: Open some swing tests 3
+ JDK-8316138: Add GlobalSign 2 TLS root certificates
+ JDK-8316142: Enable parallelism in
vmTestbase/nsk/monitoring/stress/lowmem tests
+ JDK-8316154: Opensource JTextArea manual tests
+ JDK-8316164: Opensource JMenuBar manual test
+ JDK-8316242: Opensource SwingGraphics manual test
+ JDK-8316608: Enable parallelism in vmTestbase/gc/vector tests
+ JDK-8317287: [macos14] InterJVMGetDropSuccessTest.java: Child
VM: abnormal termination
+ JDK-8317507: C2 compilation fails with "Exceeded _node_regs
array"
+ JDK-8318322: Update IANA Language Subtag Registry to Version
2023-10-16
+ JDK-8318580: "javax/swing/MultiMonitor/MultimonVImage.java
failing with Error. Can't find library:
/open/test/jdk/java/awt/regtesthelpers" after JDK-8316053
+ JDK-8318599: HttpURLConnection cache issues leading to
crashes in JGSS w/ native GSS introduced by 8303809
+ JDK-8318727: Enable parallelism in
vmTestbase/vm/gc/concurrent tests
+ JDK-8318809: java/util/concurrent/ConcurrentLinkedQueue/
/WhiteBox.java shows intermittent failures on linux ppc64le
and aarch64
+ JDK-8318854: [macos14] Running any AWT app prints Secure
coding warning
+ JDK-8319128: sun/security/pkcs11 tests fail on OL 7.9 aarch64
+ JDK-8319136: Skip pkcs11 tests on linux-aarch64
+ JDK-8319436: Proxy.newProxyInstance throws NPE if loader is
null and interface not visible from class loader
+ JDK-8320005: Allow loading of shared objects with .a
extension on AIX
+ 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-8320303: Allow PassFailJFrame to accept single window
creator
+ JDK-8320342: Use PassFailJFrame for
TruncatedPopupMenuTest.java
+ JDK-8320943: Files/probeContentType/Basic.java fails on
latest Windows 11 - content type mismatch
+ JDK-8321489: Update LCMS to 2.16
+ JDK-8321925: sun/security/mscapi/KeytoolChangeAlias.java
fails with "Alias <246810> does not exist"
+ JDK-8322239: [macos] a11y : java.lang.NullPointerException is
thrown when focus is moved on the JTabbedPane
+ JDK-8322511: [11u] JfrCheckpointThreadClosure::do_thread
crashes when fetching thread_id
+ JDK-8322783: prioritize /etc/os-release over
/etc/SuSE-release in hs_err/info output
+ JDK-8323717: Introduce test keyword for tests that need
external dependencies
+ JDK-8323994: gtest runner repeats test name for every single
gtest assertion
+ JDK-8324238: [macOS] java/awt/Frame/ShapeNotSetSometimes/
/ShapeNotSetSometimes.java fails with the shape has not been
applied msg
+ JDK-8324598: use mem_unit when working with sysinfo memory
and swap related information
+ JDK-8324632: Update Zlib Data Compression Library to Version
1.3.1
+ JDK-8324723: GHA: Upgrade some actions to avoid deprecated
Node 16
+ JDK-8324733: [macos14] Problem list tests which fail due to
macOS bug described in JDK-8322653
+ JDK-8325137: com/sun/management/ThreadMXBean/
/ThreadCpuTimeArray.java can fail in Xcomp with out of
expected range
+ JDK-8325326: [PPC64] Don't relocate in case of allocation
failure
+ JDK-8325579: Inconsistent behavior in
com.sun.jndi.ldap.Connection::createSocket
+ JDK-8325972: Add -x to bash for building with LOG=debug
+ JDK-8326006: Allow TEST_VM_FLAGLESS to set flagless mode
+ JDK-8326101: [PPC64] Need to bailout cleanly if creation of
stubs fails when code cache is out of space
+ JDK-8326201: [S390] Need to bailout cleanly if creation of
stubs fails when code cache is out of space
+ 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-8326591: New test JmodExcludedFiles.java fails on Windows
when --with-external-symbols-in-bundles=public is used
+ JDK-8326638: Crash in
PhaseIdealLoop::remix_address_expressions due to unexpected
Region instead of Loop
+ JDK-8326643: JDK server does not send a dummy
change_cipher_spec record after HelloRetryRequest message
+ JDK-8326661: sun/java2d/cmm/ColorConvertOp/ColConvTest.java
assumes profiles were generated by LCMS
+ JDK-8326801: Bump update version for OpenJDK: jdk-11.0.24
+ JDK-8326891: Prefer RPATH over RUNPATH for $ORIGIN rpaths in
internal JDK binaries
+ JDK-8326938: [11u] JDK-8214908 broke two CTW tests
+ JDK-8327136: javax/management/remote/mandatory/notif/
/NotifReconnectDeadlockTest.java fails on libgraal
+ JDK-8328194: Add a test to check default rendering engine
+ JDK-8328524: [x86] StringRepeat.java failure on linux-x86:
Could not reserve enough space for 2097152KB object heap
+ JDK-8328540: test javax/swing/JSplitPane/4885629/
/bug4885629.java fails on windows hidpi
+ JDK-8328705: GHA: Cross-compilation jobs do not require build
JDK
+ JDK-8328812: Update and move siphash license
+ JDK-8328825: Google CAInterop test failures
+ JDK-8331643: [11u]: Bump GHA bootstrap JDK to 11.0.23
+ JDK-8331750: [11u] JDK-8259530 is not backported correctly to
11u
+ JDK-8331790: [11u] Remove problemlist entries after backport
of JDK-8228649
+ JDK-8334441: Mark tests in jdk_security_infra group as manual
+ JDK-8335973: [11u] Remove designator
DEFAULT_PROMOTED_VERSION_PRE=ea for release 11.0.24
- Modified patch:
* reproducible-javadoc-timestamp.patch
+ rediff to changed context
-------------------------------------------------------------------
Thu Jul 4 09:16:38 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Require file for posttrans phase of the headless subpackage
(bsc#1227298)
-------------------------------------------------------------------
Thu Jun 6 17:10:37 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* reproducible-jlink.patch
+ make the timestamp in jmods reproducible
-------------------------------------------------------------------
Thu Apr 18 13:14:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream tag jdk-11.0.23+9 (April 2024 CPU)
* Security fixes
+ JDK-8315708, CVE-2024-21012, bsc#1222987: Enhance HTTP/2
client usage
+ JDK-8317507, JDK-8325348, CVE-2024-21094, bsc#1222986: C2
compilation fails with "Exceeded _node_regs array"
+ JDK-8318340: Improve RSA key implementations
+ JDK-8319851, CVE-2024-21011, bsc#1222979: Improve exception
logging
+ JDK-8322114, CVE-2024-21085, bsc#1222984: Improve Pack 200
handling
+ JDK-8322122, CVE-2024-21068, bsc#1222983: Enhance generation
of addresses
* Other changes
+ JDK-6928542: Chinese characters in RTF are not decoded
+ JDK-7132796: [macosx] closed/javax/swing/JComboBox/4517214/
/bug4517214.java fails on MacOS
+ JDK-7148092: [macosx] When Alt+down arrow key is pressed,
the combobox popup does not appear.
+ JDK-8054022: HttpURLConnection timeouts with Expect:
100-Continue and no chunking
+ JDK-8054572: [macosx] JComboBox paints the border incorrectly
+ JDK-8058176: [mlvm] tests should not allow code cache
exhaustion
+ JDK-8067651: LevelTransitionTest.java, fix trivial methods
levels logic
+ JDK-8068225: nsk/jdi/EventQueue/remove_l/remove_l005
intermittently times out
+ JDK-8156889: ListKeychainStore.sh fails in some virtualized
environments
+ JDK-8166275: vm/mlvm/meth/stress/compiler/deoptimize keeps
timeouting
+ JDK-8166554: Avoid compilation blocking in
OverloadCompileQueueTest.java
+ JDK-8169475: WheelModifier.java fails by timeout
+ JDK-8180266: Convert sun/security/provider/KeyStore/DKSTest.sh
to Java Jtreg Test
+ JDK-8186610: move ModuleUtils to top-level testlibrary
+ JDK-8192864: defmeth tests can hide failures
+ JDK-8193543: Regression automated test '/open/test/jdk/java/
/awt/TrayIcon/SystemTrayInstance/SystemTrayInstanceTest.java'
fails
+ JDK-8198668: MemoryPoolMBean/isUsageThresholdExceeded/
/isexceeded001/TestDescription.java still failing
+ JDK-8202282: [TESTBUG] appcds TestCommon
.makeCommandLineForAppCDS() can be removed
+ JDK-8202790: DnD test DisposeFrameOnDragTest.java does not
clean up
+ JDK-8202931: [macos] java/awt/Choice/ChoicePopupLocation/
/ChoicePopupLocation.java fails
+ JDK-8207211: [TESTBUG] Remove excessive output from
CDS/AppCDS tests
+ JDK-8207214: Broken links in JDK API serialized-form page
+ JDK-8207855: Make applications/jcstress invoke tests in
batches
+ JDK-8208243: vmTestbase/gc/lock/jni/jnilock002/
/TestDescription.java fails in jdk/hs nightly
+ JDK-8208278: [mlvm] [TESTBUG] vm.mlvm.mixed.stress.java
.findDeadlock.INDIFY_Test Deadlocked threads are not always
detected
+ JDK-8208623: [TESTBUG] runtime/LoadClass/LongBCP.java fails
in AUFS file system
+ JDK-8208699: remove unneeded imports from runtime tests
+ JDK-8208704: runtime/appcds/MultiReleaseJars.java timed out
often in hs-tier7 testing
+ JDK-8208705: [TESTBUG] The -Xlog:cds,cds+hashtables vm option
is not always required for appcds tests
+ JDK-8209549: remove VMPropsExt from TEST.ROOT
+ JDK-8209595: MonitorVmStartTerminate.java timed out
+ JDK-8209946: [TESTBUG] CDS tests should use "@run driver"
+ JDK-8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java
looks for libjsig in wrong location
+ JDK-8211978: Move testlibrary/jdk/testlibrary/
/SimpleSSLContext.java and testkeys to network testlibrary
+ JDK-8213622: Windows VS2013 build failure - "'snprintf':
identifier not found"
+ JDK-8213926: WB_EnqueueInitializerForCompilation requests
compilation for NULL
+ JDK-8213927: G1 ignores AlwaysPreTouch when
UseTransparentHugePages is enabled
+ JDK-8214908: add ctw tests for jdk.jfr and jdk.management.jfr
modules
+ JDK-8214915: CtwRunner misses export for jdk.internal.access
+ JDK-8216408: XMLStreamWriter setDefaultNamespace(null) throws
NullPointerException
+ JDK-8217475: Unexpected StackOverflowError in "process
reaper" thread
+ JDK-8218754: JDK-8068225 regression in JDIBreakpointTest
+ JDK-8219475: javap man page needs to be updated
+ JDK-8219585: [TESTBUG] sun/management/jmxremote/bootstrap/
/JMXInterfaceBindingTest.java passes trivially when it
shouldn't
+ JDK-8219612: [TESTBUG] compiler.codecache.stress.Helper
.TestCaseImpl can't be defined in different runtime package as
its nest host
+ JDK-8225471: Test utility jdk.test.lib.util.FileUtils
.areAllMountPointsAccessible needs to tolerate duplicates
+ JDK-8226706: (se) Reduce the number of outer loop iterations
on Windows in java/nio/channels/Selector/RacyDeregister.java
+ JDK-8226905: unproblem list applications/ctw/modules/* tests
on windows
+ JDK-8226910: make it possible to use jtreg's -match via
run-test framework
+ JDK-8227438: [TESTLIB] Determine if file exists by
Files.exists in function FileUtils.deleteFileIfExistsWithRetry
+ JDK-8231585: java/lang/management/ThreadMXBean/
/MaxDepthForThreadInfoTest.java fails with
java.lang.NullPointerException
+ JDK-8232839: JDI AfterThreadDeathTest.java failed due to
"FAILED: Did not get expected IllegalThreadStateException on a
StepRequest.enable()"
+ JDK-8233453: MLVM deoptimize stress test timed out
+ JDK-8234309: LFGarbageCollectedTest.java fails with parse
Exception
+ JDK-8237222: [macos] java/awt/Focus/UnaccessibleChoice/
/AccessibleChoiceTest.java fails
+ JDK-8237777: "Dumping core ..." is shown despite claiming
that "# No core dump will be written."
+ JDK-8237834: com/sun/jndi/ldap/LdapDnsProviderTest.java
failing with LDAP response read timeout
+ JDK-8238274: (sctp) JDK-7118373 is not fixed for SctpChannel
+ JDK-8239801: [macos] java/awt/Focus/UnaccessibleChoice/
/AccessibleChoiceTest.java fails
+ JDK-8244679: JVM/TI GetCurrentContendedMonitor/contmon001
failed due to "(IsSameObject#3) unexpected monitor object:
0x000000562336DBA8"
+ JDK-8246222: Rename javac test T6395981.java to be more
informative
+ JDK-8247818: GCC 10 warning stringop-overflow with symbol code
+ JDK-8249087: Always initialize _body[0..1] in Symbol
constructor
+ JDK-8251349: Add TestCaseImpl to
OverloadCompileQueueTest.java's build dependencies
+ JDK-8251904: vmTestbase/nsk/sysdict/vm/stress/btree/btree010/
/btree010.java fails with ClassNotFoundException:
nsk.sysdict.share.BTree0LLRLRLRRLR
+ JDK-8253543: sanity/client/SwingSet/src/
/ButtonDemoScreenshotTest.java failed with "AssertionError:
All pixels are not black"
+ JDK-8253739: java/awt/image/MultiResolutionImage/
/MultiResolutionImageObserverTest.java fails
+ JDK-8253820: Save test images and dumps with timestamps from
client sanity suite
+ JDK-8255277: randomDelay in DrainDeadlockT and
LoggingDeadlock do not randomly delay
+ JDK-8255546: Missing coverage for
javax.smartcardio.CardPermission and ResponseAPDU
+ JDK-8255743: Relax SIGFPE match in in
runtime/ErrorHandling/SecondaryErrorTest.java
+ JDK-8257505: nsk/share/test/StressOptions stressTime is
scaled in getter but not when printed
+ JDK-8259801: Enable XML Signature secure validation mode by
default
+ JDK-8264135: UnsafeGetStableArrayElement should account for
different JIT implementation details
+ JDK-8265349: vmTestbase/../stress/compiler/deoptimize/
/Test.java fails with OOME due to CodeCache exhaustion.
+ JDK-8269025: jsig/Testjsig.java doesn't check exit code
+ JDK-8269077: TestSystemGC uses "require vm.gc.G1" for large
pages subtest
+ JDK-8271094: runtime/duplAttributes/DuplAttributesTest.java
doesn't check exit code
+ JDK-8271224: runtime/EnclosingMethodAttr/EnclMethodAttr.java
doesn't check exit code
+ JDK-8271828: mark hotspot runtime/classFileParserBug tests
which ignore external VM flags
+ JDK-8271829: mark hotspot runtime/Throwable tests which
ignore external VM flags
+ JDK-8271890: mark hotspot runtime/Dictionary tests which
ignore external VM flags
+ JDK-8272291: mark hotspot runtime/logging tests which ignore
external VM flags
+ JDK-8272335: runtime/cds/appcds/MoveJDKTest.java doesn't
check exit codes
+ JDK-8272551: mark hotspot runtime/modules tests which ignore
external VM flags
+ JDK-8272552: mark hotspot runtime/cds tests which ignore
external VM flags
+ JDK-8273803: Zero: Handle "zero" variant in
CommandLineOptionTest.java
+ JDK-8274122: java/io/File/createTempFile/SpecialTempFile.java
fails in Windows 11
+ JDK-8274621: NullPointerException because listenAddress[0] is
null
+ JDK-8276796: gc/TestSystemGC.java large pages subtest fails
with ZGC
+ JDK-8280007: Enable Neoverse N1 optimizations for Arm
Neoverse V1 & N2
+ JDK-8281149: (fs) java/nio/file/FileStore/Basic.java fails
with java.lang.RuntimeException: values differ by more than
1GB
+ JDK-8281377: Remove vmTestbase/nsk/monitoring/ThreadMXBean/
/ThreadInfo/Deadlock/JavaDeadlock001/TestDescription.java
from problemlist.
+ JDK-8281717: Cover logout method for several LoginModule
+ JDK-8282665: [REDO] ByteBufferTest.java: replace endless
recursion with RuntimeException in void ck(double x, double y)
+ JDK-8284090: com/sun/security/auth/module/AllPlatforms.java
fails to compile
+ JDK-8285756: clean up use of bad arguments for `@clean` in
langtools tests
+ JDK-8285785: CheckCleanerBound test fails with
PasswordCallback object is not released
+ JDK-8285867: Convert applet manual tests
SelectionVisible.java to Frame and automate
+ JDK-8286846: test/jdk/javax/swing/plaf/aqua/
/CustomComboBoxFocusTest.java fails on mac aarch64
+ JDK-8286969: Add a new test library API to execute kinit in
SecurityTools.java
+ JDK-8287113: JFR: Periodic task thread uses period for method
sampling events
+ JDK-8289511: Improve test coverage for XPath Axes: child
+ JDK-8289764: gc/lock tests failed with "OutOfMemoryError:
Java heap space: failed reallocation of scalar replaced
objects"
+ JDK-8289948: Improve test coverage for XPath functions: Node
Set Functions
+ JDK-8290399: [macos] Aqua LAF does not fire an action event
if combo box menu is displayed
+ JDK-8290909: MemoryPoolMBean/isUsageThresholdExceeded tests
failed with "isUsageThresholdExceeded() returned false, and is
still false, while threshold = MMMMMMM and used peak = NNNNNNN"
+ JDK-8292182: [TESTLIB] Enhance JAXPPolicyManager to setup
required permissions for jtreg version 7 jar
+ JDK-8292946: GC lock/jni/jnilock001 test failed
"assert(gch->gc_cause() == GCCause::_scavenge_alot ||
!gch->incremental_collection_failed()) failed: Twice in a row"
+ JDK-8293819: sun/util/logging/PlatformLoggerTest.java failed
with "RuntimeException: Retrieved backing PlatformLogger level
null is not the expected CONFIG"
+ JDK-8294158: HTML formatting for PassFailJFrame instructions
+ JDK-8294254: [macOS] javax/swing/plaf/aqua/
/CustomComboBoxFocusTest.java failure
+ JDK-8294402: Add diagnostic logging to
VMProps.checkDockerSupport
+ JDK-8294535: Add screen capture functionality to
PassFailJFrame
+ JDK-8296083: javax/swing/JTree/6263446/bug6263446.java fails
intermittently on a VM
+ JDK-8296384: [TESTBUG] sun/security/provider/SecureRandom/
/AbstractDrbg/SpecTest.java intermittently timeout
+ JDK-8299494: Test vmTestbase/nsk/stress/except/except011.java
failed: ExceptionInInitializerError: target class not found
+ JDK-8300269: The selected item in an editable JComboBox with
titled border is not visible in Aqua LAF
+ JDK-8300727: java/awt/List/ListGarbageCollectionTest/
/AwtListGarbageCollectionTest.java failed with "List wasn't
garbage collected"
+ JDK-8301310: The SendRawSysexMessage test may cause a JVM
crash
+ JDK-8301377: adjust timeout for JLI
GetObjectSizeIntrinsicsTest.java subtest again
+ JDK-8301846: Invalid TargetDataLine after screen lock when
using JFileChooser or COM library
+ JDK-8302017: Allocate BadPaddingException only if it will be
thrown
+ JDK-8302109: Trivial fixes to btree tests
+ JDK-8302149: Speed up
compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java
+ JDK-8302607: increase timeout for
ContinuousCallSiteTargetChange.java
+ JDK-8304074: [JMX] Add an approximation of total bytes
allocated on the Java heap by the JVM
+ JDK-8304314: StackWalkTest.java fails after CODETOOLS-7903373
+ JDK-8304725: AsyncGetCallTrace can cause SIGBUS on M1
+ JDK-8305502: adjust timeouts in three more M&M tests
+ JDK-8305505: NPE in javazic compiler
+ JDK-8305972: Update XML Security for Java to 3.0.2
+ JDK-8306072: Open source several AWT MouseInfo related tests
+ JDK-8306076: Open source AWT misc tests
+ JDK-8306409: Open source AWT KeyBoardFocusManger,
LightWeightComponent related tests
+ JDK-8306640: Open source several AWT TextArea related tests
+ JDK-8306652: Open source AWT MenuItem related tests
+ JDK-8306681: Open source more AWT DnD related tests
+ JDK-8306683: Open source several clipboard and color AWT tests
+ JDK-8306752: Open source several container and component AWT
tests
+ JDK-8306753: Open source several container AWT tests
+ JDK-8306755: Open source few Swing JComponent and
AbstractButton tests
+ JDK-8306812: Open source several AWT Miscellaneous tests
+ JDK-8306871: Open source more AWT Drag & Drop tests
+ JDK-8306996: Open source Swing MenuItem related tests
+ JDK-8307123: Fix deprecation warnings in DPrinter
+ JDK-8307130: Open source few Swing JMenu tests
+ JDK-8307299: Move more DnD tests to open
+ JDK-8307311: Timeouts on one macOS 12.6.1 host of two Swing
JTableHeader tests
+ JDK-8307381: Open Source JFrame, JIF related Swing Tests
+ JDK-8307683: Loop Predication should not hoist range checks
with trap on success projection by negating their condition
+ JDK-8308043: Deadlock in TestCSLocker.java due to blocking GC
while allocating
+ JDK-8308116: jdk.test.lib.compiler.InMemoryJavaCompiler
.compile does not close files
+ JDK-8308223: failure handler missed jcmd.vm.info command
+ JDK-8308232: nsk/jdb tests don't pass -verbose flag to the
debuggee
+ JDK-8308245: Add -proc:full to describe current default
annotation processing policy
+ JDK-8308336: Test java/net/HttpURLConnection/
/HttpURLConnectionExpectContinueTest.java failed:
java.net.BindException: Address already in use
+ JDK-8309104: [JVMCI] compiler/unsafe/
/UnsafeGetStableArrayElement test asserts wrong values with
Graal
+ JDK-8309119: [17u/11u] Redo JDK-8297951: C2: Create skeleton
predicates for all If nodes in loop predication
+ JDK-8309462: [AIX] vmTestbase/nsk/jvmti/RunAgentThread/
/agentthr001/TestDescription.java crashing due to empty while
loop
+ JDK-8309778: java/nio/file/Files/CopyAndMove.java fails when
using second test directory
+ JDK-8309870: Using -proc:full should be considered requesting
explicit annotation processing
+ JDK-8310106: sun.security.ssl.SSLHandshake
.getHandshakeProducer() incorrectly checks handshakeConsumers
+ JDK-8310238: [test bug] javax/swing/JTableHeader/6889007/
/bug6889007.java fails
+ JDK-8310551: vmTestbase/nsk/jdb/interrupt/interrupt001/
/interrupt001.java timed out due to missing prompt
+ JDK-8310807: java/nio/channels/DatagramChannel/Connect.java
timed out
+ JDK-8311081: KeytoolReaderP12Test.java fail on localized
Windows platform
+ JDK-8311511: Improve description of NativeLibrary JFR event
+ JDK-8311585: Add JRadioButtonMenuItem to bug8031573.java
+ JDK-8313081: MonitoringSupport_lock should be unconditionally
initialized after 8304074
+ JDK-8313082: Enable CreateCoredumpOnCrash for testing in
makefiles
+ JDK-8313164: src/java.desktop/windows/native/libawt/windows/
/awt_Robot.cpp GetRGBPixels adjust releasing of resources
+ JDK-8313252: Java_sun_awt_windows_ThemeReader_paintBackground
release resources in early returns
+ JDK-8313643: Update HarfBuzz to 8.2.2
+ JDK-8313816: Accessing jmethodID might lead to spurious
crashes
+ JDK-8314144: gc/g1/ihop/TestIHOPStatic.java fails due to
extra concurrent mark with -Xcomp
+ JDK-8314164: java/net/HttpURLConnection/
/HttpURLConnectionExpectContinueTest.java fails intermittently
in timeout
+ JDK-8314883:
Java_java_util_prefs_FileSystemPreferences_lockFile0 write
result errno in missing case
+ JDK-8315034: File.mkdirs() occasionally fails to create
folders on Windows shared folder
+ JDK-8315042: NPE in PKCS7.parseOldSignedData
+ JDK-8315415: OutputAnalyzer.shouldMatchByLine() fails in some
cases
+ JDK-8315499: build using devkit on Linux ppc64le RHEL puts
path to devkit into libsplashscreen
+ JDK-8315594: Open source few headless Swing misc tests
+ JDK-8315600: Open source few more headless Swing misc tests
+ JDK-8315602: Open source swing security manager test
+ JDK-8315606: Open source few swing text/html tests
+ JDK-8315611: Open source swing text/html and tree test
+ JDK-8315680: java/lang/ref/ReachabilityFenceTest.java should
run with -Xbatch
+ JDK-8315731: Open source several Swing Text related tests
+ JDK-8315761: Open source few swing JList and JMenuBar tests
+ JDK-8315986: [macos14] javax/swing/JMenuItem/4654927/
/bug4654927.java: component must be showing on the screen to
determine its location
+ JDK-8316001: GC: Make TestArrayAllocatorMallocLimit use
createTestJvm
+ JDK-8316028: Update FreeType to 2.13.2
+ JDK-8316030: Update Libpng to 1.6.40
+ JDK-8316106: Open source few swing JInternalFrame and
JMenuBar tests
+ JDK-8316461: Fix: make test outputs TEST SUCCESS after
unsuccessful exit
+ JDK-8316947: Write a test to check textArea triggers
MouseEntered/MouseExited events properly
+ JDK-8317307: test/jdk/com/sun/jndi/ldap/
/LdapPoolTimeoutTest.java fails with ConnectException:
Connection timed out: no further information
+ JDK-8317327: Remove JT_JAVA dead code in jib-profiles.js
+ JDK-8318154: Improve stability of WheelModifier.java test
+ JDK-8318410: jdk/java/lang/instrument/BootClassPath/
/BootClassPathTest.sh fails on Japanese Windows
+ JDK-8318468: compiler/tiered/LevelTransitionTest.java fails
with -XX:CompileThreshold=100 -XX:TieredStopAtLevel=1
+ JDK-8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java
+ JDK-8318607: Enable parallelism in vmTestbase/nsk/stress/jni
tests
+ JDK-8318608: Enable parallelism in
vmTestbase/nsk/stress/threads tests
+ JDK-8318736: com/sun/jdi/JdwpOnThrowTest.java failed with
"transport error 202: bind failed: Address already in use"
+ JDK-8318889: C2: add bailout after assert Bad graph detected
in build_loop_late
+ JDK-8318951: Additional negative value check in JPEG decoding
+ JDK-8318955: Add ReleaseIntArrayElements in
Java_sun_awt_X11_XlibWrapper_SetBitmapShape XlbWrapper.c to
early return
+ JDK-8318971: Better Error Handling for Jar Tool When
Processing Non-existent Files
+ JDK-8318983: Fix comment typo in PKCS12Passwd.java
+ JDK-8319124: Update XML Security for Java to 3.0.3
+ JDK-8319456: jdk/jfr/event/gc/collection/
/TestGCCauseWith[Serial|Parallel].java : GC cause 'GCLocker
Initiated GC' not in the valid causes
+ JDK-8319668: Fixup of jar filename typo in BadFactoryTest.sh
+ JDK-8320001: javac crashes while adding type annotations to
the return type of a constructor
+ JDK-8320208: Update Public Suffix List to b5bf572
+ JDK-8320363: ppc64 TypeEntries::type_unknown logic looks
wrong, missed optimization opportunity
+ JDK-8320597: RSA signature verification fails on signed data
that does not encode params correctly
+ JDK-8320798: Console read line with zero out should zero out
underlying buffer
+ JDK-8320884: Bump update version for OpenJDK: jdk-11.0.23
+ JDK-8320937: support latest VS2022 MSC_VER in
abstract_vm_version.cpp
+ JDK-8321151: JDK-8294427 breaks Windows L&F on all older
Windows versions
+ JDK-8321215: Incorrect x86 instruction encoding for VSIB
addressing mode
+ JDK-8321408: Add Certainly roots R1 and E1
+ JDK-8321480: ISO 4217 Amendment 176 Update
+ JDK-8322178: Error. can't find jdk.testlibrary
.SimpleSSLContext in test directory or libraries
+ JDK-8322417: Console read line with zero out should zero out
when throwing exception
+ JDK-8322725: (tz) Update Timezone Data to 2023d
+ JDK-8322750: Test "api/java_awt/interactive/
/SystemTrayTests.html" failed because A blue ball icon is
added outside of the system tray
+ JDK-8322752: [11u] GetStackTraceAndRetransformTest.java is
failing assert
+ JDK-8322772: Clean up code after JDK-8322417
+ JDK-8323008: filter out harmful -std* flags added by autoconf
from CXX
+ JDK-8323243: JNI invocation of an abstract instance method
corrupts the stack
+ JDK-8323515: Create test alias "all" for all test roots
+ JDK-8323640: [TESTBUG]testMemoryFailCount in jdk/internal/
/platform/docker/TestDockerMemoryMetrics.java always fail
because OOM killed
+ JDK-8324184: Windows VS2010 build failed with "error C2275:
'int64_t'"
+ JDK-8324307: [11u] hotspot fails to build with GCC 12 and
newer (non-static data member initializers)
+ JDK-8324347: Enable "maybe-uninitialized" warning for
FreeType 2.13.1
+ JDK-8324659: GHA: Generic jtreg errors are not reported
+ JDK-8325096: Test java/security/cert/CertPathBuilder/akiExt/
/AKISerialNumber.java is failing
+ JDK-8325150: (tz) Update Timezone Data to 2024a
+ JDK-8326109: GCC 13 reports maybe-uninitialized warnings for
jni.cpp with dtrace enabled
+ JDK-8326503: [11u] java/net/HttpURLConnection/
/HttpURLConnectionExpectContinueTest.java fail because of
package org.junit.jupiter.api does not exist
+ JDK-8327391: Add SipHash attribution file
+ JDK-8329837: [11u] Remove designator
DEFAULT_PROMOTED_VERSION_PRE=ea for release 11.0.23
-------------------------------------------------------------------
Thu Mar 7 12:44:28 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Removed patch:
* alternative-tzdb_dat.patch
+ Remove the possibility to use the system timezone-java. It
creates more problems then it solves (bsc#1213470)
-------------------------------------------------------------------
Tue Feb 20 15:39:23 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Thu Jan 18 11:44:48 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,5 +1,5 @@
#
# spec file
# spec file for package java-11-openjdk
#
# Copyright (c) 2024 SUSE LLC
#
@ -38,8 +38,8 @@
# Standard JPackage naming and versioning defines.
%global featurever 11
%global interimver 0
%global updatever 22
%global buildver 7
%global updatever 24
%global buildver 8
%global openjdk_repo jdk11u
%global openjdk_tag jdk-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}+%{buildver}
%global openjdk_dir %{openjdk_repo}-jdk-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}-%{buildver}
@ -221,6 +221,7 @@ Patch19: fips.patch
Patch20: loadAssistiveTechnologies.patch
#
Patch21: reproducible-javadoc-timestamp.patch
Patch22: reproducible-jlink.patch
#
Patch30: JDK-8208602.patch
#
@ -233,7 +234,6 @@ Patch200: ppc_stack_overflow_fix.patch
Patch201: fix_armv6_build.patch
#
Patch302: disable-doclint-by-default.patch
Patch303: alternative-tzdb_dat.patch
#
Patch500: activation-module.patch
Patch501: annotation-module.patch
@ -347,10 +347,10 @@ Requires: jpackage-utils
Requires: mozilla-nss
# Post requires update-alternatives to install tool update-alternatives.
Requires(post): update-alternatives
Requires(posttrans): file
Requires(posttrans): java-ca-certificates
# Postun requires update-alternatives to uninstall tool update-alternatives.
Requires(postun): update-alternatives
Recommends: tzdata-java8
Obsoletes: %{name}-accessibility
%if 0%{?suse_version} > 1315 || 0%{?java_bootstrap}
# Standard JPackage base provides.
@ -484,49 +484,49 @@ rm -rvf src/java.desktop/share/native/libsplashscreen/giflib
rm -rvf src/java.desktop/share/native/liblcms/cms*
rm -rvf src/java.desktop/share/native/liblcms/lcms2*
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch8 -p1
%patch10 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%patch -P 8 -p1
%patch -P 10 -p1
%patch -P 12 -p1
%patch -P 13 -p1
%patch -P 14 -p1
%if %{with_system_pcsc}
%patch15 -p1
%patch -P 15 -p1
%endif
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch -P 16 -p1
%patch -P 17 -p1
%patch -P 18 -p1
%patch19 -p1
%patch -P 19 -p1
%patch20 -p1
%patch -P 20 -p1
%patch21 -p1
%patch -P 21 -p1
%patch -P 22 -p1
%patch30 -p1
%patch -P 30 -p1
# s390 build fixes
%ifarch s390
%patch100 -p1
%patch101 -p1
%patch -P 100 -p1
%patch -P 101 -p1
%endif
%patch200 -p1
%patch -P 200 -p1
%ifarch %{arm6}
%patch201
%patch -P 201
%endif
%patch302 -p1
%patch303 -p1
%patch -P 302 -p1
%patch500
%patch501
%patch -P 500
%patch -P 501
# Extract systemtap tapsets
@ -670,9 +670,6 @@ install -m 644 nss.cfg $JAVA_HOME/conf/security/
# Install nss.fips.cfg: NSS configuration for global FIPS mode (crypto-policies)
install -m 644 nss.fips.cfg $JAVA_HOME/conf/security/
# Copy tz.properties
echo "sun.zoneinfo.dir=%{_datadir}/javazi" >> $JAVA_HOME/conf/tz.properties
%if %{add_back_javaee_modules}
# Merge back some Java EE modules removed in OpenJDK 11 by JEP 320
@ -1204,7 +1201,6 @@ fi
%{_jvmdir}/%{sdkdir}/conf/security/policy/unlimited/default_local.policy
%{_jvmdir}/%{sdkdir}/conf/security/policy/unlimited/default_US_export.policy
%{_jvmdir}/%{sdkdir}/conf/sound.properties
%{_jvmdir}/%{sdkdir}/conf/tz.properties
%if ! %{with zero}
%{_jvmdir}/%{sdkdir}/lib/classlist
%endif

BIN
jdk-11.0.22+7.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
jdk-11.0.24+8.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,5 @@
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java
index b227ef5fb8..ac186f4e52 100644
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java
@@ -256,6 +256,9 @@ public class Head {
@ -17,7 +19,7 @@
+ if (System.getenv("SOURCE_DATE_EPOCH") != null) {
+ dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
+ }
tree.addContent(HtmlTree.META(
tree.add(HtmlTree.META(
(htmlVersion == HtmlVersion.HTML5) ? "dc.created" : "date",
dateFormat.format(now)));
@@ -298,7 +304,14 @@ public class Head {

11
reproducible-jlink.patch Normal file
View File

@ -0,0 +1,11 @@
--- a/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java
+++ b/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java
@@ -726,7 +726,7 @@ public class JlinkTask {
private String getSaveOpts() {
StringBuilder sb = new StringBuilder();
- sb.append('#').append(new Date()).append("\n");
+ sb.append('#').append(System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date()).append("\n");
for (String c : optionsHelper.getInputCommand()) {
sb.append(c).append(" ");
}