Compare commits

...

564 Commits

Author SHA1 Message Date
Dmitrii Morskii
7ba046a156 JBR-5259: fixed Canvas mispositioning after dragging JFrame to a monitor with different scale 2023-07-31 16:16:45 +02:00
Christoph Langer
e861712bea 8311467: [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 17.0.8
Reviewed-by: goetz
2023-07-23 08:03:18 +07:00
Andrew Haley
6f2f19e722 8308682: Enhance AES performance
Reviewed-by: adinn
Backport-of: ff9eac237d434b51e22ae55cf95595731a2e676c
2023-07-23 05:36:35 +07:00
Martin Balao
4e76175851 8305312: Enhanced path handling
Reviewed-by: yan
Backport-of: cb7cef2b85264c2bd2d00f1c0e5010969aa618d3
2023-07-23 05:36:35 +07:00
Martin Balao
f011d26954 8304468: Better array usages
Reviewed-by: mbaesken
Backport-of: cb7cef2b85264c2bd2d00f1c0e5010969aa618d3
2023-07-23 05:36:34 +07:00
Martin Balao
067e2c62c4 8304460: Improve array usages
Reviewed-by: yan
Backport-of: 45a4e33d424fa953ce40edd9cff023f8bb0d04e1
2023-07-23 05:36:34 +07:00
Aleksei Voitylov
f1a420b206 8303376: Better launching of JDI
Reviewed-by: yan, mbalao
Backport-of: 96cae3b3bc39898a60071369f8264e8503df32a0
2023-07-23 05:36:34 +07:00
Yuri Nesterenko
3ad32534fe 8302483: Enhance ZIP performance
Reviewed-by: mbalao
Backport-of: 05661fdcb4ced0c7c2e9eab3464c2447f38c94c3
2023-07-23 05:36:34 +07:00
Ekaterina Vergizova
b4cfa9a6a1 8302475: Enhance HTTP client file downloading
Reviewed-by: mbalao
Backport-of: 1d26da2ef83de0c76f3c4b85c98c6c30d2e3aaf3
2023-07-23 05:36:33 +07:00
Alexei Voitylov
7a5e9e0339 8300596: Enhance Jar Signature validation
Reviewed-by: yan, mbalao
Backport-of: a099d8bf015950db7f0b0ca792e4a9dc951a15cf
2023-07-23 05:36:33 +07:00
Aleksei Voitylov
a3a6a062f8 8300285: Enhance TLS data handling
Reviewed-by: yan, mbalao
Backport-of: 3d6dc4022049fb83b92ba94150ba2c073de88892
2023-07-23 05:36:33 +07:00
Sergey Bylokhov
b4b19c9c89 8298676: Enhanced Look and Feel
Reviewed-by: mbalao
Backport-of: 932ee4043e4a4a262a4c0b747f1367858f55198e
2023-07-23 05:36:33 +07:00
Roman Marchenko
6cd47d5ba9 8296565: Enhanced archival support
Reviewed-by: mbalao
Backport-of: 4706e8d4a2e7df021085933f3b3e96a26385a449
2023-07-23 05:36:32 +07:00
Olga Mikhaltsova
ac99bb6ee3 8294323: Improve Shared Class Data
Reviewed-by: mbalao
Backport-of: a231b27b7bbd03b5c439583b278f045c8b84f55f
2023-07-23 05:36:32 +07:00
Christoph Langer
4f010280b6 8303465: KeyStore of type KeychainStore, provider Apple does not show all trusted certificates
Backport-of: ac41c03003
2023-07-23 05:36:32 +07:00
Severin Gehwolf
8e55072f29 8308884: [17u/11u] Backout JDK-8297951
This reverts commit 08e30d0b37

Reviewed-by: shade
2023-07-23 05:36:32 +07:00
Goetz Lindenmaier
af469d0f5a 8287876: The recently de-problemlisted TestTitledBorderLeak test is unstable
Backport-of: bf439f8c93
2023-07-23 05:36:31 +07:00
Goetz Lindenmaier
a435bf557f 8308880: [17u] micro bench ZoneStrings missed in backport of 8278434
Reviewed-by: shade
2023-07-23 05:36:31 +07:00
Aleksey Shipilev
109a5a1e7c 8293492: ShenandoahControlThread missing from hs-err log and thread dump
Reviewed-by: phh
Backport-of: 85ec1f8d02
2023-07-23 05:36:31 +07:00
Aleksey Shipilev
6514695e5b 8301637: ThreadLocalRandom.current().doubles().parallel() contention
Backport-of: cf6b9eb8c8
2023-07-23 05:36:31 +07:00
Aleksey Shipilev
645b1f00ea 8293295: Add type check asserts to java_lang_ref_Reference accessors
Reviewed-by: phh
Backport-of: 32f4dc8403
2023-07-23 05:36:30 +07:00
Aleksey Shipilev
caeda299bf 8294183: AArch64: Wrong macro check in SharedRuntime::generate_deopt_blob
Backport-of: f3ba332fdc
2023-07-23 05:36:30 +07:00
Ningsheng Jian
c011d20d59 8274243: Implement fast-path for ASCII-compatible CharsetEncoders on aarch64
Backport-of: ddddec7d74
2023-07-23 05:36:30 +07:00
Alexey Bakhtin
f826a974f0 8303809: Dispose context in SPNEGO NegotiatorImpl
Backport-of: 10f1674625
2023-07-23 05:36:29 +07:00
Andrew John Hughes
50cbcf90fd 8301119: Support for GB18030-2022
Reviewed-by: sgehwolf
Backport-of: a253b46021
2023-07-23 05:36:29 +07:00
Aleksey Shipilev
a62c2cf297 8286331: jni_GetStringUTFChars() uses wrong heap allocator
Backport-of: b0d2b0a355
2023-07-23 05:36:29 +07:00
Aleksey Shipilev
7eb91cfbd7 8286346: 3-parameter version of AllocateHeap should not ignore AllocFailType
Backport-of: 64b05ccbed
2023-07-23 05:36:28 +07:00
Matthias Baesken
f88071c8d9 8301661: Enhance os::pd_print_cpu_info on macOS and Windows
Backport-of: 9145670354
2023-07-23 05:36:28 +07:00
Aleksey Shipilev
0ae395bb50 8292713: Unsafe.allocateInstance should be intrinsified without UseUnalignedAccesses
Backport-of: c0623972cf
2023-07-23 05:36:28 +07:00
Aleksey Shipilev
912e20a9d3 8283520: JFR: Memory leak in dcmd_arena
Backport-of: 6a8be358d2
2023-07-23 05:36:28 +07:00
Victor Rudometov
735c9b1d60 8307128: Open source some drag and drop tests 4
8307799: Newly added java/awt/dnd/MozillaDnDTest.java has invalid jtreg `@requires` clause

Reviewed-by: phh
Backport-of: 98294242a9
2023-07-23 05:36:27 +07:00
Aleksey Shipilev
fdf9368f83 8294717: (bf) DirectByteBuffer constructor will leak if allocating Deallocator or Cleaner fails with OOME
Backport-of: 4cbac40de9
2023-07-23 05:36:27 +07:00
Alexey Pavlyutkin
82ddad690c 8300939: sun/security/provider/certpath/OCSP/OCSPNoContentLength.java fails due to network errors
Reviewed-by: goetz
Backport-of: da044dd569
2023-07-23 05:36:27 +07:00
Aleksey Shipilev
e68148daea 8275287: Relax memory ordering constraints on updating instance class and array class counters
Backport-of: 002c538bc0
2023-07-23 05:36:27 +07:00
Arno Zeller
3c8d6b1bea 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Backport-of: 5c7ede94ae
2023-07-23 05:36:26 +07:00
Aleksey Shipilev
77c9100a53 8274615: Support relaxed atomic add for linux-aarch64
Reviewed-by: aph
Backport-of: 8de26361f7
2023-07-23 05:36:26 +07:00
Matthias Baesken
c2117edf82 8307135: java/awt/dnd/NotReallySerializableTest/NotReallySerializableTest.java failed
Backport-of: d43a5a289f
2023-07-23 05:36:26 +07:00
Aleksey Shipilev
f549be550b 8227060: Optimize safepoint cleanup subtask order
Reviewed-by: phh
Backport-of: 96a542feb2
2023-07-23 05:36:26 +07:00
Victor Rudometov
6a0d02b33e 8306640: Open source several AWT TextArea related tests
Backport-of: 169a7c27a7
2023-07-23 05:36:25 +07:00
Goetz Lindenmaier
1a243cbdd4 8308554: [17u] Fix commit of 8286191. vm.musl was not removed from ExternalEditorTest
Reviewed-by: shade
2023-07-23 05:36:25 +07:00
Victor Rudometov
3988526c25 8306752: Open source several container and component AWT tests
Backport-of: 88d9ebf8e8
2023-07-23 05:36:25 +07:00
Victor Rudometov
9384d4ed10 8306755: Open source few Swing JComponent and AbstractButton tests
Backport-of: f3e8bd1d11
2023-07-23 05:36:25 +07:00
Victor Rudometov
0a474dc859 8306683: Open source several clipboard and color AWT tests
Backport-of: 1c2dadc31e
2023-07-23 05:36:24 +07:00
Victor Rudometov
71432ce15b 8306652: Open source AWT MenuItem related tests
Backport-of: ed1ebd242a
2023-07-23 05:36:24 +07:00
Victor Rudometov
6e4c8dc082 8306409: Open source AWT KeyBoardFocusManger, LightWeightComponent related tests
Backport-of: 732179ca84
2023-07-23 05:36:24 +07:00
Victor Rudometov
c59a2ee398 8306850: Open source AWT Modal related tests
Backport-of: 41ba05e450
2023-07-23 05:36:24 +07:00
Victor Rudometov
d1e1cfea52 8306072: Open source several AWT MouseInfo related tests
Backport-of: 44d9f55d0b
2023-07-23 05:36:23 +07:00
Victor Rudometov
d2b940e5b2 8307080: Open source some more JComboBox jtreg tests
Backport-of: b8de39431d
2023-07-23 05:36:23 +07:00
Victor Rudometov
a4db19bd62 8306133: Open source few AWT Drag & Drop related tests
Backport-of: ec5c7926f3
2023-07-23 05:36:23 +07:00
Victor Rudometov
21838d035f 8306681: Open source more AWT DnD related tests
Backport-of: 05af487a2d
2023-07-23 05:36:23 +07:00
Victor Rudometov
3586b74821 8306955: Open source several JComboBox jtreg tests
Backport-of: 1f689241cf
2023-07-23 05:36:22 +07:00
Victor Rudometov
f12d205a72 8306432: Open source several AWT Text Component related tests
Backport-of: 485a0691f4
2023-07-23 05:36:22 +07:00
Victor Rudometov
dce0f07dd6 8306954: Open source five Focus related tests
Backport-of: 6d6d00b69c
2023-07-23 05:36:22 +07:00
Jiangli Zhou
44b0960e51 8307134: Add GTS root CAs
Reviewed-by: phh
Backport-of: 03030d47eb
2023-07-23 05:36:22 +07:00
Alexey Pavlyutkin
97f5c5d9a9 8268582: javadoc throws NPE with --ignore-source-errors option
Backport-of: 0dfb3a705d
2023-07-23 05:36:21 +07:00
Aleksey Shipilev
7fdebe0aba 8287854: Dangling reference in ClassVerifier::verify_class
Backport-of: 3fa99844a6
2023-07-23 05:36:21 +07:00
Alexey Pavlyutkin
5bc3878fbc 8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression
Backport-of: d7c283a081
2023-07-23 05:36:21 +07:00
Alexey Pavlyutkin
92b2b70e08 8296343: CPVE thrown on missing content-length in OCSP response
Backport-of: 1a3cb8c501
2023-07-23 05:36:20 +07:00
Aleksey Shipilev
73cad0a7be 8261495: Shenandoah: reconsider update references memory ordering
Backport-of: a96012a7af
2023-07-23 05:36:20 +07:00
Aleksey Shipilev
54e8ec9cc0 8297154: Improve safepoint cleanup logging
Backport-of: 086763a629
2023-07-23 05:36:20 +07:00
Victor Rudometov
0e916db5ee 8306753: Open source several container AWT tests
Backport-of: b372f28ad4
2023-07-23 05:36:20 +07:00
William Kemper
075eee455f 8307378: Allow collectors to provide specific values for GC notifications' actions
Reviewed-by: phh
Backport-of: 8f816bbd28f2b771f2b070f49718a492c1a0771a
2023-07-23 05:36:19 +07:00
Christoph Langer
7e2f94c91f 8284331: Add sanity check for signal handler modification warning.
Reviewed-by: kevinw
Backport-of: 116763cb5d
2023-07-23 05:36:19 +07:00
Christoph Langer
f3ad8ce483 8276058: Some swing test fails on specific CI macos system
8277407: javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java fails to compile after JDK-8276058

Backport-of: 91607436b7
2023-07-23 05:36:19 +07:00
Jonathan Dowland
5051a280d7 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0
Reviewed-by: andrew
Backport-of: 6b9b7d1d92
2023-07-23 05:36:19 +07:00
Victor Rudometov
554de9298a 8306489: Open source AWT List related tests
Backport-of: 82a8e91ef7
2023-07-23 05:36:18 +07:00
Victor Rudometov
d58c7e2416 8307133: Open source some JTable jtreg tests
Backport-of: 5ca0b08a75
2023-07-23 05:36:18 +07:00
Victor Rudometov
31b0feb1ef 8306943: Open source several dnd AWT tests
Backport-of: 2adb3b409e
2023-07-23 05:36:18 +07:00
Victor Rudometov
88daae5b6a 8307381: Open Source JFrame, JIF related Swing Tests
Backport-of: 4386d42d31
2023-07-23 05:36:17 +07:00
Victor Rudometov
4746b4260f 8306871: Open source more AWT Drag & Drop tests
Backport-of: b5a48277ab
2023-07-23 05:36:17 +07:00
Victor Rudometov
cb72db3a48 8306941: Open source several datatransfer and dnd AWT tests
Backport-of: 3d3eaed913
2023-07-23 05:36:17 +07:00
Victor Rudometov
50efe6d821 8307130: Open source few Swing JMenu tests
Backport-of: d9052b9466
2023-07-23 05:36:17 +07:00
Oli Gillespie
09f89aa192 8307346: Add missing gc+phases logging for ObjectCount(AfterGC) JFR event collection code
Backport-of: 3f1927a7f3
2023-07-23 05:36:16 +07:00
Soumadipta Roy
8d160e91d0 8307425: Socket input stream read burns CPU cycles with back-to-back poll(0) calls
Reviewed-by: ogillespie, shade
Backport-of: 73ac710533
2023-07-23 05:36:16 +07:00
Victor Rudometov
7d9f5330c3 8306996: Open source Swing MenuItem related tests
Backport-of: 73491fa452
2023-07-23 05:36:16 +07:00
ktakakuri
66a00ab911 8248001: javadoc generates invalid HTML pages whose ftp:// links are broken
Backport-of: bb95dda0ac
2023-07-23 05:36:16 +07:00
Matthias Baesken
7ddf5e3532 8304760: Add 2 Microsoft TLS roots
Reviewed-by: mdoerr
Backport-of: c7e1df8328
2023-07-23 05:36:15 +07:00
Andrei Pangin
55c80b1d18 8299544: Improve performance of CRC32C intrinsics (non-AVX-512) for small inputs
Reviewed-by: phh
Backport-of: 8c70bf3fff
2023-07-23 05:36:15 +07:00
Martin Doerr
caf87ab345 8295974: jni_FatalError and Xcheck:jni warnings should print the native stack when there are no Java frames
Reviewed-by: rrich
Backport-of: 375743336d
2023-07-23 05:36:15 +07:00
Matthias Baesken
4ed4559256 8305975: Add TWCA Global Root CA
Reviewed-by: mdoerr
Backport-of: 82ccfe3a21
2023-07-23 05:36:15 +07:00
Matthias Baesken
d2c81a7de0 8282201: Consider removal of expiry check in VerifyCACerts.java test
Backport-of: 5b43804b79
2023-07-23 05:36:14 +07:00
Martin Doerr
1a01ef95f5 8305088: SIGSEGV in Method::is_method_handle_intrinsic
Reviewed-by: mbaesken
2023-07-23 05:36:14 +07:00
Matthias Baesken
d908229023 8304054: Linux: NullPointerException from FontConfiguration.getVersion in case no fonts are installed
Backport-of: 3c7ab80501
2023-07-23 05:36:14 +07:00
Matthias Baesken
bcc3d4b373 8304867: Explicitly disable dtrace for ppc builds
Reviewed-by: clanger
Backport-of: ff368d504e
2023-07-23 05:36:14 +07:00
Goetz Lindenmaier
a46b191abc 8297587: Upgrade JLine to 3.22.0
Reviewed-by: mbaesken
Backport-of: 4619e8bae8
2023-07-23 05:36:13 +07:00
Richard Reingruber
7b9dfada86 8301216: ForkJoinPool invokeAll() ignores timeout
Reviewed-by: clanger
2023-07-23 05:36:13 +07:00
Goetz Lindenmaier
88c03c2166 8296934: Write a test to verify whether Undecorated Frame can be iconified or not
Backport-of: 7845b0d7b4
2023-07-23 05:36:13 +07:00
Goetz Lindenmaier
9909bde9f6 8292206: TestCgroupMetrics.java fails as getMemoryUsage() is lower than expected
Backport-of: 6ccee83958
2023-07-23 05:36:13 +07:00
Andrew Dinn
c641b18d61 8307331: Correctly update line maps when class redefine rewrites bytecodes
Backport-of: f94f957734
2023-07-23 05:36:12 +07:00
Matthias Baesken
0502c843ce 8305993: Add handleSocketErrorWithMessage to extend nio Net.c exception message
Backport-of: ebba42ac52
2023-07-23 05:36:12 +07:00
Guoxiong Li
afe4d826f0 8305690: [X86] Do not emit two REX prefixes in Assembler::prefix
Backport-of: 49726ee3a9
2023-07-23 05:36:12 +07:00
Goetz Lindenmaier
9af5ec6db0 8299570: [JVMCI] Insufficient error handling when CodeBuffer is exhausted
Reviewed-by: shade
Backport-of: ad326fc62b
2023-07-23 05:36:12 +07:00
Goetz Lindenmaier
c149bff710 8302508: Add timestamp to the output TraceCompilerThreads
Reviewed-by: shade
Backport-of: f813dc7183
2023-07-23 05:36:11 +07:00
Goetz Lindenmaier
d7e0b0873f 8297450: ScaledTextFieldBorderTest.java fails when run with -show parameter
Backport-of: ea83cb960d
2023-07-23 05:36:11 +07:00
Goetz Lindenmaier
9db43aed24 8289509: Improve test coverage for XPath Axes: descendant, descendant-or-self, following, following-sibling
Backport-of: 1961e81e02
2023-07-23 05:36:11 +07:00
Goetz Lindenmaier
6212570509 8296084: javax/swing/JSpinner/4788637/bug4788637.java fails intermittently on a VM
Backport-of: 319faa5afc
2023-07-23 05:36:11 +07:00
Goetz Lindenmaier
98a4704448 8292990: Improve test coverage for XPath Axes: parent
Backport-of: e393973761
2023-07-23 05:36:10 +07:00
Goetz Lindenmaier
f45434b60b 8244976: vmTestbase/nsk/jdi/Event/request/request001.java doesn' initialize eName
Backport-of: 1451642317
2023-07-23 05:36:10 +07:00
Goetz Lindenmaier
f21b08dc14 8286398: Address possibly lossy conversions in jdk.internal.le
Backport-of: e534c133af
2023-07-23 05:36:10 +07:00
Goetz Lindenmaier
a129b899eb 8286191: misc tests fail due to JDK-8285987
Reviewed-by: mbaesken
Backport-of: de8f4d01b2
2023-07-23 05:36:10 +07:00
Goetz Lindenmaier
c693444c91 8285987: executing shell scripts without #! fails on Alpine linux
Backport-of: 9d2f591e6a
2023-07-23 05:36:09 +07:00
Goetz Lindenmaier
3bcfdad24b 8283057: Update GCC to version 11.2.0 for Oracle builds on Linux
Reviewed-by: mbaesken
Backport-of: 8384ac4ed3
2023-07-23 05:36:09 +07:00
Goetz Lindenmaier
d74bddbf52 8275735: [linux] Remove deprecated Metrics api (kernel memory limit)
Backport-of: 9971a2cab3
2023-07-23 05:36:09 +07:00
Tyler Steele
da8187c618 8304291: [AIX] Broken build after JDK-8301998
Backport-of: 310aa93478
2023-07-23 05:36:09 +07:00
Aleksey Shipilev
34a9b20139 8306825: Monitor deflation might be accidentally disabled by zero intervals
Backport-of: a6b4f25bd5
2023-07-23 05:36:08 +07:00
Aleksey Shipilev
256ddef413 8306774: Make runtime/Monitor/GuaranteedAsyncDeflationIntervalTest.java more reliable
Reviewed-by: serb, simonis
Backport-of: 9ad6dc881d
2023-07-23 05:36:08 +07:00
Aleksey Shipilev
94f275b084 8305994: Guarantee eventual async monitor deflation
Reviewed-by: eastigeevich, simonis
Backport-of: 6b81342c22
2023-07-23 05:36:08 +07:00
Christoph Langer
5da74d1d8f 8257856: Make ClassFileVersionsTest.java robust to JDK version updates
Reviewed-by: mbaesken
Backport-of: 8b042d14b7
2023-07-23 05:36:08 +07:00
Goetz Lindenmaier
912f129cf7 8303508: Vector.lane() gets wrong value on x86
Backport-of: d61de141eb
2023-07-23 05:36:07 +07:00
Goetz Lindenmaier
72d70c63d3 8303069: Memory leak in CompilerOracle::parse_from_line
Backport-of: 384a8b85a7
2023-07-23 05:36:07 +07:00
Goetz Lindenmaier
552d442bc0 8303564: C2: "Bad graph detected in build_loop_late" after a CMove is wrongly split thru phi
Backport-of: 5e232cf0a9
2023-07-23 05:36:07 +07:00
Goetz Lindenmaier
a68d284910 8303511: C2: assert(get_ctrl(n) == cle_out) during unrolling
Reviewed-by: shade
Backport-of: 3f2d929dc3
2023-07-23 05:36:06 +07:00
Alexey Pavlyutkin
a511096129 8303861: Error handling step timeouts should never be blocked by OnError and others
Reviewed-by: phh, stuefe
Backport-of: a00f5d24d3
2023-07-23 05:36:06 +07:00
Sergey Nazarkin
e31b7d1ff2 8305481: gtest is_first_C_frame failing on ARM
Backport-of: 0243da2e4a
2023-07-23 05:36:06 +07:00
Goetz Lindenmaier
e16d0ceb45 8297955: LDAP CertStore should use LdapName and not String for DNs
8224768: Test ActalisCA.java fails

Backport-of: df9aad018a
2023-07-23 05:36:05 +07:00
Goetz Lindenmaier
3c2cd38b32 8303476: Add the runtime version in the release file of a JDK image
Backport-of: 32247c336a
2023-07-23 05:36:05 +07:00
Goetz Lindenmaier
81002724de 8287897: Augment src/jdk.internal.le/share/legal/jline.md with information on 4th party dependencies
Backport-of: bc28baeba9
2023-07-23 05:36:05 +07:00
Matthias Baesken
0b48a73e62 8303822: gtestMain should give more helpful output
Backport-of: 0f26d09da8
2023-07-23 05:36:05 +07:00
Aleksey Shipilev
bae4ce550a 8301190: [vectorapi] The typeChar of LaneType is incorrect when default locale is tr
Backport-of: c3ff151457
2023-07-23 05:36:04 +07:00
Christoph Langer
0fa19b7177 8289735: UTIL_LOOKUP_PROGS fails on pathes with space
8306976: UTIL_REQUIRE_SPECIAL warning on grep

Reviewed-by: mbaesken
Backport-of: bad6aa68e4
2023-07-23 05:36:04 +07:00
Thomas Stuefe
7f2f49f12a 8306883: Thread stacksize is reported with wrong units in os::create_thread logging
Backport-of: 27c5c1070a
2023-07-23 05:36:04 +07:00
William Kemper
3804b82d6b 8305403: Shenandoah evacuation workers may deadlock
Reviewed-by: shade
Backport-of: 793da60ee8
2023-07-23 05:36:03 +07:00
Goetz Lindenmaier
cb73ec982d 8303130: Document required Accessibility permissions on macOS
Reviewed-by: dmarkov
Backport-of: a10d5ac61b
2023-07-23 05:36:03 +07:00
Goetz Lindenmaier
480fdc7f30 8290822: C2: assert in PhaseIdealLoop::do_unroll() is subject to undefined behavior
Backport-of: cd77fcfb5f
2023-07-23 05:36:03 +07:00
Goetz Lindenmaier
784cef6826 8301491: C2: java.lang.StringUTF16::indexOfChar intrinsic called with negative character argument
Backport-of: 47ca5773a5
2023-07-23 05:36:03 +07:00
Goetz Lindenmaier
c195c415b8 8300079: SIGSEGV in LibraryCallKit::inline_string_copy due to constant NULL src argument
Reviewed-by: mdoerr
Backport-of: 45e4e00981
2023-07-23 05:36:02 +07:00
Christoph Langer
f8ef78382d 8306664: GHA: Update MSVC version to latest stepping
Reviewed-by: shade
2023-07-23 05:36:02 +07:00
Goetz Lindenmaier
5388dcf611 8302595: use-after-free related to GraphKit::clone_map
Reviewed-by: rrich
Backport-of: 3cc459b6c2
2023-07-23 05:36:02 +07:00
Goetz Lindenmaier
0dd0e8b40f 8293858: Change PKCS7 code to use default SecureRandom impl instead of SHA1PRNG
Backport-of: 2157145766
2023-07-23 05:36:02 +07:00
Goetz Lindenmaier
b8f5ed026b 8254711: Add java.security.Provider.getService JFR Event
8294673: JFR: Add SecurityProviderService#threshold to TestActiveSettingEvent.java

Reviewed-by: mbaesken
Backport-of: bc2af47e1e
2023-07-23 05:36:01 +07:00
Anton Kozlov
63479998e3 8306768: CodeCache Analytics reports wrong threshold
Reviewed-by: phh
2023-07-23 05:36:01 +07:00
Aleksey Shipilev
2234417d3b 8296545: C2 Blackholes should allow load optimizations
Reviewed-by: mdoerr
Backport-of: eab0ada3a1
2023-07-23 05:36:01 +07:00
Christoph Langer
b7cbf486eb 8306658: GHA: MSVC installation could be optional since it might already be pre-installed
Backport-of: d980cb4879
2023-07-23 05:36:00 +07:00
Aleksey Shipilev
0e387a45d3 8283566: G1: Improve G1BarrierSet::enqueue performance
Reviewed-by: tschatzl
Backport-of: 6ebf845ff7
2023-07-23 05:36:00 +07:00
Aleksey Shipilev
468ce2c9eb 8252990: Intrinsify Unsafe.storeStoreFence
Backport-of: b7a06be98d
2023-07-23 05:36:00 +07:00
Goetz Lindenmaier
7075d0d785 8302594: use-after-free in Node::destruct
Backport-of: 2e3cea01da
2023-07-23 05:36:00 +07:00
Goetz Lindenmaier
d6107bc8e7 8302172: [JVMCI] HotSpotResolvedJavaMethodImpl.canBeInlined must respect ForceInline
Backport-of: 1ef9f6507b
2023-07-23 05:35:59 +07:00
Goetz Lindenmaier
b7b14ce36c 8301338: Identical branch conditions in CompileBroker::print_heapinfo
Reviewed-by: mbaesken
Backport-of: d583767bf1
2023-07-23 05:35:59 +07:00
Goetz Lindenmaier
55ad383a13 8296412: Special case infinite loops with unmerged backedges in IdealLoopTree::check_safepts
Backport-of: da38d43fcc
2023-07-23 05:35:59 +07:00
Aleksey Shipilev
9dcc493683 8278146: G1: Rework VM_G1Concurrent VMOp to clearly identify it as pause
Reviewed-by: tschatzl
Backport-of: 3a1fca3adf
2023-07-23 05:35:58 +07:00
Masanori Yano
8d5ef9d938 8238274: (sctp) JDK-7118373 is not fixed for SctpChannel
Backport-of: d91e227abb
2023-07-23 05:35:58 +07:00
Goetz Lindenmaier
b246b394d7 8301998: Update HarfBuzz to 7.0.1
8304295: harfbuzz build fails with GCC 7 after JDK-8301998

Reviewed-by: phh
Backport-of: f5c8b68c1c
2023-07-23 05:35:58 +07:00
Christoph Langer
ae74b4933e 8306543: GHA: MSVC installation is failing
Backport-of: 5a00617b1b
2023-07-23 05:35:57 +07:00
Andrei Pangin
626d4e2e47 8201516: DebugNonSafepoints generates incorrect information
Reviewed-by: thartmann, shade
Backport-of: 94eda53d98
2023-07-23 05:35:57 +07:00
Goetz Lindenmaier
2d1699f8ec 8305400: ISO 4217 Amendment 175 Update
Backport-of: 7cf24d1c06
2023-07-23 05:35:57 +07:00
Goetz Lindenmaier
b17d874b4d 8304683: Memory leak in WB_IsMethodCompatible
Backport-of: 760c0128a4
2023-07-23 05:35:57 +07:00
Goetz Lindenmaier
f5b1b7f999 8304134: jib bootstrapper fails to quote filename when checking download filetype
Backport-of: 75168eaca3
2023-07-23 05:35:56 +07:00
Goetz Lindenmaier
909af5be46 8303482: Update LCMS to 2.15
Backport-of: c073ef2ed5
2023-07-23 05:35:56 +07:00
Goetz Lindenmaier
d325a62c46 8303588: [JVMCI] make JVMCI source directories conform with standard layout
Reviewed-by: mdoerr
Backport-of: 9fdbf3cfc4
2023-07-23 05:35:56 +07:00
Goetz Lindenmaier
8a28dfd28e 8302151: BMPImageReader throws an exception reading BMP images
Backport-of: aa10f0d3ee
2023-07-23 05:35:55 +07:00
Goetz Lindenmaier
e563aa74f3 8178806: Better exception logging in crypto code
Backport-of: b814cfc39d
2023-07-23 05:35:55 +07:00
Goetz Lindenmaier
56fdf88e8a 8301123: Enable Symbol refcounting underflow checks in PRODUCT
Backport-of: fccf818972
2023-07-23 05:35:55 +07:00
Goetz Lindenmaier
fa481bed5e 8297730: C2: Arraycopy intrinsic throws incorrect exception
Backport-of: 5a478ef775
2023-07-23 05:35:55 +07:00
Goetz Lindenmaier
8bacccb4da 8300823: UB: Compile::_phase_optimize_finished is initialized too late
Backport-of: e4252bb914
2023-07-23 05:35:54 +07:00
Goetz Lindenmaier
da1d6f3acf 8299179: ArrayFill with store on backedge needs to reduce length by 1
Backport-of: d716ec5d30
2023-07-23 05:35:54 +07:00
Goetz Lindenmaier
fdc23a96c3 8299259: C2: Div/Mod nodes without zero check could be split through iv phi of loop resulting in SIGFPE
Backport-of: 8b0133f276
2023-07-23 05:35:54 +07:00
Goetz Lindenmaier
0e68aff288 8296318: use-def assert: special case undetected loops nested in infinite loops
Backport-of: 736fcd49f7
2023-07-23 05:35:53 +07:00
Goetz Lindenmaier
cb2da35151 8298488: [macos13] tools/jpackage tests failing with "Exit code: 137" on macOS
Reviewed-by: mdoerr
Backport-of: 8962c723a8
2023-07-23 05:35:53 +07:00
Goetz Lindenmaier
bc8ca432c5 8271519: java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java failed with "Total [200] - Expected [400]"
Backport-of: 9f94cbec51
2023-07-23 05:35:53 +07:00
Goetz Lindenmaier
9555b1043d 8285635: javax/swing/JRootPane/DefaultButtonTest.java failed with Default Button not pressed for L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel
Backport-of: 79c0092125
2023-07-23 05:35:53 +07:00
Goetz Lindenmaier
64bbc69476 8289949: Improve test coverage for XPath: operators
Backport-of: f6b6360155
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
f47bb0b324 8277775: Fixup bugids in RemoveDropTargetCrashTest.java - add 4357905
Backport-of: 22347e46f7
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
f15d48558c 8282704: runtime/Thread/StopAtExit.java may leak memory
Backport-of: 3f923b82c3
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
f4992570d0 8273909: vmTestbase/nsk/jdi/Event/request/request001 can still fail with "ERROR: new event is not ThreadStartEvent"
Backport-of: 5fde4b64e2
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
3c06052b09 8270434: JDI+UT: Unexpected event in JDI tests
Backport-of: 8c022e2c17
2023-07-23 05:35:52 +07:00
Goetz Lindenmaier
649803df7e 8270869: G1ServiceThread may not terminate
Backport-of: 7f35e5bac9
2023-07-23 05:35:51 +07:00
Goetz Lindenmaier
823d9b0e88 8268298: jdk/jfr/api/consumer/log/TestVerbosity.java fails: unexpected log message
Backport-of: 06d26208c5
2023-07-23 05:35:51 +07:00
Sergey Bylokhov
74e2d20b57 8298887: On the latest macOS+XCode the Robot API may report wrong colors
Reviewed-by: phh
Backport-of: 50120396b6
2023-07-23 05:35:51 +07:00
Aleksey Shipilev
05b61d2ab9 8269821: Remove is-queue-active check in inner loop of write_ref_array_pre_work
Reviewed-by: tschatzl
Backport-of: 675a9520b2
2023-07-23 05:35:51 +07:00
Goetz Lindenmaier
ed822ac285 8299959: C2: CmpU::Value must filter overflow computation against local sub computation
Backport-of: 5f66024e95
2023-07-23 05:35:50 +07:00
Goetz Lindenmaier
f8ea6c9331 8297000: [jib] Add more friendly warning for proxy issues
Backport-of: 0d93ab9dff
2023-07-23 05:35:50 +07:00
Goetz Lindenmaier
1f0c564bcb 8295564: Norwegian Nynorsk Locale is missing formatting
Reviewed-by: andrew
Backport-of: b37421e757
2023-07-23 05:35:50 +07:00
Goetz Lindenmaier
f2f2db8236 8294906: Memory leak in PKCS11 NSS TLS server
Backport-of: 94caecbe57
2023-07-23 05:35:50 +07:00
Goetz Lindenmaier
d45d91c7ce 8292755: Non-default method in interface leads to a stack overflow in JShell
Backport-of: 2a3879180e
2023-07-23 05:35:49 +07:00
Goetz Lindenmaier
c90b6899e2 8287007: [cgroups] Consistently use stringStream throughout parsing code
Backport-of: e0baf012b1
2023-07-23 05:35:49 +07:00
Goetz Lindenmaier
2ee968b9d9 8287246: DSAKeyValue should check for missing params instead of relying on KeyFactory provider
Backport-of: f235955eef
2023-07-23 05:35:49 +07:00
Jaroslav Bachorik
036fe2e7fd 8245877: assert(_value != __null) failed: resolving NULL _value in JvmtiExport::post_compiled_method_load
Backport-of: b969136b9f
2023-07-23 05:35:49 +07:00
Andrew John Hughes
ee13c52118 8305113: (tz) Update Timezone Data to 2023c
Reviewed-by: phh
Backport-of: ed9592c6e8
2023-07-23 05:35:48 +07:00
Goetz Lindenmaier
b2c97200f4 8288589: Files.readString ignores encoding errors for UTF-16
Backport-of: 2728770e3d
2023-07-23 05:35:48 +07:00
Thomas Stuefe
070b037306 8305711: Arm: C2 always enters slowpath for monitorexit
Backport-of: c67bbcea92
2023-07-23 05:35:47 +07:00
Joshua Cao
fa2a359245 8305721: add make compile-commands artifacts to .gitignore
Reviewed-by: phh
Backport-of: 9e20382311
2023-07-23 05:35:47 +07:00
Andrew John Hughes
1fe0dd5b50 8274864: Remove Amman/Cairo hacks in ZoneInfoFile
Backport-of: ec199072c5
2023-07-23 05:35:47 +07:00
Ilarion Nakonechnyy
731ed02fef 8302491: NoClassDefFoundError omits the original cause of an error
Reviewed-by: phh
Backport-of: 5685107579
2023-07-23 05:35:47 +07:00
Dan Lutker
7c420c8c5f 8293887: AArch64 build failure with GCC 12 due to maybe-uninitialized warning in libfdlibm k_rem_pio2.c
Backport-of: 02ea338177
2023-07-23 05:35:46 +07:00
Dan Lutker
893cc4537a 8294281: Allow warnings to be disabled on a per-file basis
Backport-of: e45f3d5176
2023-07-23 05:35:46 +07:00
Glavo
dbbb55de86 8278834: Error "Cannot read field "sym" because "this.lvar[od]" is null" when compiling
Reviewed-by: phh
Backport-of: be0538d7c8
2023-07-23 05:35:46 +07:00
Martin Doerr
22abe3272e 8304880: [PPC64] VerifyOops code in C1 doesn't work with ZGC
Reviewed-by: rrich
Backport-of: 695683b5b1
2023-07-23 05:35:46 +07:00
Goetz Lindenmaier
a8669849c9 8278434: timeouts in test java/time/test/java/time/format/TestZoneTextPrinterParser.java
Backport-of: 8dc4437d00
2023-07-23 05:35:45 +07:00
Goetz Lindenmaier
4fa2317aaa 8291638: Keep-Alive timeout of 0 should close connection immediately
Backport-of: 26ac836636
2023-07-23 05:35:45 +07:00
Goetz Lindenmaier
b23fb48384 8282227: Locale information for nb is not working properly
Backport-of: 3d07b3c7f0
2023-07-23 05:35:45 +07:00
Goetz Lindenmaier
175f3a2e3b 8275721: Name of UTC timezone in a locale changes depending on previous code
Backport-of: 543d1a8cf4
2023-07-23 05:35:45 +07:00
Matthias Baesken
f132881f29 8304671: javac regression: Compilation with --release 8 fails on underscore in enum identifiers
Reviewed-by: phh
Backport-of: 63d4afbeb1
2023-07-23 05:35:44 +07:00
Goetz Lindenmaier
ae59792000 8291226: Create Test Cases to cover scenarios for JDK-8278067
Backport-of: 86ec158dfb
2023-07-23 05:35:44 +07:00
Goetz Lindenmaier
77dcf04580 8291637: HttpClient default keep alive timeout not followed if server sends invalid value
Backport-of: b17a745d7f
2023-07-23 05:35:44 +07:00
Goetz Lindenmaier
209c44faa2 8287541: Files.writeString fails to throw IOException for charset "windows-1252"
Backport-of: 6fb84e2c91
2023-07-23 05:35:44 +07:00
Goetz Lindenmaier
066dbcbb7e 8286287: Reading file as UTF-16 causes Error which "shouldn't happen"
Backport-of: cc7560e995
2023-07-23 05:35:43 +07:00
Goetz Lindenmaier
2cfca521e8 8283062: Uninitialized warnings in libgtest with GCC 11.2
Backport-of: a244051a8c
2023-07-23 05:35:43 +07:00
Goetz Lindenmaier
8d19648c96 8282077: PKCS11 provider C_sign() impl should handle CKR_BUFFER_TOO_SMALL error
Backport-of: d7f31d0d53
2023-07-23 05:35:43 +07:00
Goetz Lindenmaier
4ea4c810b6 8268288: jdk/jfr/api/consumer/streaming/TestOutOfProcessMigration.java fails with "Error: ShouldNotReachHere()"
Reviewed-by: mbaesken
Backport-of: 0a09092631
2023-07-23 05:35:42 +07:00
Sergey Bylokhov
a0e33fd5d1 8302849: SurfaceManager might expose partially constructed object
Backport-of: 63ef214328
2023-07-23 05:35:42 +07:00
Sergey Bylokhov
28746d6124 8303102: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN
Backport-of: a43931b79c
2023-07-23 05:35:42 +07:00
Sergey Bylokhov
bd9136978e 8227257: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError
Reviewed-by: phh
Backport-of: 78b1686c15
2023-07-23 05:35:41 +07:00
Matthias Baesken
496e7a545b 8303575: adjust Xen handling on Linux aarch64
Reviewed-by: clanger
Backport-of: 8eaf84f094
2023-07-23 05:35:41 +07:00
Matthias Baesken
a80b946148 8300042: Improve CPU related JFR events descriptions
Backport-of: e326b86d37
2023-07-23 05:35:41 +07:00
Matthias Baesken
cc8e82817b 8303576: addIdentitiesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Backport-of: a7e308ab6e
2023-07-23 05:35:40 +07:00
Goetz Lindenmaier
101b44c281 8292301: [REDO v2] C2 crash when allocating array of size too large
Reviewed-by: roland, mdoerr
Backport-of: 1ea0d6b424
2023-07-23 05:35:40 +07:00
Matthias Baesken
0ea456001a 8304063: tools/jpackage/share/AppLauncherEnvTest.java fails when checking LD_LIBRARY_PATH
Backport-of: ebac7eec8e
2023-07-23 05:35:40 +07:00
Matthias Baesken
fc278cf7dd 8303949: gcc10 warning Linux ppc64le - note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
Reviewed-by: phh
Backport-of: a32ee5dd8b
2023-07-23 05:35:40 +07:00
Matthias Baesken
d4a5ee319d 8303354: addCertificatesToKeystore in KeystoreImpl.m needs CFRelease call in early potential CHECK_NULL return
Backport-of: b51ea4204e
2023-07-23 05:35:39 +07:00
Matthias Baesken
df9d061819 8301050: Detect Xen Virtualization on Linux aarch64
Reviewed-by: clanger
Backport-of: 11804b246e
2023-07-23 05:35:39 +07:00
Ravali Yatham
320a02fd3c 8302791: Add specific ClassLoader object to Proxy IllegalArgumentException message
Reviewed-by: mchung, phh
Backport-of: 9f9d678591
2023-07-23 05:35:39 +07:00
Johannes Bechberger
2dbad060cb 8302320: AsyncGetCallTrace obtains too few frames in sanity test
Backport-of: db483a38a8
2023-07-23 05:35:38 +07:00
Man Cao
9d6cb36161 8303937: Corrupted heap dumps due to missing retries for os::write()
Reviewed-by: clanger
Backport-of: bf16b5b988
2023-07-23 05:35:38 +07:00
Sergey Bylokhov
38bcd2ba63 8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id
Backport-of: cfb0a25a4e
2023-07-23 05:35:38 +07:00
Sergey Bylokhov
8efe8917ca 8270859: Post JEP 411 refactoring: client libs with maximum covering > 10K
Backport-of: 90cd2fa164
2023-07-23 05:35:38 +07:00
Vladimir Kempik
a4a6e0a6c8 8292407: Improve Weak CAS VarHandle/Unsafe tests resilience under spurious failures
Backport-of: 6e6202c14d
2023-07-23 05:35:37 +07:00
Goetz Lindenmaier
df534dd672 8303433: Bump update version for OpenJDK: jdk-17.0.8
Reviewed-by: rrich
2023-07-23 05:35:37 +07:00
Vitaly Provodin
6298a9d861 update exclude list on results of 17.0.7_b1030.2 test runs 2023-07-21 06:42:08 +07:00
Maxim Kartashev
967210f131 JBR-5815 javax/swing/AbstractButton/6711682/bug6711682.java: Row #2 checkbox is not selected
Fixed the test to use proper cell coordinates when clicking.
2023-07-13 11:52:46 +04:00
bourgesl
ec80533eae fixup! JBR-5625: use sun.java2d.metal.colorMatching=true by default (current metal behaviour) 2023-07-12 21:12:56 +02:00
Vitaly Provodin
87c753ee01 update exclude list on results of 17.0.7_b1027.5 test runs 2023-07-11 16:27:08 +07:00
Vitaly Provodin
37467684d4 update exclude list on results of 17.0.7_b1023.3 test runs (follow up) 2023-07-07 19:30:26 +07:00
Vitaly Provodin
01e230a9d8 update exclude list on results of 17.0.7_b1023.3 test runs (follow up) 2023-07-07 07:22:34 +07:00
Alexey Ushakov
54928df298 JBR-5807 java/awt/Frame/FrameVisible/FrameContentAppearanceTest.java: Failed: OpenGL 26 image rendering failure(s)
Added synchronisation for rendering and appearance
2023-07-06 19:07:47 +02:00
Maxim Kartashev
d86b0671a9 JBR-5466 jb/hotspot/JNIRefsInCrashLog.java: 'hs_err_42.txt' missing from stdout/stderr 2023-07-06 11:23:28 +04:00
Vitaly Provodin
b8dcdcde67 update exclude list on results of 17.0.7_b1023.3 test runs 2023-07-05 05:48:14 +07:00
bourgesl
ec605cbf20 fixup! JBR-5625: use CGColorSpaceCopyName() available since macOS 10.6 in MTLLayer
(cherry picked from commit 4ec4f728f4461a0c173bb80cd3f3c9652f267f4f)
2023-07-01 12:33:32 +02:00
bourgesl
8126139d6a JBR-5625: disable color-matching (colorspace = nil) in MTLLayer by default (see new system property 'sun.java2d.metal.colorMatching=true/false') + added new MetalLayerColorTest 2023-06-30 18:06:28 +02:00
Vitaly Provodin
994168c829 update exclude list on results of 17.0.7_b1014.2 test runs 2023-06-30 18:36:19 +07:00
Maxim Kartashev
7098b2a081 JBR-5777 isWindowMoveSupported() doesn't work with non-default GraphicsEnvironment
Co-authored-by: Nikita Gubarkov <nikita.gubarkov@jetbrains.com>
2023-06-28 11:47:51 +04:00
Sergey Shelomentsev
ba68026993 fixup! JBR-5746 add mouse events logging 2023-06-27 23:17:37 +03:00
Dmitrii Morskii
e4e9a016e0 fixup! JBR-1775: improved logic for choosing newer font between system and bundled ones 2023-06-26 17:58:18 +02:00
Dmitry Batrak
924d8258fc JBR-5720 Wrong modifiers are reported for mouse middle and right buttons' release/clicked events 2023-06-26 12:09:27 +03:00
Alexey Ushakov
45b0c16363 JBR-5704 displaySyncOFF: javax/swing/JDialog/Transparency/TransparencyTest.java: JDialog transparency lost upon iconify/deiconify sequence
Corrected startRedraw method to call setNeedsDisplay in displaySync=false mode

(cherry picked from commit bd291402b1)
2023-06-23 19:24:14 +02:00
Alexey Ushakov
eb438186f4 JBR-5151 Test failures caused by -Dsun.java2d.metal.displaySync=false
Removed display sync from window layer, provide layer content updates only when necessary
2023-06-23 19:02:00 +02:00
Maxim Kartashev
695598f50a JBR-5722 vmTestbase/vm/gc/compact/Compact_TwoFields_InternedStrings: SIGSEGV at Symbol::as_klass_external_name(char*, int)
Do not use print_native_stack() when recording OOME stacks as it is
designed to be used only in the context of a fatal error reporting where
induced crash is tolerated.
Also, fixed the mutex to use more appropriate attributes.
2023-06-23 12:58:09 +04:00
Dmitry Batrak
576d818e54 JBR-5684 Focus state is broken after closing of modal dialog in an inactive application 2023-06-23 11:26:41 +03:00
Nikita Provotorov
fb12990a98 JBR-5762 Sometimes naturally generated MOUSE_DRAGGED events don't contain the pressed button's modifier.
Enforce keeping the pressed button in the modifiers for MOUSE_DRAGGED events. This is under a (default enabled) system property "awt.mac.enforceMouseModifiersForMouseDragged".
2023-06-22 18:29:03 +03:00
Maxim Kartashev
7814b100f3 JBR-5761 Make error printing more robust during early stages of VM initialization 2023-06-21 19:49:26 +04:00
Dmitrii Morskii
5ef38ed8fa JBR-1775: improved logic for choosing newer font between system and bundled ones 2023-06-20 19:27:34 +02:00
Sergey Shelomentsev
503ff435f3 JBR-5746 wait for menu visibility of fail the test 2023-06-20 18:42:23 +03:00
Vitaly Provodin
9e2b36f851 update exclude list on results of 17.0.7_b985.2 test runs 2023-06-17 04:50:49 +07:00
Nikita Tsarev
ffd4d15a97 JBR-5379: Ignore input events only on permament focus loss 2023-06-16 15:19:05 +02:00
Prasanta Sadhukhan
024bf7ea1a 8305942: Open source several AWT Focus related tests
Reviewed-by: prr
(cherry picked from commit 8346ae2bc1)
2023-06-13 22:26:28 +03:00
Damon Nguyen
f07fcaa150 8306466: Open source more AWT Drag & Drop related tests
Reviewed-by: prr
(cherry picked from commit 418a82551a)
2023-06-13 22:26:20 +03:00
Vitaly Provodin
19ad2c2e41 update exclude list on results of 17.0.7_b979.4 test runs 2023-06-10 05:26:21 +07:00
Nikita Gubarkov
dec2a4ea61 JBR-5637 Linux: force release grabs before doing _NET_WM_MOVERESIZE. 2023-06-06 22:05:15 +02:00
Sergey Shelomentsev
c4b0af93c9 fixup! JBR-5670 restore original display mode 2023-06-06 19:16:29 +03:00
Sergey Shelomentsev
fa3071a8bb JBR-5701 update source and target java version in J2DBench build file 2023-06-06 15:54:53 +03:00
Sergey Shelomentsev
934219ee41 JBR-2870 add resression test for JPopupMenu
- verify that the popup menu is usable if overlaps WM's dock panel of the bottom of screen
2023-06-06 11:42:18 +03:00
Sergey Bylokhov
95f5df40c1 8287761: Make the logging of J2DBench stable
Reviewed-by: aghaisas, prr
2023-06-02 22:17:38 +03:00
Nikita Tsarev
b9af936110 JBR-5630: vmoption to change dead key reporting behavior on macOS 2023-06-02 17:18:26 +02:00
Nikita Tsarev
a015cccddc JBR-5469: Fix NextAppWinKey behavior with certain keys 2023-06-02 17:18:26 +02:00
Nikita Tsarev
228529b24f JBR-5558: macOS keyboard rewrite 2 2023-06-02 17:18:20 +02:00
Vladislav Rassokhin
d05a3770f0 JBR-5600 Reduce noise in signing scripts output
(cherry picked from commit 4e2fa80e86)
2023-06-02 20:35:12 +07:00
Vladislav Rassokhin
d2eb357bcc JBR-5600 Sign frameworks as whole, verify framework signature before full app sign
(cherry picked from commit ebb82ed952)
2023-06-02 20:35:12 +07:00
Vladislav Rassokhin
8730ade05b tools/mac/scripts: minor improvements
* don't move into itself
* use `PKG_NAME` variable instead of `${APP_NAME}.pkg`
* cleanup sign.sh
* add `SCRIPT_VERBOSE` env variable to control `set -x`

(cherry picked from commit 45a9853b23)
2023-06-02 20:35:12 +07:00
Vladislav Rassokhin
b69f01fa9b JBR-5600 Staple .pkg with signature
(cherry picked from commit e1dc322fd3)
2023-06-02 20:35:11 +07:00
Vladislav Rassokhin
e9ae158f79 JBR-5600 Notarize macOS binaries using notarytool
(cherry picked from commit f0f1734d50)
2023-06-02 20:35:11 +07:00
Vladislav Rassokhin
c803113d4b JBR-5600 Sign macOS binaries using jet-sign
(cherry picked from commit 9cbf4e489b)
2023-06-02 20:35:11 +07:00
Sergey Shelomentsev
7fef5c3f09 JBR-5670 restore initial display mode after test execution 2023-06-02 14:28:58 +03:00
Sergey Shelomentsev
d8a57d0f7b JBR-4880 Fix DeadKeySystemAssertionDialog to avoid receiving key event out of the window 2023-06-02 14:28:52 +03:00
Alexey Ushakov
25a4e749ad JBR-5649 Flickering in multi-monitor configuration
Provided corrected initial value for currentDisplayID

(cherry picked from commit 9ba9286595)
2023-05-31 12:44:14 +02:00
Nikita Provotorov
cba981df4b JBR-5668: The implementation of a11y announcing for macOS crashes with -Xcheck:jni.
- Create a global reference of the passed to EDT accessible object (the local reference) to use it in the AppKit thread ;
- Enable -Xcheck:jni in the tests ;
- Make the tests handle the problematic case .
2023-05-30 17:01:18 +03:00
Sergey Shelomentsev
c229e13d3c JBR-5579 Update mouse location checks, set window always on top for ActionListenerTest 2023-05-29 18:39:48 +03:00
Sergey Shelomentsev
7b2806d3fa JBR-5551 update hit tests on custom title bar
- set windows always on top
- verify mouse location before clicking
2023-05-29 18:39:43 +03:00
Sergey Shelomentsev
a61c48d9f7 remove jb/java/awt/CustomTitleBar/MouseEventsOnClientArea.java 2023-05-29 17:16:42 +03:00
Sergey Shelomentsev
494235b0ca JBR-5577 fix MouseEventsOnClientArea test
- add Swing/AWT specific Task runners
- split MouseEventsOnClientArea to separate AWT/Swing tests
- use CountDownLatch for tracking mouse events
2023-05-29 17:15:45 +03:00
Sergey Shelomentsev
78bf69d7a8 remove jb/java/awt/Window/ZOrderOnModalDialogActivation.java 2023-05-29 15:28:39 +03:00
Sergey Shelomentsev
df5b1f9100 JBR-4494 pass ui scale options for child process 2023-05-29 15:28:18 +03:00
bourgesl
d3d6de0551 JBR-5651: Improved MTLVertexCache to merge consecutive full-tiles ie use 1 larger quad instead of many quads per row, full-tile is only using 1x1 pixel (full), applied to color, gradient & texture paints + fixed clang warnings
(cherry picked from commit ff9ecea896)
2023-05-24 11:24:36 +02:00
bourgesl
868bb8da72 JBR-5638: improved renderer performance for simple rectangular area (see BBoxAATileGenerator), added new statistics in Renderer
(cherry picked from commit 071d81d294)
2023-05-24 11:24:36 +02:00
Vitaly Provodin
47845c22e1 update exclude list on results of 17.0.7_b953.1 test runs 2023-05-19 18:39:23 +07:00
ngubarkov
e805830832 JBR-5605 ignore empty client area when syncing bounds in XDecoratedPeer. 2023-05-18 22:38:54 +03:00
Maxim Kartashev
34d7fab3ca JBR-5637 Linux: implement window position change with WM help
Introduced JBR.isWindowMoveSupported() and
JBR.getWindowMove().startMovingTogetherWithMouse()
2023-05-18 17:39:20 +04:00
Vitaly Provodin
a7252d53ed JBR-5627 add regression test AsyncProfilerRunnerTest 2023-05-18 05:11:00 +07:00
Maxim Kartashev
6b6d32529d JBR-5631 Refactor Dockerfile for x64 builds 2023-05-16 07:15:32 +07:00
Vitaly Provodin
756792c03e JBR-5603 build aarch64 Linux from arm64v8/centos:7 and check glibc to be not higher 2.17 2023-05-12 19:16:35 +07:00
Alexey Ushakov
2ac8a86475 JBR-5580 J2DBench: ~15% drop performance  because of non optimal synchronization in metal (MBP 16'' x64)
Replaced NSMutableArray with NSMutableSet, removed unnecessary __block modifier.
2023-05-10 21:09:05 +02:00
Alexey Ushakov
4959205a1f JBR-5580 J2DBench: ~15% drop performance because of non optimal synchronization in metal (MBP 16'' x64)
Removed NSLock and moved all operations to the AppKit thread
2023-05-04 15:29:03 +02:00
bourgesl
ac97530bd0 JBR-5170: improved color maskFill performance: using a new MaskColorBuffer and a specific shader (vert_txt_col)
fix crash in J2DDemo with advanced paints + artefacts with texture background
(cherry picked from commit 9c1f618e1a6239ad8c400d7b94ccd4a885ec02d7)
(cherry picked from commit c352cfb25d7f8188540b094bb484f7f438142be4)
2023-05-03 17:16:52 +02:00
Vitaly Provodin
30aa7f033a update exclude list on results of 17.0.6_b929.7 test runs 2023-04-27 16:44:49 +07:00
Alexey Ushakov
df1fdb86db JBR-5559 SwingMark performance drop after removing additional command queue
Added command queue and provided synchronization between the command queues
2023-04-24 20:40:44 +02:00
Vitaly Provodin
772f1d5b6d rebase exclude-list on top of 17.0.7 2023-04-21 10:40:27 +07:00
Nikita Provotorov
a7afa5c2e9 JBR-5536: Crash on macOS bad JNI lookup in Java_sun_swing_AccessibleAnnouncer_nativeAnnounce
Stop using the JNIEnv instance bound to EDT in the AppKit thread.

(cherry picked from commit 0f49341f4d)
2023-04-20 19:23:21 +03:00
Christoph Langer
900625970e 8299597: [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 17.0.7
Reviewed-by: goetz
2023-04-20 16:33:19 +07:00
Alexei Voitylov
d0692a98f2 8299129: Enhance NameService lookups
Reviewed-by: mbalao
Backport-of: 1aef50354aaa0831b58de81db3d6bf30b9a277d1
2023-04-20 16:33:17 +07:00
Aleksei Voitylov
5d59973f1e 8298667: Improved path handling
Reviewed-by: mbalao
Backport-of: 900abc284669d1aadeac8026ad618c9f1dc553a6
2023-04-20 16:33:16 +07:00
Alexey Bakhtin
496485fce6 8298310: Enhance TLS session negotiation
Reviewed-by: mbalao
Backport-of: 9a14b363feaaa1a1831fcc8620d41b4db2e0110a
2023-04-20 16:33:14 +07:00
Anton Kozlov
6f614aade2 8298191: Enhance object reclamation process
Reviewed-by: johnc, rkennke
2023-04-20 16:33:13 +07:00
Martin Balao
f9b8bd6daa 8297371: Improve UTF8 representation redux
Reviewed-by: yan
Backport-of: a44eb133d3cdb190abb0210c201e315d94d09dc7
2023-04-20 16:33:12 +07:00
Yuri Nesterenko
8fc1c93ec6 8296832: Improve Swing platform support
Reviewed-by: mbalao
Backport-of: a81c810a76d91b79917417ed22e5e5aa530690ca
2023-04-20 16:33:09 +07:00
Ekaterina Vergizova
52f38235fe 8296692: Improve String platform support
Reviewed-by: mbalao
Backport-of: ed8643947e21263588cb6e9202efb3a30f450c4e
2023-04-20 16:33:08 +07:00
Olga Mikhaltsova
34fdbbf6bd 8296684: Improve String platform support
Reviewed-by: mbalao
Backport-of: 9ae682726873de27cef4d3bd5523713f4ff98266
2023-04-20 16:33:05 +07:00
Martin Balao
1a147cb908 8296676: Improve String platform support
Reviewed-by: mbaesken
Backport-of: d083a3c21e8849ed2a8b79aba37b46d921886a05
2023-04-20 16:33:04 +07:00
Aleksei Voitylov
66cf0de971 8295304: Runtime support improvements
Reviewed-by: mbalao
Backport-of: 9c31d51bd5fc17e3914142c2461f3abfe71651d0
2023-04-20 16:33:01 +07:00
Martin Balao
310542c500 8294474: Better AES support
Reviewed-by: mbaesken
Backport-of: 0c534f3309a308e89363ec69dee74d95fd9647a4
2023-04-20 16:33:01 +07:00
Martin Balao
3c9b76b51f 8288436: Improve Xalan supports
Reviewed-by: mbaesken
Backport-of: 6899dff264c9030a3016e292c3f3f6738bde97cc
2023-04-20 16:33:00 +07:00
Martin Balao
8b35b260ae 8287404: Improve ping times
Reviewed-by: mbaesken
Backport-of: 5a054b372dbd751fe1b312375153f13e70d7131f
2023-04-20 16:32:57 +07:00
Severin Gehwolf
63aae7da49 8304871: Use default visibility for static library builds
Backport-of: f0dba218ac
2023-04-20 16:32:54 +07:00
Goetz Lindenmaier
18995093dc 8289511: Improve test coverage for XPath Axes: child
Backport-of: cfe9026fe0
2023-04-20 16:32:53 +07:00
Goetz Lindenmaier
e2613ebd40 8284524: Create an automated test for JDK-4422362
Backport-of: b9de0a7556
2023-04-20 16:32:52 +07:00
Goetz Lindenmaier
4171612b70 8284767: Create an automated test for JDK-4422535
Backport-of: 5ae4320921
2023-04-20 16:32:49 +07:00
Goetz Lindenmaier
d6bcd7f41f 8210927: JDB tests do not update source path after doing a redefine class
Backport-of: 61ac53f6e5
2023-04-20 16:32:48 +07:00
Goetz Lindenmaier
6332555187 8048190: NoClassDefFoundError omits original ExceptionInInitializerError
Reviewed-by: phh
Backport-of: 464e874a5c
2023-04-20 16:32:45 +07:00
Goetz Lindenmaier
f2c60fa302 8290197: test/jdk/java/nio/file/Files/probeContentType/Basic.java fails on some systems for the ".rar" extension
Backport-of: 44fb92e2aa
2023-04-20 16:32:45 +07:00
Masanori Yano
d655c3a940 8213531: Test javax/swing/border/TestTitledBorderLeak.java fails
Reviewed-by: phh
Backport-of: 07d24509a6
2023-04-20 16:32:44 +07:00
bell-sw
3f51662b74 Revert "JBR-2207 TitledBorder leaks PropertyChangeListener"
This reverts commit dca1987fb5.
2023-04-20 16:32:41 +07:00
Goetz Lindenmaier
923551fa2b 8294548: Problem list SA core file tests on macosx-x64 due to JDK-8294316
Reviewed-by: clanger
Backport-of: 545ded1a82
2023-04-20 16:32:38 +07:00
George Adams
2462aad3e8 8302879: doc/building.md update link to jtreg builds
Reviewed-by: clanger
Backport-of: bb3dfd6adb
2023-04-20 16:32:37 +07:00
Adam Sotona
8373821a3f 8293000: Review running times of jshell regression tests
Backport-of: b4e1e416da
2023-04-20 16:32:34 +07:00
Scott Gibbons
70bb937db3 8280703: CipherCore.doFinal(...) causes potentially massive byte[] allocations during decryption
Backport-of: 409382ba4b
2023-04-20 16:32:33 +07:00
Anton Kozlov
ae215fe8e8 8289647: AssertionError during annotation processing of record related tests
Reviewed-by: phh
Backport-of: 64a1a08ff9
2023-04-20 16:32:32 +07:00
Shruthi
25fa75dc87 8266974: duplicate property key in java.sql.rowset resource bundle
Backport-of: e3d5c9e7c4
2023-04-20 16:32:30 +07:00
Shruthi
1dca113b39 8300751: [17u] Remove duplicate entry in javac.properties
Reviewed-by: clanger
2023-04-20 16:32:28 +07:00
Goetz Lindenmaier
0a76322a79 8245654: Add Certigna Root CA
Reviewed-by: phh
Backport-of: 8c87a67419
2023-04-20 16:32:27 +07:00
Goetz Lindenmaier
b88ea4667d 8294902: Undefined Behavior in C2 regalloc with null references
Reviewed-by: rrich, phh
Backport-of: 0bbc4181cd
2023-04-20 16:32:26 +07:00
Goetz Lindenmaier
de2c623007 8251177: [macosx] The text "big" is truncated in JTabbedPane
Backport-of: 16ebe40a1b
2023-04-20 16:32:24 +07:00
Radim Vansa
6c8b2fbec8 8272702: Resolving URI relative path with no / may lead to incorrect toString
Reviewed-by: phh
Backport-of: 79597f1ea6
2023-04-20 16:32:21 +07:00
Victor Rudometov
68fe4c31c4 8299970: Speed up compiler/arraycopy/TestArrayCopyConjoint.java
Backport-of: 5d39d14522
2023-04-20 16:32:20 +07:00
Patrick Zhang
f0162cda25 8298472: AArch64: Detect Ampere-1 and Ampere-1A CPUs and set default options
Reviewed-by: aph, goetz
Backport-of: 7068457436
2023-04-20 16:32:19 +07:00
Victor Rudometov
64dc8f17c2 8302152: Speed up tests with infinite loops, sleep less
Backport-of: a9a53f417d
2023-04-20 16:32:19 +07:00
Victor Rudometov
e0c0d316d9 8301342: Prefer ArrayList to LinkedList in LayoutComparator
Backport-of: d67bfe21a2
2023-04-20 16:32:16 +07:00
Goetz Lindenmaier
0de40cda7c 8288332: Tier1 validate-source fails after 8279614
Backport-of: e90b579b29
2023-04-20 16:32:15 +07:00
Christoph Langer
90984b3309 8302692: [17u] Update GHA Boot JDK to 17.0.6
Reviewed-by: mbaesken, sgehwolf
2023-04-20 16:32:14 +07:00
Ekaterina Vergizova
7a31688f2c 8301842: JFR: increase checkpoint event size for stacktrace and string pool
Backport-of: 7dfe75cf55
2023-04-20 16:32:11 +07:00
Roman Marchenko
3a6778fa06 8297437: javadoc cannot link to old docs (with old style anchors)
Reviewed-by: phh
Backport-of: 15a1488401
2023-04-20 16:32:10 +07:00
Goetz Lindenmaier
fae1b1ee46 8282958: Rendering Issues with Borders on Windows High-DPI systems
Backport-of: 9911405e54
2023-04-20 16:32:08 +07:00
Goetz Lindenmaier
b13ddad0e0 8295777: java/net/httpclient/ConnectExceptionTest.java should not rely on system resolver
Backport-of: 65c84e0cf8
2023-04-20 16:32:07 +07:00
Goetz Lindenmaier
021733d4b8 8294958: java/net/httpclient/ConnectTimeout tests are slow
Backport-of: fe70487d0b
2023-04-20 16:32:03 +07:00
Goetz Lindenmaier
02f7771288 8279614: The left line of the TitledBorder is not painted on 150 scale factor
Backport-of: b42c1ad108
2023-04-20 16:32:03 +07:00
Goetz Lindenmaier
18abd53ce6 8281170: Test jdk/tools/jpackage/windows/WinInstallerIconTest always fails on Windows 11
Backport-of: bb4dece246
2023-04-20 16:32:02 +07:00
Matthias Baesken
f054e01c3a 8300266: Detect Virtualization on Linux aarch64
Reviewed-by: clanger
Backport-of: 544c16e0bd
2023-04-20 16:32:01 +07:00
Goetz Lindenmaier
21265896a8 8288415: java/awt/PopupMenu/PopupMenuLocation.java is unstable in MacOS machines
Backport-of: a2f67660f0
2023-04-20 16:32:00 +07:00
Matthias Baesken
70767fc3c4 8300205: Swing test bug8078268 make latch timeout configurable
Backport-of: e82dc6935b
2023-04-20 16:31:59 +07:00
Matthias Baesken
0151a0e1c6 8299957: Enhance error logging in instrument coding with additional jplis_assert_msg
Backport-of: be8e6d05db
2023-04-20 16:31:59 +07:00
Goetz Lindenmaier
5eae54e3a1 8299671: Speed up compiler/intrinsics/string/TestStringLatin1IndexOfChar.java
Backport-of: d2827ec8f7
2023-04-20 16:31:56 +07:00
Goetz Lindenmaier
d5ed027ce7 8299018: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes
Backport-of: e5edb10dc5
2023-04-20 16:31:56 +07:00
Goetz Lindenmaier
4a2b947b91 8297489: Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent
Backport-of: 7d20a60a98
2023-04-20 16:31:55 +07:00
Goetz Lindenmaier
e13b2f029b 8223783: sun/net/www/http/HttpClient/MultiThreadTest.java sometimes detect threads+1 connections
Backport-of: 8effaa8f1f
2023-04-20 16:31:55 +07:00
Goetz Lindenmaier
a015d43872 8186765: Speed up test sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java
Backport-of: 43dbf5899b
2023-04-20 16:31:55 +07:00
Goetz Lindenmaier
0337c7906f 8295774: Write a test to verify List sends ItemEvent/ActionEvent
Backport-of: 2a79dfc1f9
2023-04-20 16:31:54 +07:00
Goetz Lindenmaier
53bc836b44 8295000: java/util/Formatter/Basic test cleanup
Backport-of: 78763fc8e0
2023-04-20 16:31:54 +07:00
Goetz Lindenmaier
76d36c0d99 8296675: Exclude linux-aarch64 in NSS tests
Backport-of: fa8a8668a6
2023-04-20 16:31:53 +07:00
Goetz Lindenmaier
8e9efd3df3 8292328: AccessibleActionsTest.java test instruction for show popup on JLabel did not specify shift key
Backport-of: df53fa752a
2023-04-20 16:31:53 +07:00
Goetz Lindenmaier
066bc464d0 8293819: sun/util/logging/PlatformLoggerTest.java failed with "RuntimeException: Retrieved backing PlatformLogger level null is not the expected CONFIG"
Backport-of: 11e7d53b23
2023-04-20 16:31:52 +07:00
Goetz Lindenmaier
ef44768e0b 8286030: Avoid JVM crash when containers share the same /tmp dir
Reviewed-by: stuefe
Backport-of: 84f23149e2
2023-04-20 16:31:52 +07:00
Goetz Lindenmaier
4583ca7e27 8290083: ResponseBodyBeforeError: AssertionError or SSLException: Unsupported or unrecognized SSL message
Backport-of: 3b9059a147
2023-04-20 16:31:51 +07:00
Goetz Lindenmaier
f6bc44b1e4 8195809: [TESTBUG] jps and jcmd -l support for containers is not tested
Backport-of: 7c26ddb575
2023-04-20 16:31:50 +07:00
Matthias Baesken
3c335c155f 8301170: perfMemory_windows.cpp add free_security_attr to early returns
Backport-of: 810c8a271b
2023-04-20 16:31:49 +07:00
Yuri Nesterenko
a84e3fa3d9 8301760: Fix possible leak in SpNegoContext dispose
Backport-of: 3f3356bcbd
2023-04-20 16:31:49 +07:00
Goetz Lindenmaier
160757aa9d 8298073: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx
8241293: CompressedClassSpaceSizeInJmapHeap.java time out after 8 minutes

Reviewed-by: phh
Backport-of: 99a6c47855
2023-04-20 16:31:48 +07:00
Goetz Lindenmaier
c222614261 8286962: java/net/httpclient/ServerCloseTest.java failed once with ConnectException
Backport-of: 13d4ddc35b
2023-04-20 16:31:47 +07:00
Radim Vansa
75e929e395 8296329: jar validator doesn't account for minor class file version
Reviewed-by: yan
Backport-of: faf48e61be
2023-04-20 16:31:46 +07:00
Radim Vansa
bc92df8dca 8300590: [JVMCI] BytecodeFrame.equals is broken
Reviewed-by: phh
Backport-of: 06394ee8b1
2023-04-20 16:31:45 +07:00
Thomas Stuefe
e2e5dc76fd 8294677: chunklevel::MAX_CHUNK_WORD_SIZE too small for some applications
Reviewed-by: phh, xliu
Backport-of: 2292ce137c
2023-04-20 16:31:44 +07:00
Ichiroh Takiguchi
c70077b8fc 8299194: CustomTzIDCheckDST.java may fail at future date
Backport-of: 5e2de89628
2023-04-20 16:31:43 +07:00
Victor Rudometov
9c9562ee02 8290836: Improve test coverage for XPath functions: String Functions
8290837: Improve test coverage for XPath functions: Boolean Functions
8290838: Improve test coverage for XPath functions: Number Functions

Backport-of: d889264c61
2023-04-20 16:31:41 +07:00
Victor Rudometov
72f1a2c993 8299296: Write a test to verify the components selection sends ItemEvent
Backport-of: 5ae6de859d
2023-04-20 16:31:40 +07:00
Goetz Lindenmaier
81b4281e92 8293326: jdk/sun/security/tools/jarsigner/compatibility/SignTwice.java slow on Windows
Backport-of: 205f992e9e
2023-04-20 16:31:39 +07:00
Goetz Lindenmaier
d0abe6db1a 8289400: Improve com/sun/jdi/TestScaffold error reporting
Backport-of: da99e3e829
2023-04-20 16:31:38 +07:00
Goetz Lindenmaier
a0f9ab9efc 8292066: Convert TestInputArgument.sh and TestSystemLoadAvg.sh to java version
Backport-of: 032be168b5
2023-04-20 16:31:37 +07:00
Goetz Lindenmaier
1502e7f7ce 8292443: Weak CAS VarHandle/Unsafe tests should test always-failing cases
Backport-of: e8bc87956a
2023-04-20 16:31:37 +07:00
Goetz Lindenmaier
6554c72f6b 8291825: java/time/nontestng/java/time/zone/CustomZoneNameTest.java fails if defaultLocale and defaultFormatLocale are different
Backport-of: 4772354f4c
2023-04-20 16:31:36 +07:00
Goetz Lindenmaier
b25c18220b 8286844: com/sun/jdi/RedefineCrossEvent.java failed with 1 threads completed while VM suspended
Backport-of: 7ec0132ad3
2023-04-20 16:31:36 +07:00
Goetz Lindenmaier
0e0077c7d9 8287593: ShortResponseBody could be made more resilient to rogue connections
Reviewed-by: chegar
Backport-of: 9ccae7078e
2023-04-20 16:31:35 +07:00
Victor Rudometov
5de6ce7c6a 8289948: Improve test coverage for XPath functions: Node Set Functions
Backport-of: 57bf603b73
2023-04-20 16:31:34 +07:00
Goetz Lindenmaier
42c95806c7 8289440: Remove vmTestbase/nsk/monitoring/MemoryPoolMBean/isCollectionUsageThresholdExceeded/isexceeded003 from ProblemList.txt
Backport-of: 00d06d4a82
2023-04-20 16:31:34 +07:00
Goetz Lindenmaier
8ad886bdf9 8282036: Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions
Backport-of: 784fa0add7
2023-04-20 16:31:33 +07:00
Goetz Lindenmaier
db710e4bd4 8209935: Test to cover CodeSource.getCodeSigners()
Backport-of: 0cb0ecf443
2023-04-20 16:31:33 +07:00
Goetz Lindenmaier
f662daffbe 8271838: AmazonCA.java interop test fails
Backport-of: 512db0ff31
2023-04-20 16:31:32 +07:00
Goetz Lindenmaier
ffb2a09fa5 8286154: Fix 3rd party notices in test files
Backport-of: 1277f5d84e
2023-04-20 16:31:30 +07:00
Goetz Lindenmaier
1dd897755a 6779701: Wrong defect ID in the code of test LocalRMIServerSocketFactoryTest.java
Backport-of: 8a662105c2
2023-04-20 16:31:30 +07:00
Ekaterina Vergizova
bb9e11570d 8298649: JFR: RemoteRecordingStream support for checkpoint event sizes beyond u4
Reviewed-by: phh
Backport-of: 0eeaf6b219
2023-04-20 16:31:29 +07:00
Thomas Stuefe
b27e7941fc 8277990: NMT: Remove NMT shutdown capability
Reviewed-by: mbaesken
Backport-of: 5a036ace01
2023-04-20 16:31:28 +07:00
Ekaterina Vergizova
701d831ae0 8298129: Let checkpoint event sizes grow beyond u4 limit
Reviewed-by: phh
Backport-of: ea108f504c
2023-04-20 16:31:28 +07:00
Christoph Langer
6b5b96bd55 8301397: [11u, 17u] Bump jtreg to fix issue with build JDK 11.0.18
Reviewed-by: goetz
2023-04-20 16:31:27 +07:00
Elif Aslan
15f32a9080 8280007: Enable Neoverse N1 optimizations for Arm Neoverse V1 & N2
Backport-of: f823bed043
2023-04-20 16:31:27 +07:00
Goetz Lindenmaier
8dd1056831 8294160: misc crash dump improvements
Reviewed-by: rrich
Backport-of: 6f8f28e756
2023-04-20 16:31:26 +07:00
Goetz Lindenmaier
14a8c0d05d 8230374: maxOutputSize, instead of javatest.maxOutputSize, should be used in TEST.properties
Backport-of: 04d8069bac
2023-04-20 16:31:26 +07:00
Goetz Lindenmaier
99d49ce7c4 8285965: TestScenarios.java does not check for "<!-- safepoint while printing -->" correctly
Backport-of: 6e3e470dac
2023-04-20 16:31:26 +07:00
Goetz Lindenmaier
66bfd52996 8286873: Improve websocket test execution time
Backport-of: d24c84e768
2023-04-20 16:31:25 +07:00
Goetz Lindenmaier
3e6a9d540a 8284115: [IR Framework] Compilation is not found due to rare safepoint while dumping PrintIdeal/PrintOptoAssembly
Backport-of: 3984253800
2023-04-20 16:31:23 +07:00
Thomas Stuefe
4cc6061658 8275704: Metaspace::contains() should be threadsafe
Backport-of: d9b0138d7d
2023-04-20 16:31:22 +07:00
Thomas Stuefe
6929c3d910 8276086: Increase size of metaspace mappings
Backport-of: e89b2c040c
2023-04-20 16:31:22 +07:00
Ben Taylor
37ceb1d373 8297963: Partially fix string expansion issues in UTIL_DEFUN_NAMED and related macros
Backport-of: f8f46305ef
2023-04-20 16:31:21 +07:00
Dan Lutker
c1e8c0dd10 8300692: GCC 12 reports some compiler warnings in bundled freetype
Reviewed-by: serb
Backport-of: a6c2a2ae79
2023-04-20 16:31:21 +07:00
Dan Lutker
ac56d16938 8286694: Incorrect argument processing in java launcher
Backport-of: 26c7c92bc9
2023-04-20 16:31:21 +07:00
Thomas Stuefe
52cf5b885b 8275582: Don't purge metaspace mapping lists
Backport-of: 3ff085e296
2023-04-20 16:31:20 +07:00
Thomas Stuefe
f9b6827972 8293466: libjsig should ignore non-modifying sigaction calls
Backport-of: b1ed40a87a
2023-04-20 16:31:20 +07:00
Thomas Stuefe
ac7bea4752 8293493: Signal Handlers printout should show signal block state
Backport-of: d14e96d970
2023-04-20 16:31:20 +07:00
Johan Sjölen
717434b0a0 8293691: converting a defined BasicType value to a string should not crash the VM
Reviewed-by: phh
Backport-of: f2a32d996a
2023-04-20 16:31:19 +07:00
Thomas Stuefe
94254edef0 8277946: NMT: Remove VM.native_memory shutdown jcmd command option
Reviewed-by: mbaesken
Backport-of: abaa073bcb
2023-04-20 16:31:19 +07:00
Sergey Bylokhov
c6ba480936 8280048: Missing comma in copyright header
Backport-of: 9a18190a4f
2023-04-20 16:31:18 +07:00
Goetz Lindenmaier
12bf663cba 8231491: JDI tc02x004 failed again due to wrong # of breakpoints
Backport-of: e2cfe2e14a
2023-04-20 16:31:16 +07:00
Goetz Lindenmaier
83dfbf1f13 8282771: Create test case for JDK-8262981
Backport-of: 8db5247ebc
2023-04-20 16:31:15 +07:00
Goetz Lindenmaier
b5df6520d8 8285690: CloneableReference subtest should not throw CloneNotSupportedException
Backport-of: 2d8d140214
2023-04-20 16:31:14 +07:00
Masanori Yano
e4684919ec 8144030: [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again)
Backport-of: e5041ae3d4
2023-04-20 16:31:11 +07:00
Yasumasa Suenaga
9df8194d81 8287491: compiler/jvmci/errors/TestInvalidDebugInfo.java fails new assert: assert((uint)t < T_CONFLICT + 1) failed: invalid type #
Reviewed-by: phh
Backport-of: e3791ecfe4
2023-04-20 16:31:10 +07:00
Sergey Bylokhov
13810be7ab 6528710: sRGB-ColorSpace to sRGB-ColorSpace Conversion
Backport-of: abeddab991
2023-04-20 16:31:09 +07:00
Sergey Bylokhov
9806d6ee46 8294705: Disable an assertion in test/jdk/java/util/DoubleStreamSums/CompensatedSums.java
Backport-of: c08ff2c7b8
2023-04-20 16:31:09 +07:00
Yasumasa Suenaga
028fd89fc6 8286562: GCC 12 reports some compiler warnings
Backport-of: 410a25d59a
2023-04-20 16:31:08 +07:00
Victor Rudometov
292d82d7f5 8299497: Usage of constructors of primitive wrapper classes should be avoided in java.desktop API docs
Backport-of: b5ee3d1f2a
2023-04-20 16:31:08 +07:00
Goetz Lindenmaier
f053c18fcd 8300773: Address the inconsistency between the constant array and pool size
Reviewed-by: mbaesken
2023-04-20 16:31:07 +07:00
Goetz Lindenmaier
c1f734abf0 8208077: File.listRoots performance degradation
Backport-of: 5b0af1a80b
2023-04-20 16:31:07 +07:00
Goetz Lindenmaier
a100a42741 8295685: Update Libpng to 1.6.38
Backport-of: b685fc2de4
2023-04-20 16:31:06 +07:00
Goetz Lindenmaier
2313c7cfc4 8297264: C2: Cast node is not processed again in CCP and keeps a wrong too narrow type which is later replaced by top
Reviewed-by: rrich
Backport-of: a57392390b
2023-04-20 16:31:06 +07:00
Goetz Lindenmaier
b71afabb37 8287180: Update IANA Language Subtag Registry to Version 2022-08-08
Reviewed-by: stuefe
Backport-of: 992f209def
2023-04-20 16:31:05 +07:00
Goetz Lindenmaier
f07f5e07cd 8292033: Move jdk.X509Certificate event logic to JCA layer
Reviewed-by: mbaesken
Backport-of: 102b2b32fe
2023-04-20 16:31:03 +07:00
Yasumasa Suenaga
618629caba 8286705: GCC 12 reports use-after-free potential bugs
Backport-of: 0e4bece5b5
2023-04-20 16:31:01 +07:00
Goetz Lindenmaier
0d0a6bcd90 8287754: Update jib GNU make dependency on Windows to latest cygwin build
Backport-of: af2de975cb
2023-04-20 16:31:00 +07:00
Severin Gehwolf
2dc3ac6c2a 8300119: CgroupMetrics.getTotalMemorySize0() can report invalid results on 32 bit systems
Backport-of: dea58efb62
2023-04-20 16:31:00 +07:00
Goetz Lindenmaier
9fad79410a 8272985: Reference discovery is confused about atomicity and degree of parallelism
Backport-of: fb5b144eca
2023-04-20 16:30:57 +07:00
Christoph Langer
2120f98cd5 8300490: Spaces in name of MacOS Code Signing Identity are not correctly handled after JDK-8293550
Backport-of: 62a2f2327a
2023-04-20 16:30:56 +07:00
Goetz Lindenmaier
b4823f0e26 8300642: [17u,11u] Fix DEFAULT_PROMOTED_VERSION_PRE=ea for -dev
Reviewed-by: clanger
2023-04-20 16:30:56 +07:00
Christoph Langer
a1f10594e9 8285919: Remove debug printout from JDK-8285093
Backport-of: 64225e1999
2023-04-20 16:30:56 +07:00
Aleksey Shipilev
417d1d9979 8282143: Objects.requireNonNull should be ForceInline
Backport-of: fc52a2182a
2023-04-20 16:30:55 +07:00
Aleksey Shipilev
eabbe2d51f 8285755: JDK-8285093 changed the default for --with-output-sync
Backport-of: ccf0e8bf90
2023-04-20 16:30:55 +07:00
Matthias Baesken
0464692a3c 8299657: sun/tools/jhsdb/SAGetoptTest.java fails after 8299470
Backport-of: 1ca31d34fc
2023-04-20 16:30:54 +07:00
Matthias Baesken
f726d0ca57 8299470: sun/jvm/hotspot/SALauncher.java handling of negative rmiport args
Backport-of: 2ccdefc81c
2023-04-20 16:30:54 +07:00
Goetz Lindenmaier
ed87aa09ce 8283719: java/util/logging/CheckZombieLockTest.java failing intermittently
Backport-of: 74835f7389
2023-04-20 16:30:53 +07:00
Goetz Lindenmaier
a6b5fcf668 8283717: vmTestbase/nsk/jdi/ThreadStartEvent/thread/thread001 failed due to SocketTimeoutException
Backport-of: f9f439a19d
2023-04-20 16:30:53 +07:00
Goetz Lindenmaier
8f0a5b9dbd 8296389: C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors
8298568: Fastdebug build fails after JDK-8296389

Reviewed-by: rrich
Backport-of: fabda24696
2023-04-20 16:30:52 +07:00
Goetz Lindenmaier
1d2e293fc4 8297642: PhaseIdealLoop::only_has_infinite_loops must detect all loops that never lead to termination
Backport-of: d562d3fcbe
2023-04-20 16:30:49 +07:00
Goetz Lindenmaier
07641a8987 8290850: C2: create_new_if_for_predicate() does not clone pinned phi input nodes resulting in a broken graph
Reviewed-by: phh
Backport-of: 49b86224aa
2023-04-20 16:30:49 +07:00
Goetz Lindenmaier
a839e213b8 8278961: Enable debug logging in java/net/DatagramSocket/SendDatagramToBadAddress.java
Reviewed-by: rrich
Backport-of: c17a0122c4
2023-04-20 16:30:48 +07:00
Goetz Lindenmaier
aba45b52f1 8273154: Provide a JavadocTester method for non-overlapping, unordered output matching
Backport-of: ce3ed65ac3
2023-04-20 16:30:48 +07:00
Goetz Lindenmaier
b055fc7fd2 8254267: javax/xml/crypto/dsig/LogParameters.java failed with "RuntimeException: Unexpected log output:"
Backport-of: 40d69f0c41
2023-04-20 16:30:47 +07:00
Severin Gehwolf
17465e0178 8295211: Fix autoconf 2.71 warning "AC_CHECK_HEADERS: you should use literals"
Backport-of: c357b5908a
2023-04-20 16:30:47 +07:00
Matthias Baesken
7860669056 8279351: [TESTBUG] SADebugDTest.java does not handle "Address already in use" error
Backport-of: d1e6f26160
2023-04-20 16:30:46 +07:00
Sergey Bylokhov
76d1e413e8 8299789: Compilation of gtest causes build to fail if runtime libraries are in different dirs
Backport-of: c8a8388aba
2023-04-20 16:30:46 +07:00
Matthias Baesken
97162686f7 8299424: containers/docker/TestMemoryWithCgroupV1.java fails on SLES12 ppc64le when testing Memory and Swap Limit
Backport-of: 95d4db3a92
2023-04-20 16:30:46 +07:00
Richard Reingruber
a0239b6422 8295413: com/sun/jdi/EATests.java fails with compiler flag -XX:+StressReflectiveCode
Backport-of: 08d3ef4fe6
2023-04-20 16:30:45 +07:00
Matthias Baesken
074d8403ff 8299520: TestPrintXML.java output error messages in case compare fails
Backport-of: ea25a561c5
2023-04-20 16:30:45 +07:00
Goetz Lindenmaier
f4e3595bf5 8295116: C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: node must be dead
Backport-of: 94575d14f4
2023-04-20 16:30:44 +07:00
Goetz Lindenmaier
09ad9ee0bf 8297951: C2: Create skeleton predicates for all If nodes in loop predication
Backport-of: 0bd04a6589
2023-04-20 16:30:44 +07:00
Matthias Baesken
e59085dfd2 8299388: java/util/regex/NegativeArraySize.java fails on Alpine and sometimes Windows
Backport-of: c2e3d72848
2023-04-20 16:30:43 +07:00
Goetz Lindenmaier
db8cbd07bf 8296619: Upgrade jQuery to 3.6.1
Reviewed-by: mbaesken
Backport-of: 6a7a0db587
2023-04-20 16:30:39 +07:00
Goetz Lindenmaier
eb43ebd80d 8286707: JFR: Don't commit JFR internal jdk.JavaMonitorWait events
Backport-of: fc889577ea
2023-04-20 16:30:38 +07:00
Goetz Lindenmaier
f41fd2eab4 8267038: Update IANA Language Subtag Registry to Version 2022-03-02
Backport-of: 7b19226be2
2023-04-20 16:30:36 +07:00
Goetz Lindenmaier
f42620ce24 8295788: C2 compilation hits "assert((mode == ControlAroundStripMined && use == sfpt) || !use->is_reachable_from_root()) failed: missed a node"
Backport-of: 761a4f4852
2023-04-20 16:30:35 +07:00
Thomas Stuefe
c4e3948186 8284165: Add pid to process reaper thread name
Reviewed-by: phh
Backport-of: 9561b5e041
2023-04-20 16:30:33 +07:00
Thomas Stuefe
c99a576581 8284726: Print active locale settings in hs_err reports and in VM.info
Backport-of: 6ce4e755a4
2023-04-20 16:30:33 +07:00
Thomas Stuefe
75af5747bf 8290067: Show stack dimensions in UL logging when attaching threads
Backport-of: 7ff19694df
2023-04-20 16:30:32 +07:00
Matthias Baesken
e67c1b511c 8297523: Various GetPrimitiveArrayCritical miss result - NULL check
Backport-of: 27b339d189
2023-04-20 16:30:31 +07:00
Aleksey Shipilev
77251da4af 8280784: VM_Cleanup unnecessarily processes all thread oops
Reviewed-by: stefank
Backport-of: 8a3cca09ba
2023-04-20 16:30:31 +07:00
Goetz Lindenmaier
1cfdcfea83 8297088: Update LCMS to 2.14
Reviewed-by: phh
Backport-of: 2c692aa356
2023-04-20 16:30:28 +07:00
Thomas Stuefe
34d53bb77b 8277822: Remove debug-only heap overrun checks in os::malloc and friends
Reviewed-by: phh
Backport-of: 39b1d75f25
2023-04-20 16:30:28 +07:00
Severin Gehwolf
5baa1245a1 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows
Reviewed-by: phh, clanger
Backport-of: cf93933e21
2023-04-20 16:30:27 +07:00
Goetz Lindenmaier
d372290e1d 8297431: [JVMCI] HotSpotJVMCIRuntime.encodeThrowable should not throw an exception
Backport-of: 952e100551
2023-04-20 16:30:27 +07:00
Goetz Lindenmaier
4b8988e2fd 8297569: URLPermission constructor throws IllegalArgumentException: Invalid characters in hostname after JDK-8294378
Backport-of: 2f47f83add
2023-04-20 16:30:26 +07:00
Goetz Lindenmaier
e7b39759c1 8296912: C2: CreateExNode::Identity fails with assert(i < _max) failed: oob: i=1, _max=1
Backport-of: 502fa3eeea
2023-04-20 16:30:23 +07:00
Goetz Lindenmaier
851d9e20d4 8276064: CheckCastPP with raw oop input floats below a safepoint
Backport-of: cd9c688bfc
2023-04-20 16:30:22 +07:00
Thomas Stuefe
5ed9af5b57 8275320: NMT should perform buffer overrun checks
8275320: NMT should perform buffer overrun checks
8275301: Unify C-heap buffer overrun checks into NMT

Reviewed-by: goetz
Backport-of: cf7adae633
2023-04-20 16:30:21 +07:00
Severin Gehwolf
8e8be6dc8b 8298108: Add a regression test for JDK-8297684
Backport-of: 4da8411674
2023-04-20 16:30:18 +07:00
Goetz Lindenmaier
f55f2b4afa 8296924: C2: assert(is_valid_AArch64_address(dest.target())) failed: bad address
Backport-of: abe532a89c
2023-04-20 16:30:17 +07:00
Goetz Lindenmaier
84aa45f0c5 8285835: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work
Reviewed-by: mdoerr
Backport-of: 8aa1526b44
2023-04-20 16:30:17 +07:00
Goetz Lindenmaier
437233f643 8292177: InitialSecurityProperty JFR event
Reviewed-by: mbaesken
Backport-of: 8c40b7dc8c
2023-04-20 16:30:16 +07:00
Goetz Lindenmaier
56c78acb51 8286800: Assert in PhaseIdealLoop::dump_real_LCA is too strong
Backport-of: decb1b79bc
2023-04-20 16:30:16 +07:00
Goetz Lindenmaier
2176c971e5 8294947: Use 64bit atomics in patch_verified_entry on x86_64
Backport-of: d0fae43e89
2023-04-20 16:30:15 +07:00
Goetz Lindenmaier
2b4493a45d 8294217: Assertion failure: parsing found no loops but there are some
Backport-of: 8c472e4816
2023-04-20 16:30:15 +07:00
Goetz Lindenmaier
5dcf1b2aea 8292159: TYPE_USE annotations on generic type arguments of record components discarded
Backport-of: 4d9a1cd26f
2023-04-20 16:30:14 +07:00
Goetz Lindenmaier
6bee3f9eec 8294538: missing is_unloading() check in SharedRuntime::fixup_callers_callsite()
Backport-of: b5efa2afe2
2023-04-20 16:30:14 +07:00
Goetz Lindenmaier
1149d8f8bd 8295414: [Aarch64] C2: assert(false) failed: bad AD file
Backport-of: d3eba859f9
2023-04-20 16:30:11 +07:00
Goetz Lindenmaier
f977d5b993 8280868: LineBodyHandlerTest.java creates and discards too many clients
Backport-of: 47800bf3da
2023-04-20 16:30:11 +07:00
Goetz Lindenmaier
d0524425a2 8280553: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java can fail if GC occurs
Backport-of: be9f984cae
2023-04-20 16:30:10 +07:00
Goetz Lindenmaier
56dc620484 8270476: Make floating-point test infrastructure more lambda and method reference friendly
Backport-of: 40a2ce2033
2023-04-20 16:30:10 +07:00
Goetz Lindenmaier
98c3fc3000 8212961: [TESTBUG] vmTestbase/nsk/stress/jni/ native code cleanup
Backport-of: fde183130b
2023-04-20 16:30:09 +07:00
Aleksey Shipilev
8ef13c5034 8277485: Zero: Fix _fast_{i,f}access_0 bytecodes handling
Backport-of: 0a9e76c4f9
2023-04-20 16:30:09 +07:00
Aleksey Shipilev
d74b6fe091 8008243: Zero: Implement fast bytecodes
Backport-of: e4362007da
2023-04-20 16:30:08 +07:00
Matthias Baesken
fb5aa3063d 8298035: Provide better descriptions for JIT compiler JFR events
Reviewed-by: mdoerr
Backport-of: 58170f657c
2023-04-20 16:30:08 +07:00
Sergey Bylokhov
3ad087ddaa 8280132: Incorrect comparator com.sun.beans.introspect.MethodInfo.MethodOrder
Backport-of: 2f46af05ce
2023-04-20 16:30:07 +07:00
Goetz Lindenmaier
68f83592c1 8295066: Folding of loads is broken in C2 after JDK-8242115
Backport-of: 58a7141a0d
2023-04-20 16:30:07 +07:00
Goetz Lindenmaier
7ee50572e2 8242115: C2 SATB barriers are not safepoint-safe
Reviewed-by: mdoerr
Backport-of: c6e3daa5fa
2023-04-20 16:30:07 +07:00
Goetz Lindenmaier
ec72b673d1 8294378: URLPermission constructor exception when using tr locale
Backport-of: ff2c987669
2023-04-20 16:30:06 +07:00
Goetz Lindenmaier
7911d3d3ff 8296136: Use correct register in aarch64_enc_fast_unlock()
Reviewed-by: rkennke
Backport-of: 7619602c36
2023-04-20 16:30:06 +07:00
Goetz Lindenmaier
80aee1087f 8293531: C2: some vectorapi tests fail assert "Not monotonic" with flag -XX:TypeProfileLevel=222
Backport-of: 0043d58c5d
2023-04-20 16:30:04 +07:00
Goetz Lindenmaier
2a5920b517 8290964: C2 compilation fails with assert "non-reduction loop contains reduction nodes"
Backport-of: 4bdd1c9148
2023-04-20 16:30:03 +07:00
Goetz Lindenmaier
beb0848e2c 8292780: misc tests failed "assert(false) failed: graph should be schedulable"
Backport-of: 16047e8308
2023-04-20 16:30:02 +07:00
Goetz Lindenmaier
e058ce1f0a 8293996: C2: fix and simplify IdealLoopTree::do_remove_empty_loop
Backport-of: dd51f7e0b7
2023-04-20 16:30:01 +07:00
Goetz Lindenmaier
fa4499517c 8292602: ZGC: C2 late barrier analysis uses invalid dominator information
Backport-of: eec992c6b0
2023-04-20 16:30:01 +07:00
Goetz Lindenmaier
b08e24ca46 8292297: Fix up loading of override java.security properties file
Reviewed-by: mdoerr, mbaesken
Backport-of: 1f9ff41312
2023-04-20 16:30:00 +07:00
Goetz Lindenmaier
0469c792de 8281122: [IR Framework] Cleanup IR matching code in preparation for JDK-8280378
Reviewed-by: mdoerr
Backport-of: 2da677793f
2023-04-20 16:30:00 +07:00
Goetz Lindenmaier
c87e00ec73 8280889: java/lang/instrument/GetObjectSizeIntrinsicsTest.java fails with -XX:-UseCompressedOops
Backport-of: 251351f494
2023-04-20 16:29:59 +07:00
Goetz Lindenmaier
f0c10fb393 8280166: Extend java/lang/instrument/GetObjectSizeIntrinsicsTest.java test cases
Backport-of: 76fe03fe01
2023-04-20 16:29:59 +07:00
Goetz Lindenmaier
e7b1e5db38 8258512: serviceability/sa/TestJmapCore.java timed out on macOS 10.13.6
Backport-of: 19ce33d5e7
2023-04-20 16:29:59 +07:00
Goetz Lindenmaier
c8af6e78c4 8270156: Add "randomness" and "stress" keys to JTreg tests which use StressGCM, StressLCM and/or StressIGVN
Backport-of: 653a612a5a
2023-04-20 16:29:56 +07:00
Matthias Baesken
45c9dea79c 8235297: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java fails intermittent
Backport-of: d490f15e3b
2023-04-20 16:29:55 +07:00
Matthias Baesken
47e0eed693 8298093: improve cleanup and error handling of awt_parseColorModel in awt_parseImage.c
Backport-of: 98fa48c330
2023-04-20 16:29:54 +07:00
Martin Doerr
2b80ff9a55 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic
8298947: compiler/codecache/MHIntrinsicAllocFailureTest.java fails intermittently

Reviewed-by: kvn, mbaesken
Backport-of: cd2182a996
2023-04-20 16:29:52 +07:00
Matthias Baesken
ac37cea2b5 8297959: Provide better descriptions for some Operating System JFR events
Backport-of: dea2161f06
2023-04-20 16:29:52 +07:00
Matthias Baesken
09a31ac954 8297480: GetPrimitiveArrayCritical in imageioJPEG misses result - NULL check
Backport-of: 2f8a5c2eca
2023-04-20 16:29:51 +07:00
Sergey Bylokhov
d4b75401cc 8288854: getLocalGraphicsEnvironment() on for multi-screen setups throws exception NPE
Backport-of: cfc9a881af
2023-04-20 16:29:51 +07:00
Yi-Fan Tsai
20cd244401 8296548: Improve MD5 intrinsic for x86_64
Backport-of: 6ead2b0195
2023-04-20 16:29:50 +07:00
Goetz Lindenmaier
ee54e291a8 8295530: Update Zlib Data Compression Library to Version 1.2.13
Backport-of: 0c13d66622
2023-04-20 16:29:47 +07:00
Goetz Lindenmaier
c54b498058 8275173: testlibrary_tests/ir_framework/tests/TestCheckedTests.java fails after JDK-8274911
Backport-of: 451a296510
2023-04-20 16:29:46 +07:00
Goetz Lindenmaier
97120af230 8287217: C2: PhaseCCP: remove not visited nodes, prevent type inconsistency
Backport-of: 379f3094db
2023-04-20 16:29:46 +07:00
Goetz Lindenmaier
b987dcb41f 8065097: [macosx] javax/swing/Popup/TaskbarPositionTest.java fails because Popup is one pixel off
Backport-of: 649f2d8835
2023-04-20 16:29:43 +07:00
Goetz Lindenmaier
ab57b3e1b1 8273410: IR verification framework fails with "Should find method name in validIrRulesMap"
Backport-of: df125f680b
2023-04-20 16:29:41 +07:00
Sergey Bylokhov
c2fdeaf9ce 8298027: Remove SCCS id's from awt jtreg tests
Backport-of: ba2d28e911
2023-04-20 16:29:39 +07:00
Sergey Bylokhov
d4c0b04169 8293767: AWT test TestSinhalaChar.java has old SCCS markings
Backport-of: 141d5f5dee
2023-04-20 16:29:38 +07:00
Goetz Lindenmaier
09ddf661b7 8293562: KeepAliveCache Blocks Threads while Closing Connections
Backport-of: 03f25a9c69
2023-04-20 16:29:38 +07:00
Goetz Lindenmaier
19b3fd283d 8289508: Improve test coverage for XPath Axes: ancestor, ancestor-or-self, preceding, and preceding-sibling
Backport-of: caae53f4da
2023-04-20 16:29:37 +07:00
Goetz Lindenmaier
9b26a3bd5e 8292660: C2: blocks made unreachable by NeverBranch-to-Goto conversion are removed incorrectly
Backport-of: 730ced9a10
2023-04-20 16:29:36 +07:00
Goetz Lindenmaier
15a3620e7d 8292877: java/util/concurrent/atomic/Serial.java uses {Double,Long}Accumulator incorrectly
Backport-of: 251bff6bee
2023-04-20 16:29:36 +07:00
Goetz Lindenmaier
2f4fb61ef0 8292285: C2: remove unreachable block after NeverBranch-to-Goto conversion
Backport-of: a25e1dc53c
2023-04-20 16:29:35 +07:00
Goetz Lindenmaier
0fe0531f09 8155246: Throw error if default java.security file is missing
Backport-of: 9d7c13eb14
2023-04-20 16:29:35 +07:00
Goetz Lindenmaier
1000476b18 8288130: compiler error with AP and explicit record accessor
Backport-of: 53b37fe153
2023-04-20 16:29:34 +07:00
Goetz Lindenmaier
43bad30026 8285399: JNI exception pending in awt_GraphicsEnv.c:1432
Backport-of: c156bcc599
2023-04-20 16:29:31 +07:00
Goetz Lindenmaier
fdea5d44fb 8282577: ICC_Profile.setData(int, byte[]) invalidates the profile
Backport-of: f66070b00d
2023-04-20 16:29:31 +07:00
Goetz Lindenmaier
438d248e61 8279119: src/jdk.hotspot.agent/doc/index.html file contains references to scripts that no longer exist
Backport-of: 2a59ebbba3
2023-04-20 16:29:31 +07:00
Goetz Lindenmaier
a06e1b752f 8274911: testlibrary_tests/ir_framework/tests/TestIRMatching.java fails with "java.lang.RuntimeException: Should have thrown exception"
Backport-of: f623460668
2023-04-20 16:29:30 +07:00
Goetz Lindenmaier
a103c4fa4c 8244669: convert clhsdb "mem" command from javascript to java
Reviewed-by: clanger
Backport-of: eaefb1a1ed
2023-04-20 16:29:30 +07:00
Goetz Lindenmaier
91291fa460 8279024: Remove javascript references from clhsdb.html
Backport-of: d0ea7c9db9
2023-04-20 16:29:29 +07:00
Goetz Lindenmaier
6d3bf3ff85 8262386: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java timed out
Backport-of: 46684a4efa
2023-04-20 16:29:28 +07:00
Goetz Lindenmaier
6d41078bef 8271471: [IR Framework] Rare occurrence of "<!-- safepoint while printing -->" in PrintIdeal/PrintOptoAssembly can let tests fail
Backport-of: 3677734584
2023-04-20 16:29:28 +07:00
Chris Hegarty
ed605fcedc 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes
Backport-of: a7d6de71bb
2023-04-20 16:29:28 +07:00
Nagata, Haruhito
fbd5be5bc7 8283606: Tests may fail with zh locale on MacOS
Reviewed-by: clanger
Backport-of: 7d545084f4
2023-04-20 16:29:27 +07:00
Aleksei Voitylov
aae3943681 8288005: HotSpot build with disabled PCH fails for Windows AArch64
Backport-of: b2a58bec4a
2023-04-20 16:29:25 +07:00
Christoph Langer
8ef6207bca 8298527: Cygwin's uname -m returns different string than before
Reviewed-by: mbaesken
Backport-of: 51f0a1ce4b
2023-04-20 16:29:24 +07:00
Christoph Langer
4074102222 8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body
Backport-of: 909d0cb4d9
2023-04-20 16:29:24 +07:00
Alan Bateman
340f644e50 8298726: (fs) Change PollingWatchService to record last modified time as FileTime rather than milliseconds
Reviewed-by: andrew
Backport-of: 5f63f7a742
2023-04-20 16:29:24 +07:00
Matthias Baesken
de7911cd93 8296611: Problemlist several sun/security tests until JDK-8295343 is resolved
Backport-of: d6e2d0d03d
2023-04-20 16:29:23 +07:00
Denghui Dong
86e74f6413 8283870: jdeprscan --help causes an exception when the locale is ja, zh_CN or de
Reviewed-by: clanger
Backport-of: ef25e189c7
2023-04-20 16:29:22 +07:00
Jatin Bhateja
444a9bb87f 8290322: Optimize Vector.rearrange over byte vectors for AVX512BW targets.
Reviewed-by: phh, sviswanathan
Backport-of: 38a81913d3
2023-04-20 16:29:22 +07:00
Sergey Bylokhov
781c40d66c 8290899: java/lang/String/StringRepeat.java test requests too much heap on windows x86
Backport-of: 2bb727c4ea
2023-04-20 16:29:22 +07:00
Richard Reingruber
6981f7b010 8294580: frame::interpreter_frame_print_on() crashes if free BasicObjectLock exists in frame
Backport-of: bdb4ed0fb1
2023-04-20 16:29:21 +07:00
Christoph Langer
45f2354759 8298459: Fix msys2 linking and handling out of tree build directory for source zip creation
Backport-of: d624debe23
2023-04-20 16:29:21 +07:00
Sergey Bylokhov
31937aef18 8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters
Backport-of: 87f00f4a1b
2023-04-20 16:29:20 +07:00
Christoph Langer
0316fc5c0b 8296904: Improve handling of macos xcode toolchain
Reviewed-by: mbaesken
Backport-of: 470f3424fc
2023-04-20 16:29:19 +07:00
Ben Taylor
6a20c49d91 8297211: Expensive fillInStackTrace operation in HttpURLConnection.getOutputStream0 when no content-length in response
Backport-of: 392ac7055d
2023-04-20 16:29:19 +07:00
Goetz Lindenmaier
b4e5759db8 8297259: Bump update version for OpenJDK: jdk-17.0.7
Reviewed-by: shade
2023-04-20 16:29:18 +07:00
Vitaly Provodin
01c67b6671 update exclude list on results of 17.0.6_b922.2 test runs 2023-04-20 16:27:53 +07:00
Maxim Kartashev
bbf143b9e2 JBR-5480 Fixed Windows debug build 2023-04-19 08:31:27 +04:00
Maxim Kartashev
dc2c9dff56 JBR-5480 Fixed build failue with LLVM compilers 2023-04-18 20:04:33 +04:00
Maxim Kartashev
2c45589b97 JBR-5480 Include more information in OOME crash reports 2023-04-18 16:40:19 +04:00
Dmitrii Morskii
940d18be5a JBR-5548 fix BadSerializationTest 2023-04-17 18:34:30 +02:00
Alexander Lobas
6dfff5881a Merge pull request #228 from alexander-lobas/jbr17
JBR-5546 Iterating open windows with cmd backtick on Mac forces minim…
2023-04-14 17:25:43 +03:00
Alexander Lobas
14efb05bc5 JBR-5546 Iterating open windows with cmd backtick on Mac forces minimized windows to un-minimize 2023-04-14 17:22:40 +03:00
Vitaly Provodin
6c590bd8df update exclude list on results of 17.0.6_b918.1 test runs 2023-04-14 21:00:51 +07:00
Vitaly Provodin
7071647f61 JBR-5510 eclude tests failing on ArchLinux (5.18.2-arch1-1) 2023-04-14 21:00:21 +07:00
Dmitrii Morskii
172514a2ce JBR-5246 add OpenType's features support 2023-04-14 12:18:49 +02:00
Maxim Kartashev
a6023fa92c JBR-5483 MacOSXWatchService assumes that the default file system is the UnixFileSystem, which might not be the case 2023-04-10 19:02:10 +04:00
Vitaly Provodin
78bd65c9ab update exclude list on results of 17.0.6_b912.4 test runs 2023-04-07 17:49:59 +07:00
Sergey Shelomentsev
fd99763c05 JBR-5505 update exclude list for a11y testing on Windows 2023-04-07 13:01:44 +03:00
Sergey Shelomentsev
0e9ee41fe7 JBR-5397 update exclude list for a11y testing on MacOS 2023-04-07 13:01:36 +03:00
Alexander Lobas
468f97e2c1 Merge pull request #226 from alexander-lobas/jbr17
JBR-5499 Window control buttons bugfix
2023-04-06 20:21:11 +03:00
Alexander Lobas
88faed720b JBR-5499 Window control buttons bugfix 2023-04-06 20:17:39 +03:00
Alexander Lobas
c8efacbdf2 JBR-5499 Window control buttons bugfix 2023-04-06 20:15:15 +03:00
Alexander Lobas
ef2ff1cc91 Merge pull request #225 from alexander-lobas/jbr17
JBR-5478 IDEA window doesn't fit the screen properly on turning off/on an external monitor
2023-04-06 15:49:46 +03:00
Alexander Lobas
cd924a15b5 JBR-5478 IDEA window doesn't fit the screen properly on turning off/on an external monitor 2023-04-06 15:47:44 +03:00
Alexander Lobas
d31cd8c115 JBR-5478 IDEA window doesn't fit the screen properly on turning off/on an external monitor 2023-04-06 15:46:13 +03:00
Nikita Gubarkov
5746ed2ce1 JBR-5238 Disable AwtWindow::CheckWindowDPIChange() hack on Aero Snap. 2023-04-05 16:53:30 +03:00
Vladimir Dvorak
e4c0e8649f JBR-5464 Fix native method registration 2023-04-02 09:15:37 +02:00
Dmitry Batrak
acde759572 JBR-5458 Exception at dialog closing 2023-03-31 20:55:59 +03:00
Nikita Gubarkov
c1870bc0da JBR-5414 Add awt.lock.fair system property for enabling fair awtLock().
(cherry picked from commit aa24f103e8446da65d65e14ea75a4cff94a1d8fa)
2023-03-30 23:29:23 +03:00
Sergey Shelomentsev
2a2843b2c3 JBR-5441 fix wait for idle 2023-03-30 21:31:26 +03:00
Sergey Shelomentsev
66c04a301f JBR-5440 fix calculations for double click location 2023-03-30 15:48:21 +03:00
Artem Bochkarev
5d61c1b261 JBR-5426 write JCEF version info inside release file 2023-03-30 14:31:25 +04:00
Maxim Kartashev
24775c16fb JBR-5431 Include memory used by JNI references into crash reports 2023-03-30 09:03:45 +04:00
Maxim Kartashev
c9d7f9fc1c JBR-5445 JBRApiTest test fails on development builds 2023-03-29 19:24:29 +04:00
ngubarkov
2182376910 JBR-5438 Fix window bounds in XWM#setShellResizable
(cherry picked from commit c51695d830dd3daf0021180ee974a3c11d03b6a8)
2023-03-29 16:27:53 +03:00
Maxim Kartashev
2474e4aac4 JBR-5084 Add ability to log additional data to jstack output
The data can be provided via this JBR API call:
JBR.getJstack().includeInfoFrom(Supplier<String>)
2023-03-29 12:18:38 +04:00
Sergey Shelomentsev
699acf0baa JBR-5433 add typing latency text for JTextArea 2023-03-27 21:30:12 +03:00
1957 changed files with 110431 additions and 31047 deletions

View File

@@ -92,12 +92,26 @@ jobs:
id: gtest
uses: ./.github/actions/get-gtest
- name: 'Check toolchain installed'
id: toolchain-check
run: |
set +e
'/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/vc/auxiliary/build/vcvars64.bat' -vcvars_ver=${{ inputs.msvc-toolset-version }}
if [ $? -eq 0 ]; then
echo "Toolchain is already installed"
echo "toolchain-installed=true" >> $GITHUB_OUTPUT
else
echo "Toolchain is not yet installed"
echo "toolchain-installed=false" >> $GITHUB_OUTPUT
fi
- name: 'Install toolchain and dependencies'
run: |
# Run Visual Studio Installer
'/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
modify --quiet --installPath 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise' \
modify --quiet --installPath 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise' \
--add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.${{ inputs.msvc-toolset-architecture }}
if: steps.toolchain-check.outputs.toolchain-installed != 'true'
- name: 'Configure'
run: >

View File

@@ -223,7 +223,7 @@ jobs:
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
msvc-toolset-version: '14.25'
msvc-toolset-version: '14.29'
msvc-toolset-architecture: 'x86.x64'
if: needs.select.outputs.windows-x64 == 'true'

2
.gitignore vendored
View File

@@ -18,5 +18,7 @@ NashornProfile.txt
/src/utils/LogCompilation/target/
/.project/
/.settings/
/compile_commands.json
/.cache
*.class
.idea/workspace.xml

View File

@@ -1,7 +1,7 @@
[general]
project=jdk-updates
jbs=JDK
version=17.0.6
version=17.0.8
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists

View File

@@ -128,6 +128,15 @@ install_jib() {
exit 1
fi
fi
# Want to check the filetype using file, to see if we got served a HTML error page.
# This is sensitive to the filename containing a specific string, but good enough.
file "${installed_jib_script}.gz" | grep "gzip compressed data" > /dev/null
if [ $? -ne 0 ]; then
echo "Warning: ${installed_jib_script}.gz is not a gzip file."
echo "If you are behind a proxy you may need to configure exceptions using no_proxy."
echo "The download URL was: ${jib_url}"
exit 1
fi
echo "Extracting JIB bootstrap script"
rm -f "${installed_jib_script}"
gunzip "${installed_jib_script}.gz"

View File

@@ -240,26 +240,26 @@
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Operating system</th>
<th style="text-align: left;">Supported toolchain</th>
<th>Operating system</th>
<th>Supported toolchain</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">gcc, clang</td>
<td>Linux</td>
<td>gcc, clang</td>
</tr>
<tr class="even">
<td style="text-align: left;">macOS</td>
<td style="text-align: left;">Apple Xcode (using clang)</td>
<td>macOS</td>
<td>Apple Xcode (using clang)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">AIX</td>
<td style="text-align: left;">IBM XL C/C++</td>
<td>AIX</td>
<td>IBM XL C/C++</td>
</tr>
<tr class="even">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio</td>
<td>Windows</td>
<td>Microsoft Visual Studio</td>
</tr>
</tbody>
</table>
@@ -267,41 +267,45 @@
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Operating system</th>
<th style="text-align: left;">Toolchain version</th>
<th>Operating system</th>
<th>Toolchain version</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">gcc 10.2.0</td>
<td>Linux</td>
<td>gcc 11.2.0</td>
</tr>
<tr class="even">
<td style="text-align: left;">macOS</td>
<td style="text-align: left;">Apple Xcode 10.1 (using clang 10.0.0)</td>
<td>macOS</td>
<td>Apple Xcode 10.1 (using clang 10.0.0)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio 2022 update 17.1.0</td>
<td>Windows</td>
<td>Microsoft Visual Studio 2022 update 17.1.0</td>
</tr>
</tbody>
</table>
<p>All compilers are expected to be able to compile to the C99 language standard, as some C99 features are used in the source code. Microsoft Visual Studio doesn't fully support C99 so in practice shared code is limited to using C99 features that it does support.</p>
<h3 id="gcc">gcc</h3>
<p>The minimum accepted version of gcc is 5.0. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
<p>The JDK is currently known to be able to compile with at least version 10.2 of gcc.</p>
<p>The JDK is currently known to be able to compile with at least version 11.2 of gcc.</p>
<p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3>
<p>The minimum accepted version of clang is 3.5. Older versions will not be accepted by <code>configure</code>.</p>
<p>To use clang instead of gcc on Linux, use <code>--with-toolchain-type=clang</code>.</p>
<h3 id="apple-xcode">Apple Xcode</h3>
<p>The oldest supported version of Xcode is 8.</p>
<p>You will need the Xcode command lines developers tools to be able to build the JDK. (Actually, <em>only</em> the command lines tools are needed, not the IDE.) The simplest way to install these is to run:</p>
<p>You will need the Xcode command line developer tools to be able to build the JDK. (Actually, <em>only</em> the command line tools are needed, not the IDE.) The simplest way to install these is to run:</p>
<pre><code>xcode-select --install</code></pre>
<p>It is advisable to keep an older version of Xcode for building the JDK when updating Xcode. This <a href="http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html">blog page</a> has good suggestions on managing multiple Xcode versions. To use a specific version of Xcode, use <code>xcode-select -s</code> before running <code>configure</code>, or use <code>--with-toolchain-path</code> to point to the version of Xcode to use, e.g. <code>configure --with-toolchain-path=/Applications/Xcode8.app/Contents/Developer/usr/bin</code></p>
<p>When updating Xcode, it is advisable to keep an older version for building the JDK. To use a specific version of Xcode you have multiple options:</p>
<ul>
<li>Use <code>xcode-select -s</code> before running <code>configure</code>, e.g. <code>xcode-select -s /Applications/Xcode13.1.app</code>. The drawback is that the setting is system wide and you may have to revert it after an OpenJDK build.</li>
<li>Use configure option <code>--with-xcode-path</code>, e.g. <code>configure --with-xcode-path=/Applications/Xcode13.1.app</code> This allows using a specific Xcode version for an OpenJDK build, independently of the active Xcode version by <code>xcode-select</code>.</li>
</ul>
<p>If you have recently (inadvertently) updated your OS and/or Xcode version, and the JDK can no longer be built, please see the section on <a href="#problems-with-the-build-environment">Problems with the Build Environment</a>, and <a href="#getting-help">Getting Help</a> to find out if there are any recent, non-merged patches available for this update.</p>
<h3 id="microsoft-visual-studio">Microsoft Visual Studio</h3>
<p>For aarch64 machines running Windows the minimum accepted version is Visual Studio 2019 (16.8 or higher). For all other platforms the minimum accepted version of Visual Studio is 2017. Older versions will not be accepted by <code>configure</code> and will not work. For all platforms the maximum accepted version of Visual Studio is 2019.</p>
<p>The minimum accepted version of Visual Studio is 2017. Older versions will not be accepted by <code>configure</code> and will not work. The maximum accepted version of Visual Studio is 2019.</p>
<p>If you have multiple versions of Visual Studio installed, <code>configure</code> will by default pick the latest. You can request a specific version to be used by setting <code>--with-toolchain-version</code>, e.g. <code>--with-toolchain-version=2017</code>.</p>
<p>If you have Visual Studio installed but <code>configure</code> fails to detect it, it may be because of <a href="#spaces-in-path">spaces in path</a>.</p>
<h3 id="ibm-xl-cc">IBM XL C/C++</h3>
@@ -510,7 +514,7 @@
</ul>
<h2 id="running-tests">Running Tests</h2>
<p>Most of the JDK tests are using the <a href="http://openjdk.java.net/jtreg">JTReg</a> test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.</p>
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptium.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
<p>Building of Hotspot Gtest suite requires the source code of Google Test framework. The top directory, which contains both <code>googletest</code> and <code>googlemock</code> directories, should be specified via <code>--with-gtest</code>. The supported version of Google Test is 1.8.1, whose source code can be obtained:</p>
<ul>
<li>by downloading and unpacking the source bundle from <a href="https://github.com/google/googletest/releases/tag/release-1.8.1">here</a></li>

View File

@@ -305,12 +305,12 @@ be able to run on the target platform. In theory, toolchain and operating
system should be independent factors, but in practice there's more or less a
one-to-one correlation between target operating system and toolchain.
Operating system Supported toolchain
------------------ -------------------------
Linux gcc, clang
macOS Apple Xcode (using clang)
AIX IBM XL C/C++
Windows Microsoft Visual Studio
| Operating system | Supported toolchain |
| ------------------ | ------------------------- |
| Linux | gcc, clang |
| macOS | Apple Xcode (using clang) |
| AIX | IBM XL C/C++ |
| Windows | Microsoft Visual Studio |
Please see the individual sections on the toolchains for version
recommendations. As a reference, these versions of the toolchains are used, at
@@ -319,11 +319,11 @@ possible to compile the JDK with both older and newer versions, but the closer
you stay to this list, the more likely you are to compile successfully without
issues.
Operating system Toolchain version
------------------ -------------------------------------------------------
Linux gcc 10.2.0
macOS Apple Xcode 10.1 (using clang 10.0.0)
Windows Microsoft Visual Studio 2022 update 17.1.0
| Operating system | Toolchain version |
| ------------------ | ------------------------------------------ |
| Linux | gcc 11.2.0 |
| macOS | Apple Xcode 10.1 (using clang 10.0.0) |
| Windows | Microsoft Visual Studio 2022 update 17.1.0 |
All compilers are expected to be able to compile to the C99 language standard,
as some C99 features are used in the source code. Microsoft Visual Studio
@@ -335,7 +335,7 @@ features that it does support.
The minimum accepted version of gcc is 5.0. Older versions will generate a warning
by `configure` and are unlikely to work.
The JDK is currently known to be able to compile with at least version 10.2 of
The JDK is currently known to be able to compile with at least version 11.2 of
gcc.
In general, any version between these two should be usable.
@@ -351,20 +351,20 @@ To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
The oldest supported version of Xcode is 8.
You will need the Xcode command lines developers tools to be able to build
the JDK. (Actually, *only* the command lines tools are needed, not the IDE.)
You will need the Xcode command line developer tools to be able to build
the JDK. (Actually, *only* the command line tools are needed, not the IDE.)
The simplest way to install these is to run:
```
xcode-select --install
```
It is advisable to keep an older version of Xcode for building the JDK when
updating Xcode. This [blog page](
http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html) has
good suggestions on managing multiple Xcode versions. To use a specific version
of Xcode, use `xcode-select -s` before running `configure`, or use
`--with-toolchain-path` to point to the version of Xcode to use, e.g.
`configure --with-toolchain-path=/Applications/Xcode8.app/Contents/Developer/usr/bin`
When updating Xcode, it is advisable to keep an older version for building the JDK.
To use a specific version of Xcode you have multiple options:
* Use `xcode-select -s` before running `configure`, e.g. `xcode-select -s /Applications/Xcode13.1.app`. The drawback is that the setting
is system wide and you may have to revert it after an OpenJDK build.
* Use configure option `--with-xcode-path`, e.g. `configure --with-xcode-path=/Applications/Xcode13.1.app`
This allows using a specific Xcode version for an OpenJDK build, independently of the active Xcode version by `xcode-select`.
If you have recently (inadvertently) updated your OS and/or Xcode version, and
the JDK can no longer be built, please see the section on [Problems with the
@@ -848,7 +848,7 @@ containing `lib/jtreg.jar` etc.
The [Adoption Group](https://wiki.openjdk.java.net/display/Adoption) provides
recent builds of jtreg [here](
https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
https://ci.adoptium.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
`jtreg` directory that you just unpacked.

View File

@@ -242,14 +242,39 @@ $ make test JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot; TE
JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to test/jdk/sun/security/pkcs11/README.</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
<h4 id="system-key-shortcuts">System key shortcuts</h4>
<p>Some Client UI tests use key sequences which may be reserved by the operating system. Usually that causes the test failure. So it is highly recommended to disable system key shortcuts prior testing. The steps to access and disable system key shortcuts for various platforms are provided below.</p>
<h4 id="macos">MacOS</h4>
<h5 id="macos">MacOS</h5>
<p>Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts; select or deselect desired shortcut.</p>
<p>For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails on MacOS because it uses <code>CTRL + F1</code> key sequence to show or hide tooltip message but the key combination is reserved by the operating system. To run the test correctly the default global key shortcut should be disabled using the steps described above, and then deselect &quot;Turn keyboard access on or off&quot; option which is responsible for <code>CTRL + F1</code> combination.</p>
<h4 id="linux">Linux</h4>
<h5 id="linux">Linux</h5>
<p>Open the Activities overview and start typing Settings; Choose Settings, click Devices, then click Keyboard; set or override desired shortcut.</p>
<h4 id="windows">Windows</h4>
<h5 id="windows">Windows</h5>
<p>Type <code>gpedit</code> in the Search and then click Edit group policy; navigate to User Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; File Explorer; in the right-side pane look for &quot;Turn off Windows key hotkeys&quot; and double click on it; enable or disable hotkeys.</p>
<p>Note: restart is required to make the settings take effect.</p>
<h4 id="robot-api">Robot API</h4>
<p>Most automated Client UI tests use <code>Robot</code> API to control
the UI. Usually, the default operating system settings need to be
adjusted for Robot to work correctly. The detailed steps how to access
and update these settings for different platforms are provided
below.</p>
<h5 id="macos-1">macOS</h5>
<p><code>Robot</code> is not permitted to control your Mac by default
since macOS 10.15. To allow it, choose Apple menu -&gt; System Settings,
click Privacy &amp; Security; then click Accessibility and ensure the
following apps are allowed to control your computer: <em>Java</em> and
<em>Terminal</em>. If the tests are run from an IDE, the IDE should be
granted this permission too.</p>
<h5 id="windows-1">Windows</h5>
<p>On Windows if Cygwin terminal is used to run the tests, there is a
delay in focus transfer. Usually it causes automated UI test failure. To
disable the delay, type <code>regedit</code> in the Search and then
select Registry Editor; navigate to the following key:
<code>HKEY_CURRENT_USER\Control Panel\Desktop</code>; make sure the
<code>ForegroundLockTimeout</code> value is set to 0.</p>
<p>Additional information about Client UI tests configuration for
various operating systems can be obtained at <a
href="https://wiki.openjdk.org/display/ClientLibs/Automated+client+GUI+testing+system+set+up+requirements">Automated
client GUI testing system set up requirements</a></p>
</body>
</html>

View File

@@ -546,12 +546,14 @@ test/jdk/sun/security/pkcs11/README.
### Client UI Tests
#### System key shortcuts
Some Client UI tests use key sequences which may be reserved by the operating
system. Usually that causes the test failure. So it is highly recommended to
disable system key shortcuts prior testing. The steps to access and disable
system key shortcuts for various platforms are provided below.
#### MacOS
##### macOS
Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts;
select or deselect desired shortcut.
@@ -564,12 +566,12 @@ test correctly the default global key shortcut should be disabled using the
steps described above, and then deselect "Turn keyboard access on or off"
option which is responsible for `CTRL + F1` combination.
#### Linux
##### Linux
Open the Activities overview and start typing Settings; Choose Settings, click
Devices, then click Keyboard; set or override desired shortcut.
#### Windows
##### Windows
Type `gpedit` in the Search and then click Edit group policy; navigate to User
Configuration -> Administrative Templates -> Windows Components -> File
@@ -578,6 +580,33 @@ double click on it; enable or disable hotkeys.
Note: restart is required to make the settings take effect.
#### Robot API
Most automated Client UI tests use `Robot` API to control the UI. Usually,
the default operating system settings need to be adjusted for Robot
to work correctly. The detailed steps how to access and update these settings
for different platforms are provided below.
##### macOS
`Robot` is not permitted to control your Mac by default since
macOS 10.15. To allow it, choose Apple menu -> System Settings, click
Privacy & Security; then click Accessibility and ensure the following apps are
allowed to control your computer: *Java* and *Terminal*. If the tests are run
from an IDE, the IDE should be granted this permission too.
##### Windows
On Windows if Cygwin terminal is used to run the tests, there is a delay in
focus transfer. Usually it causes automated UI test failure. To disable the
delay, type `regedit` in the Search and then select Registry Editor; navigate
to the following key: `HKEY_CURRENT_USER\Control Panel\Desktop`; make sure
the `ForegroundLockTimeout` value is set to 0.
Additional information about Client UI tests configuration for various operating
systems can be obtained at [Automated client GUI testing system set up
requirements](https://wiki.openjdk.org/display/ClientLibs/Automated+client+GUI+testing+system+set+up+requirements)
---
# Override some definitions in the global css file that are not optimal for
# this document.

View File

@@ -1,13 +0,0 @@
# jetbrains/runtime:jbr15env
FROM centos:7
RUN yum -y install centos-release-scl
RUN yum -y install devtoolset-8
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool gcc gcc-c++ libstdc++-devel alsa-devel cups-devel xorg-x11-devel libjpeg62-devel giflib-devel freetype-devel file which libXtst-devel libXt-devel libXrender-devel alsa-lib-devel fontconfig-devel libXrandr-devel libXi-devel git
# Install Java 16
RUN wget https://cdn.azul.com/zulu/bin/zulu16.28.11-ca-jdk16.0.0-linux_x64.tar.gz \
-O - | tar xz -C /
RUN mv /zulu16.28.11-ca-jdk16.0.0-linux_x64 /jdk16.0.0
ENV PATH /opt/rh/devtoolset-8/root/usr/bin:$PATH
RUN mkdir .git
RUN git config user.email "teamcity@jetbrains.com"
RUN git config user.name "builduser"

View File

@@ -5,44 +5,42 @@
# image creation reproducible.
# NB: this also means there may be no security-related fixes there, need to
# move the version to the next manually.
FROM arm64v8/ubuntu:focal-20211006
# jetbrains/runtime:jbr17env_aarch64
FROM arm64v8/centos:7
# Install the necessary build tools
RUN export DEBIAN_FRONTEND=noninteractive \
export DEBCONF_NONINTERACTIVE_SEEN=true && \
echo 'tzdata tzdata/Areas select Etc' | debconf-set-selections; \
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections; \
apt-get update -qy && \
apt-get install -qy \
autoconf \
build-essential \
bzip2 \
file \
g++-10=10.3.0-1ubuntu1~20.04 \
gcc-10=10.3.0-1ubuntu1~20.04 \
git \
libasound2-dev \
libcups2-dev \
libfontconfig1-dev \
libx11-dev \
libxext-dev \
libxrandr-dev \
libxrender-dev \
libxt-dev \
libxtst-dev \
make \
rsync \
tar \
unzip \
zip && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 && \
apt-get clean -qy && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN yum -y update; \
yum -y install centos-release-scl; \
yum -y install devtoolset-10-10.1-0.el7; \
yum -y install \
alsa-lib-devel-1.1.8-1.el7.aarch64 \
autoconf-2.69-11.el7.noarch \
automake-1.13.4-3.el7.noarch \
bzip2-1.0.6-13.el7.aarch64 \
cups-devel-1.6.3-51.el7.aarch64 \
file-5.11-37.el7.aarch64 \
fontconfig-devel-2.13.0-4.3.el7.aarch64 \
freetype-devel-2.8-14.el7_9.1.aarch64 \
giflib-devel-4.1.6-9.el7.aarch64 \
git-1.8.3.1-24.el7_9.aarch64 \
libtool-2.4.2-22.el7_3.aarch64 \
libXi-devel-1.7.9-1.el7.aarch64 \
libXrandr-devel-1.5.1-2.el7.aarch64 \
libXrender-devel-0.9.10-1.el7.aarch64 \
libXt-devel-1.1.5-3.el7.aarch64 \
libXtst-devel-1.2.3-1.el7.aarch64 \
make-3.82-24.el7.aarch64 \
rsync-3.1.2-12.el7_9.aarch64 \
tar-1.26-35.el7.aarch64 \
unzip-6.0-24.el7_9.aarch64 \
wayland-devel-1.15.0-1.el7 \
zip-3.0-11.el7.aarch64; \
yum -y clean all
# Set up boot JDK for building
COPY boot_jdk.tar.gz /jdk17/
RUN cd /jdk17 && tar --strip-components=1 -xzf boot_jdk.tar.gz && rm /jdk17/boot_jdk.tar.gz
ENV BOOT_JDK=/jdk17
ENV PATH="/opt/rh/devtoolset-10/root/usr/bin:${PATH}"
ENV LD_LIBRARY_PATH="/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib"
ENV PKG_CONFIG_PATH="/opt/rh/devtoolset-10/root/usr/lib64/pkgconfig"
RUN git config --global user.email "teamcity@jetbrains.com" && \
git config --global user.name "builduser"

View File

@@ -0,0 +1,36 @@
# jetbrains/runtime:jbr17env_x86_64
FROM centos:7
RUN yum -y install centos-release-scl; \
yum -y install devtoolset-10-10.1-0.el7; \
yum -y install \
alsa-lib-devel-1.1.8-1.el7 \
autoconf-2.69-11.el7 \
automake-1.13.4-3.el7 \
bzip2-1.0.6-13.el7 \
cups-devel-1.6.3-51.el7 \
file-5.11-37.el7 \
fontconfig-devel-2.13.0-4.3.el7 \
freetype-devel-2.8-14.el7_9.1 \
giflib-devel-4.1.6-9.el7 \
git-1.8.3.1-24.el7_9 \
libtool-2.4.2-22.el7_3 \
libXi-devel-1.7.9-1.el7 \
libXrandr-devel-1.5.1-2.el7 \
libXrender-devel-0.9.10-1.el7 \
libXt-devel-1.1.5-3.el7 \
libXtst-devel-1.2.3-1.el7 \
make-3.82-24.el7 \
tar-1.26-35.el7 \
unzip-6.0-24.el7_9 \
wayland-devel-1.15.0-1.el7 \
wget-1.14-18.el7_6.1 \
which-2.20-7.el7 \
zip-3.0-11.el7
RUN mkdir .git && \
git config user.email "teamcity@jetbrains.com" && \
git config user.name "builduser"
ENV LD_LIBRARY_PATH="/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib"
ENV PATH="/opt/rh/devtoolset-10/root/usr/bin::${PATH}"
ENV PKG_CONFIG_PATH="/opt/rh/devtoolset-10/root/usr/lib64/pkgconfig"

View File

@@ -135,6 +135,7 @@ if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi

View File

@@ -134,6 +134,7 @@ if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
cp $JCEF_PATH/jmods/* $JSDK_MODS_DIR # $JSDK/jmods is not changed
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi

View File

@@ -0,0 +1,47 @@
#!/bin/bash
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
source "$SCRIPT_DIR/jetsign-common.sh" || exit 1
function isMacOsBinary() {
file "$1" | grep -q 'Mach-O'
}
function isSigned() {
codesign --verify "$1" >/dev/null 2>&1 && ! grep -q Signature=adhoc < <(codesign --display --verbose "$1" 2>&1)
}
# last argument is a path to be signed
pathToBeSigned="$(pwd)/${*: -1}"
jetSignArgs=("${@:1:$#-1}")
if [[ ! -f "$pathToBeSigned" ]]; then
echo "$pathToBeSigned is missing or not a file"
exit 1
elif isSigned "$pathToBeSigned" && ! isForced "${jetSignArgs[@]}" ; then
echo "Already signed: $pathToBeSigned"
elif [[ "$JETSIGN_CLIENT" == "null" ]]; then
echo "JetSign client is missing, cannot proceed with signing"
exit 1
elif ! isMacOsBinary "$pathToBeSigned" && [[ "$pathToBeSigned" != *.sit ]] && [[ "$pathToBeSigned" != *.tar.gz ]]; then
echo "$pathToBeSigned won't be signed, assumed not to be a macOS executable"
else
if isMacOsBinary "$pathToBeSigned" && ! isSigned "$pathToBeSigned" ; then
echo "Unsigned macOS binary: $pathToBeSigned"
fi
workDir=$(dirname "$pathToBeSigned")
pathSigned="$workDir/signed/${pathToBeSigned##*/}"
jetSignExtensions=$(jetSignExtensions "${jetSignArgs[@]}")
contentType=$(jetSignContentType "$pathToBeSigned")
(
cd "$workDir" || exit 1
"$JETSIGN_CLIENT" -log-format text -denoted-content-type "$contentType" -extensions "$jetSignExtensions" "$pathToBeSigned"
# SRE-1223 (Codesign removes execute bits in executable files) workaround
chmod "$(stat -f %A "$pathToBeSigned")" "$pathSigned"
if isMacOsBinary "$pathSigned"; then
isSigned "$pathSigned"
fi
rm "$pathToBeSigned"
mv "$pathSigned" "$pathToBeSigned"
rm -rf "$workDir/signed"
)
fi

View File

@@ -0,0 +1,63 @@
#!/bin/bash
set -euo pipefail
function isForced() {
for arg in "$@"; do
if [[ "$arg" == --force ]]; then
return 0
fi
done
return 1
}
function jetSignExtensions() {
args=("$@")
((lastElementIndex=${#args[@]}-1))
for index in "${!args[@]}"; do
arg=${args[$index]}
case "$arg" in
--sign | -s)
echo -n 'mac_codesign_identity='
continue
;;
--entitlements)
echo -n 'mac_codesign_entitlements='
continue
;;
--options=runtime)
echo -n 'mac_codesign_options=runtime'
;;
--force)
echo -n 'mac_codesign_force=true'
;;
--timestamp | --verbose | -v)
continue
;;
*)
echo -n "$arg"
;;
esac
if [[ $index != "$lastElementIndex" ]]; then
echo -n ","
fi
done
}
# See jetbrains.sign.util.FileUtil.contentType
function jetSignContentType() {
case "${1##*/}" in
*.sit)
echo -n 'application/x-mac-app-zip'
;;
*.tar.gz)
echo -n 'application/x-mac-app-targz'
;;
*.pkg)
echo -n 'application/x-mac-pkg'
;;
*)
echo -n 'application/x-mac-app-bin'
;;
esac
}

View File

@@ -101,6 +101,10 @@ function create_image_bundle {
zip_native_debug_symbols $IMAGES_DIR/jdk-bundle/jdk-$JBSDK_VERSION.jdk "${JBR}_diz"
fi
if [ "$bundle_type" == "jcef" ]; then
cat $JCEF_PATH/jcef.version >> "$JRE_CONTENTS/Home/release"
fi
cp -R "$JSDK"/../MacOS "$JRE_CONTENTS"
cp "$JSDK"/../Info.plist "$JRE_CONTENTS"

View File

@@ -1,21 +1,17 @@
#!/bin/bash
#immediately exit script with an error if a command fails
set -euo pipefail
set -x
[[ "${SCRIPT_VERBOSE:-}" == "1" ]] && set -x
APP_DIRECTORY=$1
APPL_USER=$2
APPL_PASSWORD=$3
APP_NAME=$4
BUNDLE_ID=$5
FAKE_ROOT="${6:-fake-root}"
APP_PATH=$1
if [[ -z "$APP_DIRECTORY" ]] || [[ -z "$APPL_USER" ]] || [[ -z "$APPL_PASSWORD" ]]; then
echo "Usage: $0 AppDirectory Username Password"
if [[ -z "$APP_PATH" ]]; then
echo "Usage: $0 AppPath"
exit 1
fi
if [[ ! -d "$APP_DIRECTORY" ]]; then
echo "AppDirectory '$APP_DIRECTORY' does not exist or not a directory"
if [[ ! -f "$APP_PATH" ]]; then
echo "AppName '$APP_PATH' does not exist or not a file"
exit 1
fi
@@ -23,99 +19,22 @@ function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
function publish-log() {
id=$1
file=$2
curl -T "$file" "$ARTIFACTORY_URL/$id" || true
}
function altool-upload() {
# Since altool uses same file for upload token we have to trick it into using different folders for token file location
# Also it copies zip into TMPDIR so we override it too, to simplify cleanup
OLD_HOME="$HOME"
export HOME="$FAKE_ROOT/home"
export TMPDIR="$FAKE_ROOT/tmp"
mkdir -p "$HOME"
mkdir -p "$TMPDIR"
export _JAVA_OPTIONS="-Duser.home=$HOME -Djava.io.tmpdir=$TMPDIR"
# Reduce amount of downloads, cache transporter libraries
shared_itmstransporter="$OLD_HOME/shared-itmstransporter"
if [[ -f "$shared_itmstransporter" ]]; then
cp -r "$shared_itmstransporter" "$HOME/.itmstransporter"
fi
# For some reason altool prints everything to stderr, not stdout
set +e
xcrun altool --notarize-app \
--username "$APPL_USER" --password "$APPL_PASSWORD" \
--primary-bundle-id "$BUNDLE_ID" \
--asc-provider JetBrainssro --file "$1" 2>&1 | tee "altool.init.out"
unset TMPDIR
export HOME="$OLD_HOME"
set -e
}
# check required parameters
: "${APPLE_ISSUER_ID}"
: "${APPLE_KEY_ID}"
: "${APPLE_PRIVATE_KEY}"
#immediately exit script with an error if a command fails
set -euo pipefail
# shellcheck disable=SC2064
trap "rm -f \"$PWD/tmp_key\"" INT EXIT RETURN
echo -n "${APPLE_PRIVATE_KEY}" > tmp_key
#file="$APP_NAME.zip"
log "Notarizing $APP_PATH..."
xcrun notarytool submit --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" "$APP_PATH" 2>&1 | tee "notarytool.submit.out"
REQUEST_ID="$(grep -e " id: " "notarytool.submit.out" | grep -oE '([0-9a-f-]{36})'| head -n1)"
#log "Zipping $file..."
#rm -rf "$file"
#ditto -c -k --sequesterRsrc --keepParent "$APP_DIRECTORY" "$file"
xcrun notarytool wait "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" --timeout 6h ||:
xcrun notarytool log "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}" developer_log.json ||:
xcrun notarytool info "$REQUEST_ID" --key tmp_key --key-id "${APPLE_KEY_ID}" --issuer "${APPLE_ISSUER_ID}"
log "Notarizing $APP_NAME..."
rm -rf "altool.init.out" "altool.check.out"
altool-upload "$APP_NAME"
notarization_info="$(grep -e "RequestUUID" "altool.init.out" | grep -oE '([0-9a-f-]{36})')"
if [ -z "$notarization_info" ]; then
log "Faile to read RequestUUID from altool.init.out"
exit 10
fi
PATH="$PATH:/usr/local/bin/"
log "Notarization request sent, awaiting response"
spent=0
while true; do
# For some reason altool prints everything to stderr, not stdout
xcrun altool --username "$APPL_USER" --notarization-info "$notarization_info" --password "$APPL_PASSWORD" >"altool.check.out" 2>&1 || true
status="$(grep -oe 'Status: .*' "altool.check.out" | cut -c 9- || true)"
log "Current status: $status"
if [ "$status" = "invalid" ]; then
log "Notarization failed"
ec=1
elif [ "$status" = "success" ]; then
log "Notarization succeeded"
ec=0
else
if [ "$status" != "in progress" ]; then
log "Unknown notarization status, waiting more, altool output:"
cat "altool.check.out"
fi
if [[ $spent -gt 60 ]]; then
log "Waiting time out (apx 60 minutes)"
ec=2
break
fi
sleep 60
((spent += 1))
continue
fi
developer_log="developer_log.json"
log "Fetching $developer_log"
# TODO: Replace cut with trim or something better
url="$(grep -oe 'LogFileURL: .*' "altool.check.out" | cut -c 13-)"
wget "$url" -O "$developer_log" && cat "$developer_log" || true
if [ $ec != 0 ]; then
log "Publishing $developer_log"
publish-log "$notarization_info" "$developer_log"
fi
break
done
cat "altool.check.out"
rm -rf "altool.init.out" "altool.check.out"
exit $ec
log "Notarizing finished"

View File

@@ -0,0 +1,41 @@
#!/bin/bash
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
source "$SCRIPT_DIR/jetsign-common.sh" || exit 1
function isSigned() {
pkgutil --check-signature "$1" >/dev/null 2>&1 && grep -q "signed by a developer certificate" < <(pkgutil --check-signature "$1" 2>&1)
}
# second last argument is a path to be signed
pathToBeSigned="$(pwd)/${*:(-2):1}"
# last argument is a path to signed file
pathOut="$(pwd)/${*:(-1)}"
jetSignArgs=("${@:1:$#-2}")
if [[ ! -f "$pathToBeSigned" ]]; then
echo "$pathToBeSigned is missing or not a file"
exit 1
elif isSigned "$pathToBeSigned" && ! isForced "${jetSignArgs[@]}" ; then
echo "Already signed: $pathToBeSigned"
elif [[ "$JETSIGN_CLIENT" == "null" ]]; then
echo "JetSign client is missing, cannot proceed with signing"
exit 1
elif [[ "$pathToBeSigned" != *.pkg ]]; then
echo "$pathToBeSigned won't be signed, assumed not to be a macOS package"
else
if ! isSigned "$pathToBeSigned" ; then
echo "Unsigned macOS package: $pathToBeSigned"
fi
workDir=$(dirname "$pathToBeSigned")
pathSigned="$workDir/signed/${pathToBeSigned##*/}"
jetSignExtensions=$(jetSignExtensions "${jetSignArgs[@]}")
contentType=$(jetSignContentType "$pathToBeSigned")
(
cd "$workDir" || exit 1
"$JETSIGN_CLIENT" -log-format text -denoted-content-type "$contentType" -extensions "$jetSignExtensions" "$pathToBeSigned"
isSigned "$pathSigned"
rm -f "$pathOut"
mv "$pathSigned" "$pathOut"
rm -rf "$workDir/signed"
)
fi

View File

@@ -1,18 +1,33 @@
#!/bin/bash
#immediately exit script with an error if a command fails
set -euo pipefail
set -x
[[ "${SCRIPT_VERBOSE:-}" == "1" ]] && set -x
if [[ $# -lt 5 ]]; then
echo "Usage: $0 AppDirectory AppName BundleId CertificateID InstallerCertificateID"
exit 1
fi
APPLICATION_PATH=$1
APP_NAME=$2
PKG_NAME=$2
BUNDLE_ID=$3
JB_DEVELOPER_CERT=$4
JB_INSTALLER_CERT=$5
if [[ -z "$APPLICATION_PATH" ]] || [[ -z "$JB_DEVELOPER_CERT" ]]; then
echo "Usage: $0 AppDirectory CertificateID"
exit 1
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
# Use JetBrains sign utility if it's available
if [[ "${JETSIGN_CLIENT:=}" == "null" ]] || [[ "$JETSIGN_CLIENT" == "" ]]; then
JB_SIGN=false
SIGN_UTILITY="codesign"
PRODUCTSIGN_UTILITY="productsign"
else
JB_SIGN=true
SIGN_UTILITY="$SCRIPT_DIR/codesign.sh"
PRODUCTSIGN_UTILITY="$SCRIPT_DIR/productsign.sh"
fi
if [[ ! -d "$APPLICATION_PATH" ]]; then
echo "AppDirectory '$APPLICATION_PATH' does not exist or not a directory"
exit 1
@@ -22,9 +37,6 @@ function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
#immediately exit script with an error if a command fails
set -euo pipefail
# Cleanup files left from previous sign attempt (if any)
find "$APPLICATION_PATH" -name '*.cstemp' -exec rm '{}' \;
@@ -37,13 +49,13 @@ for f in \
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -name "*.node" -o -perm +111 \) \
-exec codesign --timestamp \
-exec "$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime --force \
--entitlements entitlements.xml {} \;
--entitlements "$SCRIPT_DIR/entitlements.xml" {} \;
fi
done
log "Signing libraries in jars in $PWD"
log "Signing libraries in jars in $APPLICATION_PATH"
# todo: add set -euo pipefail; into the inner sh -c
# `-e` prevents `grep -q && printf` loginc
@@ -61,10 +73,10 @@ find "$APPLICATION_PATH" -name '*.jar' \
find jarfolder \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -name "jattach" \) \
-exec codesign --timestamp \
-exec "$SIGN_UTILITY" --timestamp \
--force \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--entitlements entitlements.xml {} \;
--entitlements "$SCRIPT_DIR/entitlements.xml" {} \;
(cd jarfolder; zip -q -r -o -0 ../jar.jar .)
mv jar.jar "$file"
@@ -73,44 +85,77 @@ find "$APPLICATION_PATH" -name '*.jar' \
rm -rf jarfolder jar.jar
log "Signing other files..."
# shellcheck disable=SC2043
for f in \
"Contents/Home/bin"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "*.tbd" -o -perm +111 \) \
-exec codesign --timestamp \
-exec "$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime --force \
--entitlements entitlements.xml {} \;
--entitlements "$SCRIPT_DIR/entitlements.xml" {} \;
fi
done
#log "Signing executable..."
#codesign --timestamp \
# -v -s "$JB_DEVELOPER_CERT" --options=runtime \
# --force \
# --entitlements entitlements.xml "$APPLICATION_PATH/Contents/MacOS/idea"
log "Signing whole frameworks..."
# shellcheck disable=SC2043
if [ "$JB_SIGN" = true ]; then for f in \
"Contents/Home/Frameworks" "Contents/Frameworks"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" \( -name '*.framework' -o -name '*.app' \) -maxdepth 1 | while read -r line
do
log "Signing '$line':"
tar -pczf tmp-to-sign.tar.gz -C "$(dirname "$line")" "$(basename "$line")"
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" tmp-to-sign.tar.gz
rm -rf "$line"
tar -xzf tmp-to-sign.tar.gz --directory "$(dirname "$line")"
rm -f tmp-to-sign.tar.gz
done
fi
done; fi
log "Checking framework signatures..."
for f in \
"Contents/Home/Frameworks" "Contents/Frameworks"; do
if [ -d "$APPLICATION_PATH/$f" ]; then
find "$APPLICATION_PATH/$f" -name '*.framework' -maxdepth 1 | while read -r line
do
log "Checking '$line':"
codesign --verify --deep --strict --verbose=4 "$line"
done
fi
done
log "Signing whole app..."
codesign --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements entitlements.xml "$APPLICATION_PATH"
if [ "$JB_SIGN" = true ]; then
tar -pczf tmp-to-sign.tar.gz --exclude='man' -C "$(dirname "$APPLICATION_PATH")" "$(basename "$APPLICATION_PATH")"
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" tmp-to-sign.tar.gz
rm -rf "$APPLICATION_PATH"
tar -xzf tmp-to-sign.tar.gz --directory "$(dirname "$APPLICATION_PATH")"
rm -f tmp-to-sign.tar.gz
else
"$SIGN_UTILITY" --timestamp \
-v -s "$JB_DEVELOPER_CERT" --options=runtime \
--force \
--entitlements "$SCRIPT_DIR/entitlements.xml" "$APPLICATION_PATH"
fi
BUILD_NAME=$(echo $APPLICATION_PATH | awk -F"/" '{ print $2 }')
BUILD_NAME="$(basename "$APPLICATION_PATH")"
log "Creating $APP_NAME.pkg..."
rm -rf "$APP_NAME.pkg"
log "Creating $PKG_NAME..."
rm -rf "$PKG_NAME"
mkdir -p unsigned
pkgbuild --identifier $BUNDLE_ID --root $APPLICATION_PATH \
--install-location /Library/Java/JavaVirtualMachines/${BUILD_NAME} unsigned/${APP_NAME}.pkg
productsign --timestamp --sign "$JB_INSTALLER_CERT" unsigned/${APP_NAME}.pkg ${APP_NAME}.pkg
#log "Signing whole app..."
#codesign --timestamp \
# -v -s "$JB_DEVELOPER_CERT" --options=runtime \
# --force \
# --entitlements entitlements.xml $APP_NAME.pkg
--install-location /Library/Java/JavaVirtualMachines/${BUILD_NAME} unsigned/${PKG_NAME}
log "Signing $PKG_NAME..."
"$PRODUCTSIGN_UTILITY" --timestamp --sign "$JB_INSTALLER_CERT" unsigned/${PKG_NAME} ${PKG_NAME}
log "Verifying java is not broken"
find "$APPLICATION_PATH" \

View File

@@ -2,7 +2,7 @@
#immediately exit script with an error if a command fails
set -euo pipefail
set -x
[[ "${SCRIPT_VERBOSE:-}" == "1" ]] && set -x
export COPY_EXTENDED_ATTRIBUTES_DISABLE=true
export COPYFILE_DISABLE=true
@@ -17,7 +17,7 @@ JB_INSTALLER_CERT=$6
NOTARIZE=$7
BUNDLE_ID=$8
cd "$(dirname "$0")"
SCRIPT_DIR="$(cd "$(dirname "$0")" >/dev/null && pwd)"
function log() {
echo "$(date '+[%H:%M:%S]') $*"
@@ -44,7 +44,8 @@ fi
log "$INPUT_FILE extracted and removed"
APP_NAME=$(echo ${INPUT_FILE} | awk -F".tar" '{ print $1 }')
APP_NAME=$(basename "$INPUT_FILE" | awk -F".tar" '{ print $1 }')
PKG_NAME="$APP_NAME.pkg"
APPLICATION_PATH=$EXPLODED/$(ls $EXPLODED)
find "$APPLICATION_PATH/Contents/Home/bin" \
@@ -73,16 +74,18 @@ if [[ $non_plist -gt 0 ]]; then
exit 1
fi
log "Unlocking keychain..."
# Make sure *.p12 is imported into local KeyChain
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
if [[ "${JETSIGN_CLIENT:=}" == "null" ]] || [[ "$JETSIGN_CLIENT" == "" ]]; then
log "Unlocking keychain..."
# Make sure *.p12 is imported into local KeyChain
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
fi
attempt=1
limit=3
set +e
while [[ $attempt -le $limit ]]; do
log "Signing (attempt $attempt) $APPLICATION_PATH ..."
./sign.sh "$APPLICATION_PATH" "$APP_NAME" "$BUNDLE_ID" "$CODESIGN_STRING" "$JB_INSTALLER_CERT"
"$SCRIPT_DIR/sign.sh" "$APPLICATION_PATH" "$PKG_NAME" "$BUNDLE_ID" "$CODESIGN_STRING" "$JB_INSTALLER_CERT"
ec=$?
if [[ $ec -ne 0 ]]; then
((attempt += 1))
@@ -104,19 +107,10 @@ set -e
if [ "$NOTARIZE" = "yes" ]; then
log "Notarizing..."
# shellcheck disable=SC1090
source "$HOME/.notarize_token"
# Since notarization tool uses same file for upload token we have to trick it into using different folders, hence fake root
# Also it leaves copy of zip file in TMPDIR, so notarize.sh overrides it and uses FAKE_ROOT as location for temp TMPDIR
FAKE_ROOT="$(pwd)/fake-root"
mkdir -p "$FAKE_ROOT"
echo "Notarization will use fake root: $FAKE_ROOT"
./notarize.sh "$APPLICATION_PATH" "$APPLE_USERNAME" "$APPLE_PASSWORD" "$APP_NAME.pkg" "$BUNDLE_ID" "$FAKE_ROOT"
rm -rf "$FAKE_ROOT"
set +e
"$SCRIPT_DIR/notarize.sh" "$PKG_NAME"
log "Stapling..."
xcrun stapler staple "$APPLICATION_PATH"
xcrun stapler staple "$APPLICATION_PATH" ||:
xcrun stapler staple "$PKG_NAME" ||:
else
log "Notarization disabled"
log "Stapling disabled"
@@ -129,7 +123,11 @@ log "Zipping $BUILD_NAME to $INPUT_FILE ..."
if test -d $BACKUP_JMODS/jmods; then
mv $BACKUP_JMODS/jmods $APPLICATION_PATH/Contents/Home
fi
mv $APPLICATION_PATH $EXPLODED/$BUILD_NAME
if [[ "$APPLICATION_PATH" != "$EXPLODED/$BUILD_NAME" ]]; then
mv $APPLICATION_PATH $EXPLODED/$BUILD_NAME
else
echo "No move, source == destination: $APPLICATION_PATH"
fi
tar -pczvf $INPUT_FILE --exclude='man' -C $EXPLODED $BUILD_NAME
log "Finished zipping"

View File

@@ -126,6 +126,7 @@ if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi

View File

@@ -117,6 +117,7 @@ if [ "$bundle_type" == "jcef" ] || [ "$bundle_type" == "fd" ]; then
cp $JCEF_PATH/jmods/* ${JSDK_MODS_DIR} # $JSDK/jmods is not unchanged
jbr_name_postfix="_${bundle_type}"
cat $JCEF_PATH/jcef.version >> $JSDK/release
else
jbr_name_postfix=""
fi

View File

@@ -42,7 +42,7 @@ JBR_API_GENSRC_FILES := $(foreach f, $(call FindFiles, $(JBR_API_SRC_DIR)), \
$(JBR_API_GENSRC_DIR)/$(call RelativePath, $f, $(JBR_API_SRC_DIR)))
ifeq ($(JBR_API_JBR_VERSION),)
JBR_API_JBR_VERSION := <DEVELOPMENT>
JBR_API_JBR_VERSION := DEVELOPMENT
JBR_API_FAIL_ON_HASH_MISMATCH := false
else
.PHONY: $(JBR_API_VERSION_PROPERTIES)
@@ -90,4 +90,4 @@ ifneq ($(JBR_API_CONF_FILE),)
$(ECHO) "SOURCES_JAR=$(JBR_API_OUTPUT_DIR)/jbr-api-sources.jar" >> $(JBR_API_CONF_FILE)
jbr-api: $(JBR_API_CONF_FILE)
.PHONY: $(JBR_API_CONF_FILE)
endif
endif

View File

@@ -51,6 +51,7 @@ define create-info-file
$(if $(VENDOR_VERSION_STRING), \
$(call info-file-item, "IMPLEMENTOR_VERSION", "$(VENDOR_VERSION_STRING)"))
$(call info-file-item, "JAVA_VERSION_DATE", "$(VERSION_DATE)")
$(call info-file-item, "JAVA_RUNTIME_VERSION", "$(VERSION_STRING)")
$(call info-file-item, "OS_NAME", "$(RELEASE_FILE_OS_NAME)")
$(call info-file-item, "OS_ARCH", "$(RELEASE_FILE_OS_ARCH)")
$(call info-file-item, "LIBC", "$(RELEASE_FILE_LIBC)")

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -31,6 +31,7 @@ include JavaCompilation.gmk
include Modules.gmk
SRC_ZIP_WORK_DIR := $(SUPPORT_OUTPUTDIR)/src
$(if $(filter $(TOPDIR)/%, $(SUPPORT_OUTPUTDIR)), $(eval SRC_ZIP_BASE := $(TOPDIR)), $(eval SRC_ZIP_BASE := $(SUPPORT_OUTPUTDIR)))
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, ZipSource.gmk))
@@ -45,10 +46,10 @@ ALL_MODULES := $(FindAllModules)
# again to create src.zip.
$(foreach m, $(ALL_MODULES), \
$(foreach d, $(call FindModuleSrcDirs, $m), \
$(eval $d_TARGET := $(SRC_ZIP_WORK_DIR)/$(patsubst $(TOPDIR)/%,%,$d)/$m) \
$(eval $d_TARGET := $(SRC_ZIP_WORK_DIR)/$(patsubst $(TOPDIR)/%,%,$(patsubst $(SUPPORT_OUTPUTDIR)/%,%,$d))/$m) \
$(if $(SRC_GENERATED), , \
$(eval $$($d_TARGET): $d ; \
$$(if $(filter $(TOPDIR)/%, $d), $$(link-file-relative), $$(link-file-absolute)) \
$$(if $(filter $(SRC_ZIP_BASE)/%, $d), $$(link-file-relative), $$(link-file-absolute)) \
) \
) \
$(eval SRC_ZIP_SRCS += $$($d_TARGET)) \

View File

@@ -55,6 +55,7 @@ AC_DEFUN([BASIC_CHECK_LEFTOVER_OVERRIDDEN],
###############################################################################
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
# Make sure to only use tools set up in BASIC_SETUP_FUNDAMENTAL_TOOLS.
AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
[
# Save the current directory this script was started from
@@ -212,6 +213,18 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
[UTIL_PREPEND_TO_PATH([TOOLCHAIN_PATH],$with_toolchain_path)]
)
AC_ARG_WITH([xcode-path], [AS_HELP_STRING([--with-xcode-path],
[set up toolchain on Mac OS using a path to an Xcode installation])])
if test "x$with_xcode_path" != x; then
if test "x$OPENJDK_BUILD_OS" = "xmacosx"; then
UTIL_PREPEND_TO_PATH([TOOLCHAIN_PATH],
$with_xcode_path/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:$with_xcode_path/Contents/Developer/usr/bin)
else
AC_MSG_WARN([Option --with-xcode-path is only valid on Mac OS, ignoring.])
fi
fi
AC_ARG_WITH([extra-path], [AS_HELP_STRING([--with-extra-path],
[prepend these directories to the default path])],
[UTIL_PREPEND_TO_PATH([EXTRA_PATH],$with_extra_path)]
@@ -222,7 +235,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
# If not, detect if Xcode is installed by running xcodebuild -version
# if no Xcode installed, xcodebuild exits with 1
# if Xcode is installed, even if xcode-select is misconfigured, then it exits with 0
if test "x$DEVKIT_ROOT" != x || /usr/bin/xcodebuild -version >/dev/null 2>&1; then
if test "x$DEVKIT_ROOT" != x || test "x$TOOLCHAIN_PATH" != x || /usr/bin/xcodebuild -version >/dev/null 2>&1; then
# We need to use xcodebuild in the toolchain dir provided by the user
UTIL_LOOKUP_PROGS(XCODEBUILD, xcodebuild, $TOOLCHAIN_PATH)
if test x$XCODEBUILD = x; then

View File

@@ -24,8 +24,8 @@
#
###############################################################################
# Setup the most fundamental tools that relies on not much else to set up,
# but is used by much of the early bootstrap code.
# Setup the most fundamental tools, used for setting up build platform and
# path handling.
AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
[
# Bootstrapping: These tools are needed by UTIL_LOOKUP_PROGS
@@ -37,7 +37,28 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_CHECK_NONEMPTY(FILE)
AC_PATH_PROGS(LDD, ldd)
# First are all the fundamental required tools.
# Required tools
UTIL_REQUIRE_PROGS(ECHO, echo)
UTIL_REQUIRE_PROGS(TR, tr)
UTIL_REQUIRE_PROGS(UNAME, uname)
UTIL_REQUIRE_PROGS(WC, wc)
# Required tools with some special treatment
UTIL_REQUIRE_SPECIAL(GREP, [AC_PROG_GREP])
UTIL_REQUIRE_SPECIAL(EGREP, [AC_PROG_EGREP])
UTIL_REQUIRE_SPECIAL(SED, [AC_PROG_SED])
# Tools only needed on some platforms
UTIL_LOOKUP_PROGS(PATHTOOL, cygpath wslpath)
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
])
###############################################################################
# Setup further tools that should be resolved early but after setting up
# build platform and path handling.
AC_DEFUN_ONCE([BASIC_SETUP_TOOLS],
[
# Required tools
UTIL_REQUIRE_PROGS(BASH, bash)
UTIL_REQUIRE_PROGS(CAT, cat)
UTIL_REQUIRE_PROGS(CHMOD, chmod)
@@ -45,7 +66,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_REQUIRE_PROGS(CUT, cut)
UTIL_REQUIRE_PROGS(DATE, date)
UTIL_REQUIRE_PROGS(DIFF, gdiff diff)
UTIL_REQUIRE_PROGS(ECHO, echo)
UTIL_REQUIRE_PROGS(EXPR, expr)
UTIL_REQUIRE_PROGS(FIND, find)
UTIL_REQUIRE_PROGS(GUNZIP, gunzip)
@@ -67,26 +87,18 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_REQUIRE_PROGS(TAR, gtar tar)
UTIL_REQUIRE_PROGS(TEE, tee)
UTIL_REQUIRE_PROGS(TOUCH, touch)
UTIL_REQUIRE_PROGS(TR, tr)
UTIL_REQUIRE_PROGS(UNAME, uname)
UTIL_REQUIRE_PROGS(WC, wc)
UTIL_REQUIRE_PROGS(XARGS, xargs)
# Then required tools that require some special treatment.
UTIL_REQUIRE_SPECIAL(GREP, [AC_PROG_GREP])
UTIL_REQUIRE_SPECIAL(EGREP, [AC_PROG_EGREP])
# Required tools with some special treatment
UTIL_REQUIRE_SPECIAL(FGREP, [AC_PROG_FGREP])
UTIL_REQUIRE_SPECIAL(SED, [AC_PROG_SED])
# Optional tools, we can do without them
UTIL_LOOKUP_PROGS(DF, df)
UTIL_LOOKUP_PROGS(NICE, nice)
UTIL_LOOKUP_PROGS(READLINK, greadlink readlink)
# These are only needed on some platforms
UTIL_LOOKUP_PROGS(PATHTOOL, cygpath wslpath)
# Tools only needed on some platforms
UTIL_LOOKUP_PROGS(LSB_RELEASE, lsb_release)
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
# For compare.sh only
UTIL_LOOKUP_PROGS(CMP, cmp)
@@ -161,7 +173,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_OUTPUT_SYNC],
[
# Check if make supports the output sync option and if so, setup using it.
UTIL_ARG_WITH(NAME: output-sync, TYPE: literal,
VALID_VALUES: [none recurse line target], DEFAULT: recurse,
VALID_VALUES: [none recurse line target], DEFAULT: none,
OPTIONAL: true, ENABLED_DEFAULT: true,
ENABLED_RESULT: OUTPUT_SYNC_SUPPORTED,
CHECKING_MSG: [for make --output-sync value],

View File

@@ -29,7 +29,40 @@
# and fix the broken property, if needed.
DIR=`dirname $0`
OUT=`. $DIR/autoconf-config.guess`
OUT=`. $DIR/autoconf-config.guess 2> /dev/null`
# Handle some cases that autoconf-config.guess is not capable of
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
# Test and fix little endian MIPS.
if [ `uname -m` = mipsel ]; then
OUT=mipsel-unknown-linux-gnu
elif [ `uname -m` = mips64el ]; then
OUT=mips64el-unknown-linux-gnu
# Test and fix little endian PowerPC64.
elif [ `uname -m` = ppc64le ]; then
OUT=powerpc64le-unknown-linux-gnu
# Test and fix LoongArch64.
elif [ `uname -m` = loongarch64 ]; then
OUT=loongarch64-unknown-linux-gnu
# Test and fix RISC-V.
elif [ `uname -m` = riscv64 ]; then
OUT=riscv64-unknown-linux-gnu
fi
# Test and fix cygwin machine arch .x86_64
elif [[ `uname -s` = CYGWIN* ]]; then
if [ `uname -m` = ".x86_64" ]; then
OUT=x86_64-unknown-cygwin
fi
fi
if [ "x$OUT" = x ]; then
# Run autoconf-config.guess again to get the error message.
. $DIR/autoconf-config.guess > /dev/null
else
printf "guessed by custom config.guess... " >&2
fi
fi
# Detect C library.
# Use '-gnu' suffix on systems that use glibc.
@@ -81,36 +114,6 @@ if test $? = 0; then
OUT=powerpc$KERNEL_BITMODE`echo $OUT | sed -e 's/[^-]*//'`
fi
# Test and fix little endian PowerPC64.
# TODO: should be handled by autoconf-config.guess.
if [ "x$OUT" = x ]; then
if [ `uname -m` = ppc64le ]; then
if [ `uname -s` = Linux ]; then
OUT=powerpc64le-unknown-linux-gnu
fi
fi
fi
# Test and fix little endian MIPS.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = mipsel ]; then
OUT=mipsel-unknown-linux-gnu
elif [ `uname -m` = mips64el ]; then
OUT=mips64el-unknown-linux-gnu
fi
fi
fi
# Test and fix LoongArch64.
if [ "x$OUT" = x ]; then
if [ `uname -s` = Linux ]; then
if [ `uname -m` = loongarch64 ]; then
OUT=loongarch64-unknown-linux-gnu
fi
fi
fi
# Test and fix cpu on macos-aarch64, uname -p reports arm, buildsys expects aarch64
echo $OUT | grep arm-apple-darwin > /dev/null 2> /dev/null
if test $? != 0; then

View File

@@ -86,6 +86,7 @@ PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET
# Continue setting up basic stuff. Most remaining code require fundamental tools.
BASIC_SETUP_PATHS
BASIC_SETUP_TOOLS
# Check if it's a pure open build or if custom sources are to be used.
JDKOPT_SETUP_OPEN_OR_CUSTOM

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -188,6 +188,10 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
WARNINGS_ENABLE_ALL_CXXFLAGS="$WARNINGS_ENABLE_ALL_CFLAGS $WARNINGS_ENABLE_ADDITIONAL_CXX"
DISABLED_WARNINGS="unused-parameter unused"
# gcc10/11 on ppc generate lots of abi warnings about layout of aggregates containing vectors
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
DISABLED_WARNINGS="$DISABLED_WARNINGS psabi"
fi
;;
clang)
@@ -641,7 +645,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
STATIC_LIBS_CFLAGS="-DSTATIC_BUILD=1"
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -ffunction-sections -fdata-sections \
-DJNIEXPORT='__attribute__((visibility(\"hidden\")))'"
-DJNIEXPORT='__attribute__((visibility(\"default\")))'"
else
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -DJNIEXPORT="
fi

View File

@@ -489,14 +489,14 @@ UTIL_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
UTIL_DEFUN_NAMED([FLAGS_COMPILER_CHECK_ARGUMENTS],
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
[
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: ARG_ARGUMENT,
IF_TRUE: [C_COMP_SUPPORTS="yes"],
IF_FALSE: [C_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
PREFIX: ARG_PREFIX)
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: ARG_ARGUMENT,
IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
IF_FALSE: [CXX_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
PREFIX: ARG_PREFIX)
AC_MSG_CHECKING([if both ARG_PREFIX[CC] and ARG_PREFIX[CXX] support "ARG_ARGUMENT"])
supports=no

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -812,7 +812,7 @@ AC_DEFUN([JDKOPT_CHECK_CODESIGN_PARAMS],
$RM "$CODESIGN_TESTFILE"
$TOUCH "$CODESIGN_TESTFILE"
CODESIGN_SUCCESS=false
$CODESIGN $PARAMS "$CODESIGN_TESTFILE" 2>&AS_MESSAGE_LOG_FD \
eval \"$CODESIGN\" $PARAMS \"$CODESIGN_TESTFILE\" 2>&AS_MESSAGE_LOG_FD \
>&AS_MESSAGE_LOG_FD && CODESIGN_SUCCESS=true
$RM "$CODESIGN_TESTFILE"
AC_MSG_CHECKING([$MESSAGE])
@@ -825,7 +825,7 @@ AC_DEFUN([JDKOPT_CHECK_CODESIGN_PARAMS],
AC_DEFUN([JDKOPT_CHECK_CODESIGN_HARDENED],
[
JDKOPT_CHECK_CODESIGN_PARAMS([-s "$MACOSX_CODESIGN_IDENTITY" --option runtime],
JDKOPT_CHECK_CODESIGN_PARAMS([-s \"$MACOSX_CODESIGN_IDENTITY\" --option runtime],
[if codesign with hardened runtime is possible])
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -248,8 +248,11 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_CDS],
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_DTRACE],
[
JVM_FEATURES_CHECK_AVAILABILITY(dtrace, [
AC_MSG_CHECKING([for dtrace tool])
if test "x$DTRACE" != "x" && test -x "$DTRACE"; then
AC_MSG_CHECKING([for dtrace tool and platform support])
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU_ARCH])
AVAILABLE=false
elif test "x$DTRACE" != "x" && test -x "$DTRACE"; then
AC_MSG_RESULT([$DTRACE])
else
AC_MSG_RESULT([no])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -96,24 +96,29 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
HEADERS_TO_CHECK="X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h"
# There is no Xrandr extension on AIX
if test "x$OPENJDK_TARGET_OS" = xaix; then
# There is no Xrandr extension on AIX. Code is duplicated to avoid autoconf
# 2.71+ warning "AC_CHECK_HEADERS: you should use literals"
X_CFLAGS="$X_CFLAGS -DNO_XRANDR"
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
else
HEADERS_TO_CHECK="$HEADERS_TO_CHECK X11/extensions/Xrandr.h"
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h X11/extensions/Xrandr.h],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
fi
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
AC_CHECK_HEADERS([$HEADERS_TO_CHECK],
[X11_HEADERS_OK=yes],
[X11_HEADERS_OK=no; break],
[
# include <X11/Xlib.h>
# include <X11/Xutil.h>
]
)
if test "x$X11_HEADERS_OK" = xno; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h). $HELP_MSG])

View File

@@ -167,7 +167,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
if test "x$OPENJDK_TARGET_OS" = xwindows; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS kernel32.lib user32.lib gdi32.lib winspool.lib \
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib \
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib powrprof.lib uuid.lib \
wsock32.lib winmm.lib version.lib psapi.lib"
fi

View File

@@ -632,6 +632,7 @@ AC_DEFUN([PLATFORM_SET_MODULE_TARGET_OS_VALUES],
])
#%%% Build and target systems %%%
# Make sure to only use tools set up in BASIC_SETUP_FUNDAMENTAL_TOOLS.
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
[
# Figure out the build and target systems. # Note that in autoconf terminology, "build" is obvious, but "target"
@@ -718,7 +719,7 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS],
[
###############################################################################
#
# Is the target little of big endian?
# Is the target little or big endian?
#
AC_C_BIGENDIAN([ENDIAN="big"],[ENDIAN="little"],[ENDIAN="unknown"],[ENDIAN="universal_endianness"])

View File

@@ -52,7 +52,7 @@ m4_include([util_paths.m4])
AC_DEFUN([UTIL_DEFUN_NAMED],
[
AC_DEFUN($1, [
m4_foreach(arg, m4_split(m4_normalize($2)), [
m4_foreach([arg], m4_split(m4_normalize($2)), [
m4_if(m4_bregexp(arg, [^\*]), -1,
[
m4_set_add(legal_named_args, arg)
@@ -64,13 +64,18 @@ AC_DEFUN([UTIL_DEFUN_NAMED],
)
])
m4_foreach([arg], [$3], [
m4_if(m4_bregexp(arg, [: ]), -1, m4_define([arg], m4_bpatsubst(arg, [:], [: ])))
m4_define(arg_name, m4_substr(arg, 0, m4_bregexp(arg, [: ])))
# Delicate quoting and unquoting sequence to ensure the actual value is passed along unchanged
# For details on how this works, see https://git.openjdk.org/jdk/pull/11458#discussion_r1038173051
# WARNING: Proceed at the risk of your own sanity, getting this to work has made me completely
# incapable of feeling love or any other positive emotion
# ~Julian
m4_foreach([arg], m4_dquote(m4_dquote_elt($3)), [
m4_if(m4_index(arg, [: ]), -1, [m4_define([arg], m4_dquote(m4_bpatsubst(m4_dquote(arg), [:], [: ])))])
m4_define(arg_name, m4_substr(arg, 0, m4_index(arg, [: ])))
m4_set_contains(legal_named_args, arg_name, [],[AC_MSG_ERROR([Internal error: m4_if(arg_name, , arg, arg_name) is not a valid named argument to [$1]. Valid arguments are 'm4_set_contents(defined_args, [ ]) m4_set_contents(legal_named_args, [ ])'.])])
m4_set_remove(required_named_args, arg_name)
m4_set_remove(legal_named_args, arg_name)
m4_pushdef([ARG_][]arg_name, m4_bpatsubst(m4_substr(arg, m4_incr(m4_incr(m4_bregexp(arg, [: ])))), [^\s*], []))
m4_pushdef([ARG_][]arg_name, m4_bpatsubst(m4_bpatsubst(m4_dquote(m4_dquote(arg)), arg_name[: ]), [^\s*]))
m4_set_add(defined_args, arg_name)
m4_undefine([arg_name])
])
@@ -376,18 +381,18 @@ UTIL_DEFUN_NAMED([UTIL_ARG_ENABLE],
m4_define(ARG_GIVEN, m4_translit(ARG_NAME, [a-z-], [A-Z_])[_GIVEN])
# If DESC is not specified, set it to a generic description.
m4_define([ARG_DESC], m4_if(ARG_DESC, , [Enable the ARG_NAME feature], m4_normalize(ARG_DESC)))
m4_define([ARG_DESC], m4_if(m4_quote(ARG_DESC), , [[Enable the ARG_NAME feature]], [m4_normalize(ARG_DESC)]))
# If CHECKING_MSG is not specified, set it to a generic description.
m4_define([ARG_CHECKING_MSG], m4_if(ARG_CHECKING_MSG, , [for --enable-ARG_NAME], m4_normalize(ARG_CHECKING_MSG)))
m4_define([ARG_CHECKING_MSG], m4_if(m4_quote(ARG_CHECKING_MSG), , [[for --enable-ARG_NAME]], [m4_normalize(ARG_CHECKING_MSG)]))
# If the code blocks are not given, set them to the empty statements to avoid
# tripping up bash.
m4_define([ARG_CHECK_AVAILABLE], m4_if(ARG_CHECK_AVAILABLE, , :, ARG_CHECK_AVAILABLE))
m4_define([ARG_IF_GIVEN], m4_if(ARG_IF_GIVEN, , :, ARG_IF_GIVEN))
m4_define([ARG_IF_NOT_GIVEN], m4_if(ARG_IF_NOT_GIVEN, , :, ARG_IF_NOT_GIVEN))
m4_define([ARG_IF_ENABLED], m4_if(ARG_IF_ENABLED, , :, ARG_IF_ENABLED))
m4_define([ARG_IF_DISABLED], m4_if(ARG_IF_DISABLED, , :, ARG_IF_DISABLED))
m4_if(ARG_CHECK_AVAILABLE, , [m4_define([ARG_CHECK_AVAILABLE], [:])])
m4_if(ARG_IF_GIVEN, , [m4_define([ARG_IF_GIVEN], [:])])
m4_if(ARG_IF_NOT_GIVEN, , [m4_define([ARG_IF_NOT_GIVEN], [:])])
m4_if(ARG_IF_ENABLED, , [m4_define([ARG_IF_ENABLED], [:])])
m4_if(ARG_IF_DISABLED, , [m4_define([ARG_IF_DISABLED], [:])])
##########################
# Part 2: Set up autoconf shell code
@@ -650,21 +655,21 @@ UTIL_DEFUN_NAMED([UTIL_ARG_WITH],
m4_define(ARG_GIVEN, m4_translit(ARG_NAME, [a-z-], [A-Z_])[_GIVEN])
# If DESC is not specified, set it to a generic description.
m4_define([ARG_DESC], m4_if(ARG_DESC, , [Give a value for the ARG_NAME feature], m4_normalize(ARG_DESC)))
m4_define([ARG_DESC], m4_if(m4_quote(ARG_DESC), , [[Give a value for the ARG_NAME feature]], [m4_normalize(ARG_DESC)]))
# If CHECKING_MSG is not specified, set it to a generic description.
m4_define([ARG_CHECKING_MSG], m4_if(ARG_CHECKING_MSG, , [for --with-ARG_NAME], m4_normalize(ARG_CHECKING_MSG)))
m4_define([ARG_CHECKING_MSG], m4_if(m4_quote(ARG_CHECKING_MSG), , [[for --with-ARG_NAME]], [m4_normalize(ARG_CHECKING_MSG)]))
m4_define([ARG_HAS_AUTO_BLOCK], m4_if(ARG_IF_AUTO, , false, true))
# If the code blocks are not given, set them to the empty statements to avoid
# tripping up bash.
m4_define([ARG_CHECK_AVAILABLE], m4_if(ARG_CHECK_AVAILABLE, , :, ARG_CHECK_AVAILABLE))
m4_define([ARG_CHECK_VALUE], m4_if(ARG_CHECK_VALUE, , :, ARG_CHECK_VALUE))
m4_define([ARG_CHECK_FOR_FILES], m4_if(ARG_CHECK_FOR_FILES, , :, ARG_CHECK_FOR_FILES))
m4_define([ARG_IF_AUTO], m4_if(ARG_IF_AUTO, , :, ARG_IF_AUTO))
m4_define([ARG_IF_GIVEN], m4_if(ARG_IF_GIVEN, , :, ARG_IF_GIVEN))
m4_define([ARG_IF_NOT_GIVEN], m4_if(ARG_IF_NOT_GIVEN, , :, ARG_IF_NOT_GIVEN))
m4_if(ARG_CHECK_AVAILABLE, , [m4_define([ARG_CHECK_AVAILABLE], [:])])
m4_if(ARG_CHECK_VALUE, , [m4_define([ARG_CHECK_VALUE], [:])])
m4_if(ARG_CHECK_FOR_FILES, , [m4_define([ARG_CHECK_FOR_FILES], [:])])
m4_if(ARG_IF_AUTO, , [m4_define([ARG_IF_AUTO], [:])])
m4_if(ARG_IF_GIVEN, , [m4_define([ARG_IF_GIVEN], [:])])
m4_if(ARG_IF_NOT_GIVEN, , [m4_define([ARG_IF_NOT_GIVEN], [:])])
##########################
# Part 2: Set up autoconf shell code
@@ -702,7 +707,6 @@ UTIL_DEFUN_NAMED([UTIL_ARG_WITH],
ARG_CHECK_AVAILABLE
# Check if the option should be turned on
echo check msg:ARG_CHECKING_MSG:
AC_MSG_CHECKING(ARG_CHECKING_MSG)
if test x$AVAILABLE = xfalse; then

View File

@@ -307,17 +307,36 @@ endef
# There are two versions, either creating a relative or an absolute link. Be
# careful when using this on Windows since the symlink created is only valid in
# the unix emulation environment.
define link-file-relative
# In msys2 we use mklink /J because its ln would perform a deep copy of the target.
# This inhibits performance and can lead to issues with long paths. With mklink /J
# relative linking does not work, so we handle the link as absolute path.
ifeq ($(OPENJDK_BUILD_OS_ENV), windows.msys2)
define link-file-relative
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
cmd //c "mklink /J $(call FixPath, $(call DecodeSpace, $@)) $(call FixPath, $(call DecodeSpace, $<))"
endef
else
define link-file-relative
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
$(LN) -s '$(call DecodeSpace, $(call RelativePath, $<, $(@D)))' '$(call DecodeSpace, $@)'
endef
endef
endif
define link-file-absolute
ifeq ($(OPENJDK_BUILD_OS_ENV), windows.msys2)
define link-file-absolute
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
cmd //c "mklink /J $(call FixPath, $(call DecodeSpace, $@)) $(call FixPath, $(call DecodeSpace, $<))"
endef
else
define link-file-absolute
$(call MakeTargetDir)
$(RM) '$(call DecodeSpace, $@)'
$(LN) -s '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'
endef
endef
endif
################################################################################

View File

@@ -343,10 +343,15 @@ define SetupCompileNativeFileBody
endif
endif
ifneq ($(DISABLE_WARNING_PREFIX), )
$1_WARNINGS_FLAGS := $$(addprefix $(DISABLE_WARNING_PREFIX), \
$$($$($1_BASE)_DISABLED_WARNINGS_$(TOOLCHAIN_TYPE)_$$($1_FILENAME)))
endif
$1_BASE_CFLAGS := $$($$($1_BASE)_CFLAGS) $$($$($1_BASE)_EXTRA_CFLAGS) \
$$($$($1_BASE)_SYSROOT_CFLAGS)
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_WARNINGS_FLAGS)
$1_BASE_CXXFLAGS := $$($$($1_BASE)_CXXFLAGS) $$($$($1_BASE)_EXTRA_CXXFLAGS) \
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS)
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS) $$($1_WARNINGS_FLAGS)
$1_BASE_ASFLAGS := $$($$($1_BASE)_ASFLAGS) $$($$($1_BASE)_EXTRA_ASFLAGS)
ifneq ($$(filter %.c, $$($1_FILENAME)), )

View File

@@ -26,16 +26,16 @@
# Versions and download locations for dependencies used by GitHub Actions (GHA)
GTEST_VERSION=1.8.1
JTREG_VERSION=6.1+2
JTREG_VERSION=6.1+3
LINUX_X64_BOOT_JDK_EXT=tar.gz
LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz
LINUX_X64_BOOT_JDK_SHA256=288f34e3ba8a4838605636485d0365ce23e57d5f2f68997ac4c2e4c01967cd48
LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.6%2B10/OpenJDK17U-jdk_x64_linux_hotspot_17.0.6_10.tar.gz
LINUX_X64_BOOT_JDK_SHA256=a0b1b9dd809d51a438f5fa08918f9aca7b2135721097f0858cf29f77a35d4289
WINDOWS_X64_BOOT_JDK_EXT=zip
WINDOWS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jdk_x64_windows_hotspot_17.0.2_8.zip
WINDOWS_X64_BOOT_JDK_SHA256=d083479ca927dce2f586f779373d895e8bf668c632505740279390384edf03fa
WINDOWS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.6%2B10/OpenJDK17U-jdk_x64_windows_hotspot_17.0.6_10.zip
WINDOWS_X64_BOOT_JDK_SHA256=d544c4f00d414a1484c0a5c1758544f30f308c4df33f9a28bd4a404215d0d444
MACOS_X64_BOOT_JDK_EXT=tar.gz
MACOS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jdk_x64_mac_hotspot_17.0.2_8.tar.gz
MACOS_X64_BOOT_JDK_SHA256=3630e21a571b7180876bf08f85d0aac0bdbb3267b2ae9bd242f4933b21f9be32
MACOS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.6%2B10/OpenJDK17U-jdk_x64_mac_hotspot_17.0.6_10.tar.gz
MACOS_X64_BOOT_JDK_SHA256=faa2927584cf2bd0a35d2ac727b9f22725e23b2b24abfb3b2ac7140f4d65fbb4

View File

@@ -67,6 +67,7 @@
* input.build_osenv
* input.build_osenv_cpu
* input.build_osenv_platform
* input.build_osenv_version
*
* For more complex nested attributes, there is a method "get":
*
@@ -1047,10 +1048,10 @@ var getJibProfilesProfiles = function (input, common, data) {
var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc10.3.0-OL6.4+1.0",
linux_x64: "gcc11.2.0-OL6.4+1.0",
macosx: "Xcode12.4+1.0",
windows_x64: "VS2022-17.1.0+1.0",
linux_aarch64: "gcc10.3.0-OL7.6+1.0",
linux_aarch64: "gcc11.2.0-OL7.6+1.0",
linux_arm: "gcc8.2.0-Fedora27+1.0",
linux_ppc64le: "gcc8.2.0-Fedora27+1.0",
linux_s390x: "gcc8.2.0-Fedora27+1.0"
@@ -1098,9 +1099,23 @@ var getJibProfilesDependencies = function (input, common) {
environment_path: common.boot_jdk_home + "/bin"
}
var makeBinDir = (input.build_os == "windows"
? input.get("gnumake", "install_path") + "/cygwin/bin"
: input.get("gnumake", "install_path") + "/bin");
var makeRevision = "4.0+1.0";
var makeBinSubDir = "/bin";
var makeModule = "gnumake-" + input.build_platform;
if (input.build_os == "windows") {
makeModule = "gnumake-" + input.build_osenv_platform;
if (input.build_osenv == "cygwin") {
var versionArray = input.build_osenv_version.split(/\./);
var majorVer = parseInt(versionArray[0]);
var minorVer = parseInt(versionArray[1]);
if (majorVer > 3 || (majorVer == 3 && minorVer >= 3)) {
makeRevision = "4.3+1.0";
} else {
makeBinSubDir = "/cygwin/bin";
}
}
}
var makeBinDir = input.get("gnumake", "install_path") + makeBinSubDir;
var dependencies = {
boot_jdk: boot_jdk,
@@ -1172,18 +1187,12 @@ var getJibProfilesDependencies = function (input, common) {
gnumake: {
organization: common.organization,
ext: "tar.gz",
revision: "4.0+1.0",
module: (input.build_os == "windows"
? "gnumake-" + input.build_osenv_platform
: "gnumake-" + input.build_platform),
revision: makeRevision,
module: makeModule,
configure_args: "MAKE=" + makeBinDir + "/make",
environment: {
"MAKE": makeBinDir + "/make"
},
environment_path: makeBinDir
},

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,12 +28,12 @@
DEFAULT_VERSION_FEATURE=17
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=6
DEFAULT_VERSION_UPDATE=8
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2023-01-17
DEFAULT_VERSION_DATE=2023-07-18
DEFAULT_VERSION_CLASSFILE_MAJOR=61 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11

View File

@@ -0,0 +1,29 @@
Owner: CN=Certigna, O=Dhimyotis, C=FR
Issuer: CN=Certigna, O=Dhimyotis, C=FR
Serial number: fedce3010fc948ff
Valid from: Fri Jun 29 15:13:05 GMT 2007 until: Tue Jun 29 15:13:05 GMT 2027
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDqDCCApCgAwIBAgIJAP7c4wEPyUj/MA0GCSqGSIb3DQEBBQUAMDQxCzAJBgNV
BAYTAkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hMB4X
DTA3MDYyOTE1MTMwNVoXDTI3MDYyOTE1MTMwNVowNDELMAkGA1UEBhMCRlIxEjAQ
BgNVBAoMCURoaW15b3RpczERMA8GA1UEAwwIQ2VydGlnbmEwggEiMA0GCSqGSIb3
DQEBAQUAA4IBDwAwggEKAoIBAQDIaPHJ1tazNHUmgh7stL7qXOEm7RFHYeGifBZ4
QCHkYJ5ayGPhxLGWkv8YbWkj4Sti993iNi+RB7lIzw7sebYs5zRLcAglozyHGxny
gQcPOJAZ0xH+hrTy0V4eHpbNgGzOOzGTtvKg0KmVEn2lmsxryIRWijOp5yIVUxbw
zBfsV1/pogqYCd7jX5xv3EjjhQsVWqa6n6xI4wmy9/Qy3l40vhx4XUJbzg4ij02Q
130yGLMLLGq/jj8UEYkgDncUtT2UCIf3JR7VsmAA7G8qKCVuKj4YYxclPz5EIBb2
JsglrgVKtOdjLPOMFlN+XPsRGgjBRmKfIrjxwo1p3Po6WAbfAgMBAAGjgbwwgbkw
DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUGu3+QTmQtCRZvgHyUtVF9lo53BEw
ZAYDVR0jBF0wW4AUGu3+QTmQtCRZvgHyUtVF9lo53BGhOKQ2MDQxCzAJBgNVBAYT
AkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hggkA/tzj
AQ/JSP8wDgYDVR0PAQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzANBgkqhkiG
9w0BAQUFAAOCAQEAhQMeknH2Qq/ho2Ge6/PAD/Kl1NqV5ta+aDY9fm4fTIrv0Q8h
bV6lUmPOEvjvKtpv6zf+EwLHyzs+ImvaYS5/1HI93TDhHkxAGYwP15zRgzB7mFnc
fca5DClMoTOi62c6ZYTTluLtdkVwj7Ur3vkj1kluPBS1xp81HlDQwY9qcEQCYsuu
HWhBp6pX6FOqB9IG9tUUBguRA3UsbHK1YZWaDYu5Def131TN3ubY1gkIl2PlwS6w
t0QmwCbAr1UwnjvVNioZBPRcHv/PLLf/0P2HQBHVESO7SMAhqaQoLf0V+LBOK/Qw
WyH8EZE0vkHve52Xdf+XlcCWWC/qu0bXu+TZLg==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=GTS Root R1, O=Google Trust Services LLC, C=US
Issuer: CN=GTS Root R1, O=Google Trust Services LLC, C=US
Serial number: 203e5936f31b01349886ba217
Valid from: Wed Jun 22 00:00:00 GMT 2016 until: Sun Jun 22 00:00:00 GMT 2036
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFVzCCAz+gAwIBAgINAgPlk28xsBNJiGuiFzANBgkqhkiG9w0BAQwFADBHMQsw
CQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEU
MBIGA1UEAxMLR1RTIFJvb3QgUjEwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAw
MDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZp
Y2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjEwggIiMA0GCSqGSIb3DQEBAQUA
A4ICDwAwggIKAoICAQC2EQKLHuOhd5s73L+UPreVp0A8of2C+X0yBoJx9vaMf/vo
27xqLpeXo4xL+Sv2sfnOhB2x+cWX3u+58qPpvBKJXqeqUqv4IyfLpLGcY9vXmX7w
Cl7raKb0xlpHDU0QM+NOsROjyBhsS+z8CZDfnWQpJSMHobTSPS5g4M/SCYe7zUjw
TcLCeoiKu7rPWRnWr4+wB7CeMfGCwcDfLqZtbBkOtdh+JhpFAz2weaSUKK0Pfybl
qAj+lug8aJRT7oM6iCsVlgmy4HqMLnXWnOunVmSPlk9orj2XwoSPwLxAwAtcvfaH
szVsrBhQf4TgTM2S0yDpM7xSma8ytSmzJSq0SPly4cpk9+aCEI3oncKKiPo4Zor8
Y/kB+Xj9e1x3+naH+uzfsQ55lVe0vSbv1gHR6xYKu44LtcXFilWr06zqkUspzBmk
MiVOKvFlRNACzqrOSbTqn3yDsEB750Orp2yjj32JgfpMpf/VjsPOS+C12LOORc92
wO1AK/1TD7Cn1TsNsYqiA94xrcx36m97PtbfkSIS5r762DL8EGMUUXLeXdYWk70p
aDPvOmbsB4om3xPXV2V4J95eSRQAogB/mqghtqmxlbCluQ0WEdrHbEg8QOB+DVrN
VjzRlwW5y0vtOUucxD/SVRNuJLDWcfr0wbrM7Rv1/oFB2ACYPTrIrnqYNxgFlQID
AQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4E
FgQU5K8rJnEaK0gnhS9SZizv8IkTcT4wDQYJKoZIhvcNAQEMBQADggIBAJ+qQibb
C5u+/x6Wki4+omVKapi6Ist9wTrYggoGxval3sBOh2Z5ofmmWJyq+bXmYOfg6LEe
QkEzCzc9zolwFcq1JKjPa7XSQCGYzyI0zzvFIoTgxQ6KfF2I5DUkzps+GlQebtuy
h6f88/qBVRRiClmpIgUxPoLW7ttXNLwzldMXG+gnoot7TiYaelpkttGsN/H9oPM4
7HLwEXWdyzRSjeZ2axfG34arJ45JK3VmgRAhpuo+9K4l/3wV3s6MJT/KYnAK9y8J
ZgfIPxz88NtFMN9iiMG1D53Dn0reWVlHxYciNuaCp+0KueIHoI17eko8cdLiA6Ef
MgfdG+RCzgwARWGAtQsgWSl4vflVy2PFPEz0tv/bal8xa5meLMFrUKTX5hgUvYU/
Z6tGn6D/Qqc6f1zLXbBwHSs09dR2CQzreExZBfMzQsNhFRAbd03OIozUhfJFfbdT
6u9AWpQKXCBfTkBdYiJ23//OYb2MI3jSNwLgjt7RETeJ9r/tSQdirpLsQBqvFAnZ
0E6yove+7u7Y/9waLd64NnHi/Hm3lCXRSHNboTXns5lndcEZOitHTtNCjv0xyBZm
2tIMPNuzjsmhDYAPexZ3FL//2wmUspO8IFgV6dtxQ/PeEMMA3KgqlbbC1j+Qa3bb
bP6MvPJwNQzcmRk13NfIRmPVNnGuV/u3gm3c
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=GTS Root R2, O=Google Trust Services LLC, C=US
Issuer: CN=GTS Root R2, O=Google Trust Services LLC, C=US
Serial number: 203e5aec58d04251aab1125aa
Valid from: Wed Jun 22 00:00:00 GMT 2016 until: Sun Jun 22 00:00:00 GMT 2036
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFVzCCAz+gAwIBAgINAgPlrsWNBCUaqxElqjANBgkqhkiG9w0BAQwFADBHMQsw
CQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEU
MBIGA1UEAxMLR1RTIFJvb3QgUjIwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAw
MDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZp
Y2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjIwggIiMA0GCSqGSIb3DQEBAQUA
A4ICDwAwggIKAoICAQDO3v2m++zsFDQ8BwZabFn3GTXd98GdVarTzTukk3LvCvpt
nfbwhYBboUhSnznFt+4orO/LdmgUud+tAWyZH8QiHZ/+cnfgLFuv5AS/T3KgGjSY
6Dlo7JUle3ah5mm5hRm9iYz+re026nO8/4Piy33B0s5Ks40FnotJk9/BW9BuXvAu
MC6C/Pq8tBcKSOWIm8Wba96wyrQD8Nr0kLhlZPdcTK3ofmZemde4wj7I0BOdre7k
RXuJVfeKH2JShBKzwkCX44ofR5GmdFrS+LFjKBC4swm4VndAoiaYecb+3yXuPuWg
f9RhD1FLPD+M2uFwdNjCaKH5wQzpoeJ/u1U8dgbuak7MkogwTZq9TwtImoS1mKPV
+3PBV2HdKFZ1E66HjucMUQkQdYhMvI35ezzUIkgfKtzra7tEscszcTJGr61K8Yzo
dDqs5xoic4DSMPclQsciOzsSrZYuxsN2B6ogtzVJV+mSSeh2FnIxZyuWfoqjx5RW
Ir9qS34BIbIjMt/kmkRtWVtd9QCgHJvGeJeNkP+byKq0rxFROV7Z+2et1VsRnTKa
G73VululycslaVNVJ1zgyjbLiGH7HrfQy+4W+9OmTN6SpdTi3/UGVN4unUu0kzCq
gc7dGtxRcw1PcOnlthYhGXmy5okLdWTK1au8CcEYof/UVKGFPP0UJAOyh9OktwID
AQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4E
FgQUu//KjiOfT5nK2+JopqUVJxce2Q4wDQYJKoZIhvcNAQEMBQADggIBAB/Kzt3H
vqGf2SdMC9wXmBFqiN495nFWcrKeGk6c1SuYJF2ba3uwM4IJvd8lRuqYnrYb/oM8
0mJhwQTtzuDFycgTE1XnqGOtjHsB/ncw4c5omwX4Eu55MaBBRTUoCnGkJE+M3DyC
B19m3H0Q/gxhswWV7uGugQ+o+MePTagjAiZrHYNSVc61LwDKgEDg4XSsYPWHgJ2u
NmSRXbBoGOqKYcl3qJfEycel/FVL8/B/uWU9J2jQzGv6U53hkRrJXRqWbTKH7QMg
yALOWr7Z6v2yTcQvG99fevX4i8buMTolUVVnjWQye+mew4K6Ki3pHrTgSAai/Gev
HyICc/sgCq+dVEuhzf9gR7A/Xe8bVr2XIZYtCtFenTgCR2y59PYjJbigapordwj6
xLEokCZYCDzifqrXPW+6MYgKBesntaFJ7qBFVHvmJ2WZICGoo7z7GJa7Um8M7YNR
TOlZ4iBgxcJlkoKM8xAfDoqXvneCbT+PHV28SSe9zE8P4c52hgQjxcCMElv924Sg
JPFI/2R80L5cFtHvma3AH/vLrrw4IgYmZNralw4/KBVEqE8AyvCazM90arQ+POuV
7LXTWtiBmelDGDfrs7vRWGJB82bSj6p4lVQgw1oudCvV0b4YacCs1aTPObpRhANl
6WLAYv7YTVWW4tAR+kg0Eeye7QUd5MjWHYbL
-----END CERTIFICATE-----

View File

@@ -0,0 +1,20 @@
Owner: CN=GTS Root R3, O=Google Trust Services LLC, C=US
Issuer: CN=GTS Root R3, O=Google Trust Services LLC, C=US
Serial number: 203e5b882eb20f825276d3d66
Valid from: Wed Jun 22 00:00:00 GMT 2016 until: Sun Jun 22 00:00:00 GMT 2036
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICCTCCAY6gAwIBAgINAgPluILrIPglJ209ZjAKBggqhkjOPQQDAzBHMQswCQYD
VQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIG
A1UEAxMLR1RTIFJvb3QgUjMwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAw
WjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2Vz
IExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjMwdjAQBgcqhkjOPQIBBgUrgQQAIgNi
AAQfTzOHMymKoYTey8chWEGJ6ladK0uFxh1MJ7x/JlFyb+Kf1qPKzEUURout736G
jOyxfi//qXGdGIRFBEFVbivqJn+7kAHjSxm65FSWRQmx1WyRRK2EE46ajA2ADDL2
4CejQjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW
BBTB8Sa6oC2uhYHP0/EqEr24Cmf9vDAKBggqhkjOPQQDAwNpADBmAjEA9uEglRR7
VKOQFhG/hMjqb2sXnh5GmCCbn9MN2azTL818+FsuVbu/3ZL3pAzcMeGiAjEA/Jdm
ZuVDFhOD3cffL74UOO0BzrEXGhF16b0DjyZ+hOXJYKaV11RZt+cRLInUue4X
-----END CERTIFICATE-----

View File

@@ -0,0 +1,20 @@
Owner: CN=GTS Root R4, O=Google Trust Services LLC, C=US
Issuer: CN=GTS Root R4, O=Google Trust Services LLC, C=US
Serial number: 203e5c068ef631a9c72905052
Valid from: Wed Jun 22 00:00:00 GMT 2016 until: Sun Jun 22 00:00:00 GMT 2036
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICCTCCAY6gAwIBAgINAgPlwGjvYxqccpBQUjAKBggqhkjOPQQDAzBHMQswCQYD
VQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIG
A1UEAxMLR1RTIFJvb3QgUjQwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAw
WjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2Vz
IExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwdjAQBgcqhkjOPQIBBgUrgQQAIgNi
AATzdHOnaItgrkO4NcWBMHtLSZ37wWHO5t5GvWvVYRg1rkDdc/eJkTBa6zzuhXyi
QHY7qca4R9gq55KRanPpsXI5nymfopjTX15YhmUPoYRlBtHci8nHc8iMai/lxKvR
HYqjQjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW
BBSATNbrdP9JNqPV2Py1PsVq8JQdjDAKBggqhkjOPQQDAwNpADBmAjEA6ED/g94D
9J+uHXqnLrmvT/aDHQ4thQEd0dlq7A/Cr8deVl5c1RxYIigL9zC2L7F8AjEA8GE8
p/SgguMh1YQdc4acLa/KNJvxn7kjNuK8YAOdgLOaVsjh4rsUecrNIdSUtUlD
-----END CERTIFICATE-----

View File

@@ -0,0 +1,22 @@
Owner: CN=Microsoft ECC Root Certificate Authority 2017, O=Microsoft Corporation, C=US
Issuer: CN=Microsoft ECC Root Certificate Authority 2017, O=Microsoft Corporation, C=US
Serial number: 66f23daf87de8bb14aea0c573101c2ec
Valid from: Wed Dec 18 23:06:45 GMT 2019 until: Fri Jul 18 23:16:04 GMT 2042
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIICWTCCAd+gAwIBAgIQZvI9r4fei7FK6gxXMQHC7DAKBggqhkjOPQQDAzBlMQsw
CQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYD
VQQDEy1NaWNyb3NvZnQgRUNDIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIw
MTcwHhcNMTkxMjE4MjMwNjQ1WhcNNDIwNzE4MjMxNjA0WjBlMQswCQYDVQQGEwJV
UzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1NaWNy
b3NvZnQgRUNDIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwdjAQBgcq
hkjOPQIBBgUrgQQAIgNiAATUvD0CQnVBEyPNgASGAlEvaqiBYgtlzPbKnR5vSmZR
ogPZnZH6thaxjG7efM3beaYvzrvOcS/lpaso7GMEZpn4+vKTEAXhgShC48Zo9OYb
hGBKia/teQ87zvH2RPUBeMCjVDBSMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8E
BTADAQH/MB0GA1UdDgQWBBTIy5lycFIM+Oa+sgRXKSrPQhDtNTAQBgkrBgEEAYI3
FQEEAwIBADAKBggqhkjOPQQDAwNoADBlAjBY8k3qDPlfXu5gKcs68tvWMoQZP3zV
L8KxzJOuULsJMsbG7X7JNpQS5GiFBqIb0C8CMQCZ6Ra0DvpWSNSkMBaReNtUjGUB
iudQZsIxtzm6uBoiB078a1QWIP8rtedMDE2mT3M=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,40 @@
Owner: CN=Microsoft RSA Root Certificate Authority 2017, O=Microsoft Corporation, C=US
Issuer: CN=Microsoft RSA Root Certificate Authority 2017, O=Microsoft Corporation, C=US
Serial number: 1ed397095fd8b4b347701eaabe7f45b3
Valid from: Wed Dec 18 22:51:22 GMT 2019 until: Fri Jul 18 23:00:23 GMT 2042
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFqDCCA5CgAwIBAgIQHtOXCV/YtLNHcB6qvn9FszANBgkqhkiG9w0BAQwFADBl
MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYw
NAYDVQQDEy1NaWNyb3NvZnQgUlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5
IDIwMTcwHhcNMTkxMjE4MjI1MTIyWhcNNDIwNzE4MjMwMDIzWjBlMQswCQYDVQQG
EwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1N
aWNyb3NvZnQgUlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwggIi
MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKW76UM4wplZEWCpW9R2LBifOZ
Nt9GkMml7Xhqb0eRaPgnZ1AzHaGm++DlQ6OEAlcBXZxIQIJTELy/xztokLaCLeX0
ZdDMbRnMlfl7rEqUrQ7eS0MdhweSE5CAg2Q1OQT85elss7YfUJQ4ZVBcF0a5toW1
HLUX6NZFndiyJrDKxHBKrmCk3bPZ7Pw71VdyvD/IybLeS2v4I2wDwAW9lcfNcztm
gGTjGqwu+UcF8ga2m3P1eDNbx6H7JyqhtJqRjJHTOoI+dkC0zVJhUXAoP8XFWvLJ
jEm7FFtNyP9nTUwSlq31/niol4fX/V4ggNyhSyL71Imtus5Hl0dVe49FyGcohJUc
aDDv70ngNXtk55iwlNpNhTs+VcQor1fznhPbRiefHqJeRIOkpcrVE7NLP8TjwuaG
YaRSMLl6IE9vDzhTyzMMEyuP1pq9KsgtsRx9S1HKR9FIJ3Jdh+vVReZIZZ2vUpC6
W6IYZVcSn2i51BVrlMRpIpj0M+Dt+VGOQVDJNE92kKz8OMHY4Xu54+OU4UZpyw4K
UGsTuqwPN1q3ErWQgR5WrlcihtnJ0tHXUeOrO8ZV/R4O03QK0dqq6mm4lyiPSMQH
+FJDOvTKVTUssKZqwJz58oHhEmrARdlns87/I6KJClTUFLkqqNfs+avNJVgyeY+Q
W5g5xAgGwax/Dj0ApQIDAQABo1QwUjAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/
BAUwAwEB/zAdBgNVHQ4EFgQUCctZf4aycI8awznjwNnpv7tNsiMwEAYJKwYBBAGC
NxUBBAMCAQAwDQYJKoZIhvcNAQEMBQADggIBAKyvPl3CEZaJjqPnktaXFbgToqZC
LgLNFgVZJ8og6Lq46BrsTaiXVq5lQ7GPAJtSzVXNUzltYkyLDVt8LkS/gxCP81OC
gMNPOsduET/m4xaRhPtthH80dK2Jp86519efhGSSvpWhrQlTM93uCupKUY5vVau6
tZRGrox/2KJQJWVggEbbMwSubLWYdFQl3JPk+ONVFT24bcMKpBLBaYVu32TxU5nh
SnUgnZUP5NbcA/FZGOhHibJXWpS2qdgXKxdJ5XbLwVaZOjex/2kskZGT4d9Mozd2
TaGf+G0eHdP67Pv0RR0Tbc/3WeUiJ3IrhvNXuzDtJE3cfVa7o7P4NHmJweDyAmH3
pvwPuxwXC65B2Xy9J6P9LjrRk5Sxcx0ki69bIImtt2dmefU6xqaWM/5TkshGsRGR
xpl/j8nWZjEgQRCHLQzWwa80mMpkg/sTV9HB8Dx6jKXB/ZUhoHHBk2dxEuqPiApp
GWSZI1b7rCoucL5mxAyE7+WL85MB+GqQk2dLsmijtWKP6T+MejteD+eMuMZ87zf9
dOLITzNy4ZQ5bb0Sr74MTnB8G2+NszKTc0QWbej09+CVgI+WXTik9KveCjCHk9hN
AHFiRSdLOkKEW39lt2c0Ui2cFmuqqNh7o0JMcccMyj6D5KbvtwEwXlGjefVwaaZB
RA+GsCyRxj3qrg+E
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=TWCA Global Root CA, OU=Root CA, O=TAIWAN-CA, C=TW
Issuer: CN=TWCA Global Root CA, OU=Root CA, O=TAIWAN-CA, C=TW
Serial number: cbe
Valid from: Wed Jun 27 06:28:33 GMT 2012 until: Tue Dec 31 15:59:59 GMT 2030
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFQTCCAymgAwIBAgICDL4wDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCVFcx
EjAQBgNVBAoTCVRBSVdBTi1DQTEQMA4GA1UECxMHUm9vdCBDQTEcMBoGA1UEAxMT
VFdDQSBHbG9iYWwgUm9vdCBDQTAeFw0xMjA2MjcwNjI4MzNaFw0zMDEyMzExNTU5
NTlaMFExCzAJBgNVBAYTAlRXMRIwEAYDVQQKEwlUQUlXQU4tQ0ExEDAOBgNVBAsT
B1Jvb3QgQ0ExHDAaBgNVBAMTE1RXQ0EgR2xvYmFsIFJvb3QgQ0EwggIiMA0GCSqG
SIb3DQEBAQUAA4ICDwAwggIKAoICAQCwBdvI64zEbooh745NnHEKH1Jw7W2CnJfF
10xORUnLQEK1EjRsGcJ0pDFfhQKX7EMzClPSnIyOt7h52yvVavKOZsTuKwEHktSz
0ALfUPZVr2YOy+BHYC8rMjk1Ujoog/h7FsYYuGLWRyWRzvAZEk2tY/XTP3VfKfCh
MBwqoJimFb3u/Rk28OKRQ4/6ytYQJ0lM793B8YVwm8rqqFpD/G2Gb3PpN0Wp8DbH
zIh1HrtsBv+baz4X7GGqcXzGHaL3SekVtTzWoWH1EfcFbx39Eb7QMAfCKbAJTibc
46KokWofwpFFiFzlmLhxpRUZyXx1EcxwdE8tmx2RRP1WKKD+u4ZqyPpcC1jcxkt2
yKsi2XMPpfRaAok/T54igu6idFMqPVMnaR1sjjIsZAAmY2E2TqNGtz99sy2sbZCi
laLOz9qC5wc0GZbpuCGqKX6mOL6OKUohZnkfs8O1CWfe1tQHRvMq2uYiN2DLgbYP
oA/pyJV/v1WRBXrPPRXAb94JlAGD1zQbzECl8LibZ9WYkTunhHiVJqRaCPgrdLQA
BDzfuBSO6N+pjWxnkjMdwLfS7JLIvgm/LCkFbwJrnu+8vyq8W8BQj0FwcYeyTbcE
qYSjMq+u7msXi7Kx/mzhkIyIqJdIzshNy/MGz19qCkKxHh53L46g5pIOBvwFItIm
4TFRfTLcDwIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB
/zANBgkqhkiG9w0BAQsFAAOCAgEAXzSBdu+WHdXltdkCY4QWwa6gcFGn90xHNcgL
1yg9iXHZqjNB6hQbbCEAwGxCGX6faVsgQt+i0trEfJdLjbDorMjupWkEmQqSpqsn
LhpNgb+E1HAerUf+/UqdM+DyucRFCCEK2mlpc3INvjT+lIutwx4116KD7+U4x6WF
H6vPNOw/KP4M8VeGTslV9xzU2KV9Bnpv1d8Q34FOIWWxtuEXeZVFBs5fzNxGiWNo
RI2T9GRwoD2dKAXDOXC4Ynsg/eTb6QihuJ49CcdP+yz4k3ZB3lLg4VfSnQO8d57+
nile98FRYB/e2guyLXW3Q0iT5/Z5xoRdgFlglPx4mI88k1HtQJAH32RjJMtOcQWh
15QaiDLxInQirqWm2BJpTGCjAu4r7NRjkgtevi92a6O2JryPA9gK8kxkRr05YuWW
6zRjESjMlfGt7+/cgFhI6Uu46mWs6fyAtbXIRfmswZ/ZuepiiI7E8UuDEq3mi4TW
nsLrgxifarsbJGAzcMzs9zLzXNl5fe+epP7JI8Mk7hWSsT2RTyaGvWZzJBPqpK5j
wa19hAM8EHiGG3njxPPyBJUgriOCxLM6AGK/5jYk4Ve6xx6QddVfP5VhK8E7zeWz
aGHQRiapIVJpLesux+t3zqY6tQMzT3bR51xUAV3LePTJDL/PEo4XLSNolOer/qmy
KwbQBM0=
-----END CERTIFICATE-----

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -477,6 +477,11 @@ charset x-IBM874 IBM874
alias ibm-874
alias 874
# alias for GB18030 is generated at runtime
charset GB18030 GB18030
package sun.nio.cs
type source
########################################################
#
# charsets provided by ExtendedCharsets provider.
@@ -564,11 +569,6 @@ charset GBK GBK # Simplified Chinese
alias windows-936
alias CP936
charset GB18030 GB18030
package sun.nio.cs.ext
type template
alias gb18030-2000
charset GB2312 EUC_CN
package sun.nio.cs.ext
type dbcs

View File

@@ -7,7 +7,6 @@ Big5_HKSCS
EUC_CN
EUC_KR
GBK
GB18030
IBM856
IBM921
IBM922

View File

@@ -11,7 +11,6 @@ EUC_JP_LINUX
EUC_JP_Open
EUC_TW
GBK
GB18030
ISO_8859_11
ISO_8859_3
ISO_8859_6

View File

@@ -1,26 +0,0 @@
#
# generate these charsets into sun.nio.cs
#
Big5
Big5_Solaris
Big5_HKSCS # always together with Big5
EUC_CN
EUC_KR
EUC_JP
EUC_JP_LINUX
EUC_JP_Open
EUC_TW
GBK
GB18030
ISO_8859_11
ISO_8859_3
ISO_8859_6
ISO_8859_8
Johab
PCK
TIS_620
JIS_X_0201
JIS_X_0208
JIS_X_0212
JIS_X_0208_Solaris
JIS_X_0212_Solaris

View File

@@ -2,7 +2,6 @@
# generate these charsets into sun.nio.cs
#
GBK
GB18030
Johab
MS1255
MS1256

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -32,7 +32,7 @@ formatVersion=3
# Version of the currency code information in this class.
# It is a serial number that accompanies with each amendment.
dataVersion=174
dataVersion=175
# List of all valid ISO 4217 currency codes.
# To ensure compatibility, do not remove codes.

View File

@@ -1,4 +1,4 @@
File-Date: 2021-05-11
File-Date: 2022-08-08
%%
Type: language
Subtag: aa
@@ -2146,9 +2146,16 @@ Added: 2009-07-29
Macrolanguage: ar
%%
Type: language
Subtag: ajs
Description: Algerian Jewish Sign Language
Added: 2022-02-25
%%
Type: language
Subtag: ajt
Description: Judeo-Tunisian Arabic
Added: 2009-07-29
Deprecated: 2022-02-25
Preferred-Value: aeb
Macrolanguage: jrb
%%
Type: language
@@ -5772,6 +5779,11 @@ Added: 2009-07-29
Deprecated: 2020-03-28
%%
Type: language
Subtag: bpc
Description: Mbuk
Added: 2022-02-25
%%
Type: language
Subtag: bpd
Description: Banda-Banda
Added: 2009-07-29
@@ -6016,6 +6028,7 @@ Added: 2005-10-16
%%
Type: language
Subtag: brb
Description: Brao
Description: Lave
Added: 2009-07-29
%%
@@ -8155,6 +8168,11 @@ Added: 2020-03-28
Macrolanguage: zh
%%
Type: language
Subtag: cnq
Description: Chung
Added: 2022-02-25
%%
Type: language
Subtag: cnr
Description: Montenegrin
Added: 2018-01-23
@@ -8757,6 +8775,8 @@ Subtag: cug
Description: Chungmboko
Description: Cung
Added: 2009-07-29
Deprecated: 2022-02-25
Comments: see bpc, cnq
%%
Type: language
Subtag: cuh
@@ -10176,6 +10196,11 @@ Description: Tadaksahak
Added: 2009-07-29
%%
Type: language
Subtag: dsz
Description: Mardin Sign Language
Added: 2022-02-25
%%
Type: language
Subtag: dta
Description: Daur
Added: 2009-07-29
@@ -10602,6 +10627,11 @@ Description: Emilian
Added: 2009-07-29
%%
Type: language
Subtag: egm
Description: Benamanga
Added: 2022-02-25
%%
Type: language
Subtag: ego
Description: Eggon
Added: 2009-07-29
@@ -10913,7 +10943,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: env
Description: Enwan (Edu State)
Description: Enwan (Edo State)
Added: 2009-07-29
%%
Type: language
@@ -11329,6 +11359,7 @@ Added: 2009-07-29
Type: language
Subtag: fit
Description: Tornedalen Finnish
Description: Meänkieli
Added: 2009-07-29
%%
Type: language
@@ -12838,6 +12869,11 @@ Description: Gavar
Added: 2009-07-29
%%
Type: language
Subtag: gov
Description: Goo
Added: 2022-02-25
%%
Type: language
Subtag: gow
Description: Gorowa
Added: 2009-07-29
@@ -14941,6 +14977,11 @@ Description: Marsian
Added: 2009-07-29
%%
Type: language
Subtag: imt
Description: Imotong
Added: 2022-02-25
%%
Type: language
Subtag: imy
Description: Milyan
Added: 2009-07-29
@@ -19458,6 +19499,8 @@ Type: language
Subtag: lak
Description: Laka (Nigeria)
Added: 2009-07-29
Deprecated: 2022-02-25
Preferred-Value: ksp
%%
Type: language
Subtag: lal
@@ -19953,6 +19996,11 @@ Description: Opuuo
Added: 2009-07-29
%%
Type: language
Subtag: lgo
Description: Lango (South Sudan)
Added: 2022-02-25
%%
Type: language
Subtag: lgq
Description: Logba
Added: 2009-07-29
@@ -20552,6 +20600,8 @@ Type: language
Subtag: lno
Description: Lango (South Sudan)
Added: 2009-07-29
Deprecated: 2022-02-25
Comments: see imt, lgo, lqr, oie
%%
Type: language
Subtag: lns
@@ -20724,6 +20774,11 @@ Description: Lopit
Added: 2009-07-29
%%
Type: language
Subtag: lqr
Description: Logir
Added: 2022-02-25
%%
Type: language
Subtag: lra
Description: Rara Bakati'
Added: 2009-07-29
@@ -20809,6 +20864,12 @@ Description: Langue des Signes Burundaise
Added: 2021-02-20
%%
Type: language
Subtag: lsc
Description: Albarradas Sign Language
Description: Lengua de señas Albarradas
Added: 2022-02-25
%%
Type: language
Subtag: lsd
Description: Lishana Deni
Added: 2009-07-29
@@ -20883,6 +20944,13 @@ Description: Sivia Sign Language
Added: 2019-04-16
%%
Type: language
Subtag: lsw
Description: Seychelles Sign Language
Description: Lalang Siny Seselwa
Description: Langue des Signes Seychelloise
Added: 2022-02-25
%%
Type: language
Subtag: lsy
Description: Mauritian Sign Language
Added: 2010-03-11
@@ -26779,6 +26847,11 @@ Description: Nawaru
Added: 2009-07-29
%%
Type: language
Subtag: nww
Description: Ndwewe
Added: 2022-02-25
%%
Type: language
Subtag: nwx
Description: Middle Newar
Added: 2009-07-29
@@ -27201,6 +27274,11 @@ Description: Oirata
Added: 2009-07-29
%%
Type: language
Subtag: oie
Description: Okolie
Added: 2022-02-25
%%
Type: language
Subtag: oin
Description: Inebu One
Added: 2009-07-29
@@ -28472,6 +28550,11 @@ Added: 2005-10-16
Scope: collection
%%
Type: language
Subtag: phj
Description: Pahari
Added: 2022-02-25
%%
Type: language
Subtag: phk
Description: Phake
Added: 2009-07-29
@@ -28572,6 +28655,7 @@ Type: language
Subtag: pii
Description: Pini
Added: 2009-07-29
Deprecated: 2022-02-25
%%
Type: language
Subtag: pij
@@ -29419,6 +29503,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: psc
Description: Iranian Sign Language
Description: Persian Sign Language
Added: 2009-07-29
%%
@@ -29772,7 +29857,13 @@ Description: Pyen
Added: 2009-07-29
%%
Type: language
Subtag: pzh
Description: Pazeh
Added: 2022-02-25
%%
Type: language
Subtag: pzn
Description: Jejara Naga
Description: Para Naga
Added: 2009-07-29
%%
@@ -30394,6 +30485,11 @@ Description: Riang (India)
Added: 2009-07-29
%%
Type: language
Subtag: rib
Description: Bribri Sign Language
Added: 2022-02-25
%%
Type: language
Subtag: rie
Description: Rien
Added: 2009-07-29
@@ -30627,6 +30723,11 @@ Added: 2009-07-29
Deprecated: 2016-05-30
%%
Type: language
Subtag: rnb
Description: Brunca Sign Language
Added: 2022-02-25
%%
Type: language
Subtag: rnd
Description: Ruund
Added: 2009-07-29
@@ -30770,6 +30871,12 @@ Added: 2009-07-29
Deprecated: 2017-02-23
%%
Type: language
Subtag: rsk
Description: Ruthenian
Description: Rusyn
Added: 2022-02-25
%%
Type: language
Subtag: rsl
Description: Russian Sign Language
Added: 2009-07-29
@@ -30780,6 +30887,11 @@ Description: Miriwoong Sign Language
Added: 2016-05-30
%%
Type: language
Subtag: rsn
Description: Rwandan Sign Language
Added: 2022-02-25
%%
Type: language
Subtag: rtc
Description: Rungtu Chin
Added: 2012-08-12
@@ -32276,6 +32388,8 @@ Type: language
Subtag: smd
Description: Sama
Added: 2009-07-29
Deprecated: 2022-02-25
Preferred-Value: kmb
%%
Type: language
Subtag: smf
@@ -32382,6 +32496,8 @@ Type: language
Subtag: snb
Description: Sebuyau
Added: 2009-07-29
Deprecated: 2022-02-25
Preferred-Value: iba
%%
Type: language
Subtag: snc
@@ -35199,6 +35315,11 @@ Description: Tojolabal
Added: 2009-07-29
%%
Type: language
Subtag: tok
Description: Toki Pona
Added: 2022-02-25
%%
Type: language
Subtag: tol
Description: Tolowa
Added: 2009-07-29
@@ -35541,6 +35662,8 @@ Added: 2009-07-29
%%
Type: language
Subtag: trv
Description: Sediq
Description: Seediq
Description: Taroko
Added: 2009-07-29
%%
@@ -36432,6 +36555,11 @@ Description: Ughele
Added: 2009-07-29
%%
Type: language
Subtag: ugh
Description: Kubachi
Added: 2022-02-25
%%
Type: language
Subtag: ugn
Description: Ugandan Sign Language
Added: 2009-07-29
@@ -36742,6 +36870,11 @@ Deprecated: 2015-02-12
Preferred-Value: ema
%%
Type: language
Subtag: uon
Description: Kulon
Added: 2022-02-25
%%
Type: language
Subtag: upi
Description: Umeda
Added: 2009-07-29
@@ -36944,6 +37077,8 @@ Type: language
Subtag: uun
Description: Kulon-Pazeh
Added: 2009-07-29
Deprecated: 2022-02-25
Comments: see pzh, uon
%%
Type: language
Subtag: uur
@@ -37714,6 +37849,11 @@ Description: Wadikali
Added: 2013-09-10
%%
Type: language
Subtag: wdt
Description: Wendat
Added: 2022-02-25
%%
Type: language
Subtag: wdu
Description: Wadjigu
Added: 2009-07-29
@@ -38348,6 +38488,7 @@ Type: language
Subtag: wrd
Description: Warduji
Added: 2009-07-29
Deprecated: 2022-02-25
%%
Type: language
Subtag: wrg
@@ -38613,6 +38754,8 @@ Type: language
Subtag: wya
Description: Wyandot
Added: 2009-07-29
Deprecated: 2022-02-25
Comments: see wdt, wyn
%%
Type: language
Subtag: wyb
@@ -38630,6 +38773,11 @@ Description: Wymysorys
Added: 2009-07-29
%%
Type: language
Subtag: wyn
Description: Wyandot
Added: 2022-02-25
%%
Type: language
Subtag: wyr
Description: Wayoró
Added: 2009-07-29
@@ -38936,6 +39084,11 @@ Description: Kwandu
Added: 2017-02-23
%%
Type: language
Subtag: xdq
Description: Kaitag
Added: 2022-02-25
%%
Type: language
Subtag: xdy
Description: Malayic Dayak
Added: 2009-07-29
@@ -39079,6 +39232,11 @@ Added: 2009-07-29
Macrolanguage: lah
%%
Type: language
Subtag: xhm
Description: Middle Khmer (1400 to 1850 CE)
Added: 2022-02-25
%%
Type: language
Subtag: xhr
Description: Hernican
Added: 2009-07-29
@@ -39215,6 +39373,7 @@ Added: 2009-07-29
%%
Type: language
Subtag: xkk
Description: Kachok
Description: Kaco'
Added: 2009-07-29
%%
@@ -39469,6 +39628,7 @@ Macrolanguage: mg
%%
Type: language
Subtag: xmx
Description: Salawati
Description: Maden
Added: 2009-07-29
%%
@@ -41728,6 +41888,12 @@ Added: 2009-07-29
Macrolanguage: zap
%%
Type: language
Subtag: zcd
Description: Las Delicias Zapotec
Added: 2022-02-25
Macrolanguage: zap
%%
Type: language
Subtag: zch
Description: Central Hongshuihe Zhuang
Added: 2009-07-29
@@ -42700,6 +42866,13 @@ Prefix: ar
Macrolanguage: ar
%%
Type: extlang
Subtag: ajs
Description: Algerian Jewish Sign Language
Added: 2022-02-25
Preferred-Value: ajs
Prefix: sgn
%%
Type: extlang
Subtag: apc
Description: North Levantine Arabic
Added: 2009-07-29
@@ -43104,6 +43277,13 @@ Preferred-Value: dsl
Prefix: sgn
%%
Type: extlang
Subtag: dsz
Description: Mardin Sign Language
Added: 2022-02-25
Preferred-Value: dsz
Prefix: sgn
%%
Type: extlang
Subtag: dup
Description: Duano
Added: 2009-07-29
@@ -43538,6 +43718,14 @@ Preferred-Value: lsb
Prefix: sgn
%%
Type: extlang
Subtag: lsc
Description: Albarradas Sign Language
Description: Lengua de señas Albarradas
Added: 2022-02-25
Preferred-Value: lsc
Prefix: sgn
%%
Type: extlang
Subtag: lsg
Description: Lyons Sign Language
Added: 2009-07-29
@@ -43589,6 +43777,15 @@ Preferred-Value: lsv
Prefix: sgn
%%
Type: extlang
Subtag: lsw
Description: Seychelles Sign Language
Description: Lalang Siny Seselwa
Description: Langue des Signes Seychelloise
Added: 2022-02-25
Preferred-Value: lsw
Prefix: sgn
%%
Type: extlang
Subtag: lsy
Description: Mauritian Sign Language
Added: 2010-03-11
@@ -43880,6 +44077,7 @@ Prefix: sgn
%%
Type: extlang
Subtag: psc
Description: Iranian Sign Language
Description: Persian Sign Language
Added: 2009-07-29
Preferred-Value: psc
@@ -43944,6 +44142,13 @@ Preferred-Value: pys
Prefix: sgn
%%
Type: extlang
Subtag: rib
Description: Bribri Sign Language
Added: 2022-02-25
Preferred-Value: rib
Prefix: sgn
%%
Type: extlang
Subtag: rms
Description: Romanian Sign Language
Added: 2009-07-29
@@ -43951,6 +44156,13 @@ Preferred-Value: rms
Prefix: sgn
%%
Type: extlang
Subtag: rnb
Description: Brunca Sign Language
Added: 2022-02-25
Preferred-Value: rnb
Prefix: sgn
%%
Type: extlang
Subtag: rsi
Description: Rennellese Sign Language
Added: 2009-07-29
@@ -43973,6 +44185,13 @@ Preferred-Value: rsm
Prefix: sgn
%%
Type: extlang
Subtag: rsn
Description: Rwandan Sign Language
Added: 2022-02-25
Preferred-Value: rsn
Prefix: sgn
%%
Type: extlang
Subtag: sdl
Description: Saudi Arabian Sign Language
Added: 2009-07-29
@@ -44793,6 +45012,11 @@ Description: Katakana
Added: 2005-10-16
%%
Type: script
Subtag: Kawi
Description: Kawi
Added: 2021-12-24
%%
Type: script
Subtag: Khar
Description: Kharoshthi
Added: 2005-10-16
@@ -45012,6 +45236,11 @@ Description: Burmese
Added: 2005-10-16
%%
Type: script
Subtag: Nagm
Description: Nag Mundari
Added: 2021-12-24
%%
Type: script
Subtag: Nand
Description: Nandinagari
Added: 2018-10-28
@@ -45290,6 +45519,11 @@ Description: Sundanese
Added: 2006-07-21
%%
Type: script
Subtag: Sunu
Description: Sunuwar
Added: 2021-12-24
%%
Type: script
Subtag: Sylo
Description: Syloti Nagri
Added: 2005-10-16
@@ -46736,6 +46970,7 @@ Preferred-Value: TL
%%
Type: region
Subtag: TR
Description: Türkiye
Description: Turkey
Added: 2005-10-16
%%
@@ -47357,6 +47592,12 @@ Added: 2010-10-23
Comments: Indicates that the content is transcribed according to X-SAMPA
%%
Type: variant
Subtag: gallo
Description: Gallo
Added: 2021-08-05
Prefix: fr
%%
Type: variant
Subtag: gascon
Description: Gascon
Added: 2018-04-22
@@ -47526,6 +47767,19 @@ Comments: The dialect of Lipovaz/Lipovec is one of the minor local
dialects of Resian
%%
Type: variant
Subtag: ltg1929
Description: The Latgalian language orthography codified in 1929
Added: 2022-08-05
Prefix: ltg
%%
Type: variant
Subtag: ltg2007
Description: The Latgalian language orthography codified in the language
law in 2007
Added: 2022-06-23
Prefix: ltg
%%
Type: variant
Subtag: luna1918
Description: Post-1917 Russian orthography
Added: 2010-10-10
@@ -47779,6 +48033,13 @@ Comments: Sutsilvan is one of the five traditional written standards or
"idioms" of the Romansh language.
%%
Type: variant
Subtag: synnejyl
Description: Synnejysk
Description: South Jutish
Added: 2021-07-17
Prefix: da
%%
Type: variant
Subtag: tarask
Description: Belarusian in Taraskievica orthography
Added: 2007-04-27

View File

@@ -21,4 +21,4 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
tzdata2022g
tzdata2023c

View File

@@ -344,6 +344,14 @@ Rule Egypt 2007 only - Sep Thu>=1 24:00 0 -
# From Mina Samuel (2016-07-04):
# Egyptian government took the decision to cancel the DST,
# From Ahmad ElDardiry (2023-03-01):
# Egypt officially announced today that daylight savings will be
# applied from last Friday of April to last Thursday of October.
# From Paul Eggert (2023-03-01):
# Assume transitions are at 00:00 and 24:00 respectively.
# From Amir Adib (2023-03-07):
# https://www.facebook.com/EgyptianCabinet/posts/638829614954129/
Rule Egypt 2008 only - Aug lastThu 24:00 0 -
Rule Egypt 2009 only - Aug 20 24:00 0 -
Rule Egypt 2010 only - Aug 10 24:00 0 -
@@ -353,6 +361,8 @@ Rule Egypt 2014 only - May 15 24:00 1:00 S
Rule Egypt 2014 only - Jun 26 24:00 0 -
Rule Egypt 2014 only - Jul 31 24:00 1:00 S
Rule Egypt 2014 only - Sep lastThu 24:00 0 -
Rule Egypt 2023 max - Apr lastFri 0:00 1:00 S
Rule Egypt 2023 max - Oct lastThu 24:00 0 -
# Zone NAME STDOFF RULES FORMAT [UNTIL]
#STDOFF 2:05:08.9
@@ -452,7 +462,7 @@ Zone Africa/Nairobi 2:27:16 - LMT 1908 May
# President William R. Tolbert, Jr., July 23, 1971-July 31, 1972.
# Monrovia: Executive Mansion.
#
# Use the abbreviation "MMT" before 1972, as the more-accurate numeric
# Use the abbreviation "MMT" before 1972, as the more accurate numeric
# abbreviation "-004430" would be one byte over the POSIX limit.
#
# Zone NAME STDOFF RULES FORMAT [UNTIL]
@@ -589,8 +599,8 @@ Zone Africa/Tripoli 0:52:44 - LMT 1920
# DST the coming summer...
#
# Some sources, in French:
# http://www.defimedia.info/news/946/Rashid-Beebeejaun-:-%C2%AB-L%E2%80%99heure-d%E2%80%99%C3%A9t%C3%A9-ne-sera-pas-appliqu%C3%A9e-cette-ann%C3%A9e-%C2%BB
# http://lexpress.mu/Story/3398~Beebeejaun---Les-objectifs-d-%C3%A9conomie-d-%C3%A9nergie-de-l-heure-d-%C3%A9t%C3%A9-ont-%C3%A9t%C3%A9-atteints-
# http://www.defimedia.info/news/946/Rashid-Beebeejaun-:-«-L%E2%80%99heure-d%E2%80%99été-ne-sera-pas-appliquée-cette-année-»
# http://lexpress.mu/Story/3398~Beebeejaun---Les-objectifs-d-économie-d-énergie-de-l-heure-d-été-ont-été-atteints-
#
# Our wrap-up:
# https://www.timeanddate.com/news/time/mauritius-dst-will-not-repeat.html
@@ -721,7 +731,7 @@ Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
# More articles in the press
# https://www.yabiladi.com/articles/details/5058/secret-l-heure-d-ete-maroc-leve.html
# http://www.lematin.ma/Actualite/Express/Article.asp?id=148923
# http://www.lavieeco.com/actualite/Le-Maroc-passe-sur-GMT%2B1-a-partir-de-dim
# http://www.lavieeco.com/actualite/Le-Maroc-passe-sur-GMT+1-a-partir-de-dim
# From Petr Machata (2011-03-30):
# They have it written in English here:
@@ -736,7 +746,7 @@ Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
# According to Infomédiaire web site from Morocco (infomediaire.ma),
# on March 9, 2012, (in French) Heure légale:
# Le Maroc adopte officiellement l'heure d'été
# http://www.infomediaire.ma/news/maroc/heure-l%C3%A9gale-le-maroc-adopte-officiellement-lheure-d%C3%A9t%C3%A9
# http://www.infomediaire.ma/news/maroc/heure-légale-le-maroc-adopte-officiellement-lheure-dété
# Governing Council adopted draft decree, that Morocco DST starts on
# the last Sunday of March (March 25, 2012) and ends on
# last Sunday of September (September 30, 2012)
@@ -860,19 +870,28 @@ Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
# Friday or Saturday (and so the 2 days off are on a weekend), the next time
# shift will be the next weekend.
#
# From Paul Eggert (2020-05-31):
# From Milamber (2021-03-31, 2022-03-10):
# https://www.mmsp.gov.ma/fr/actualites.aspx?id=2076
# https://www.ecoactu.ma/horaires-administration-ramadan-gmtheure-gmt-a-partir-de-dimanche-27-mars/
#
# From Milamber (2023-03-14, 2023-03-15):
# The return to legal GMT time will take place this Sunday, March 19 at 3 a.m.
# ... the return to GMT+1 will be made on Sunday April 23, 2023 at 2 a.m.
# https://www.mmsp.gov.ma/fr/actualites/passage-à-l%E2%80%99heure-gmt-à-partir-du-dimanche-19-mars-2023
#
# From Paul Eggert (2023-03-14):
# For now, guess that in the future Morocco will fall back at 03:00
# the last Sunday before Ramadan, and spring forward at 02:00 the
# first Sunday after two days after Ramadan. To implement this,
# first Sunday after one day after Ramadan. To implement this,
# transition dates and times for 2019 through 2087 were determined by
# running the following program under GNU Emacs 26.3. (This algorithm
# running the following program under GNU Emacs 28.2. (This algorithm
# also produces the correct transition dates for 2016 through 2018,
# though the times differ due to Morocco's time zone change in 2018.)
# (let ((islamic-year 1440))
# (require 'cal-islam)
# (while (< islamic-year 1511)
# (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
# (b (+ 2 (calendar-islamic-to-absolute (list 10 1 islamic-year))))
# (b (+ 1 (calendar-islamic-to-absolute (list 10 1 islamic-year))))
# (sunday 0))
# (while (/= sunday (mod (setq a (1- a)) 7)))
# (while (/= sunday (mod b 7))
@@ -886,10 +905,6 @@ Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
# (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
# (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
# (setq islamic-year (+ 1 islamic-year))))
#
# From Milamber (2021-03-31, 2022-03-10), confirming these predictions:
# https://www.mmsp.gov.ma/fr/actualites.aspx?id=2076
# https://www.ecoactu.ma/horaires-administration-ramadan-gmtheure-gmt-a-partir-de-dimanche-27-mars/
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
Rule Morocco 1939 only - Sep 12 0:00 1:00 -
@@ -942,7 +957,7 @@ Rule Morocco 2021 only - May 16 2:00 0 -
Rule Morocco 2022 only - Mar 27 3:00 -1:00 -
Rule Morocco 2022 only - May 8 2:00 0 -
Rule Morocco 2023 only - Mar 19 3:00 -1:00 -
Rule Morocco 2023 only - Apr 30 2:00 0 -
Rule Morocco 2023 only - Apr 23 2:00 0 -
Rule Morocco 2024 only - Mar 10 3:00 -1:00 -
Rule Morocco 2024 only - Apr 14 2:00 0 -
Rule Morocco 2025 only - Feb 23 3:00 -1:00 -
@@ -958,7 +973,7 @@ Rule Morocco 2029 only - Feb 18 2:00 0 -
Rule Morocco 2029 only - Dec 30 3:00 -1:00 -
Rule Morocco 2030 only - Feb 10 2:00 0 -
Rule Morocco 2030 only - Dec 22 3:00 -1:00 -
Rule Morocco 2031 only - Feb 2 2:00 0 -
Rule Morocco 2031 only - Jan 26 2:00 0 -
Rule Morocco 2031 only - Dec 14 3:00 -1:00 -
Rule Morocco 2032 only - Jan 18 2:00 0 -
Rule Morocco 2032 only - Nov 28 3:00 -1:00 -
@@ -974,7 +989,7 @@ Rule Morocco 2036 only - Nov 23 2:00 0 -
Rule Morocco 2037 only - Oct 4 3:00 -1:00 -
Rule Morocco 2037 only - Nov 15 2:00 0 -
Rule Morocco 2038 only - Sep 26 3:00 -1:00 -
Rule Morocco 2038 only - Nov 7 2:00 0 -
Rule Morocco 2038 only - Oct 31 2:00 0 -
Rule Morocco 2039 only - Sep 18 3:00 -1:00 -
Rule Morocco 2039 only - Oct 23 2:00 0 -
Rule Morocco 2040 only - Sep 2 3:00 -1:00 -
@@ -990,7 +1005,7 @@ Rule Morocco 2044 only - Aug 28 2:00 0 -
Rule Morocco 2045 only - Jul 9 3:00 -1:00 -
Rule Morocco 2045 only - Aug 20 2:00 0 -
Rule Morocco 2046 only - Jul 1 3:00 -1:00 -
Rule Morocco 2046 only - Aug 12 2:00 0 -
Rule Morocco 2046 only - Aug 5 2:00 0 -
Rule Morocco 2047 only - Jun 23 3:00 -1:00 -
Rule Morocco 2047 only - Jul 28 2:00 0 -
Rule Morocco 2048 only - Jun 7 3:00 -1:00 -
@@ -1006,7 +1021,7 @@ Rule Morocco 2052 only - Jun 2 2:00 0 -
Rule Morocco 2053 only - Apr 13 3:00 -1:00 -
Rule Morocco 2053 only - May 25 2:00 0 -
Rule Morocco 2054 only - Apr 5 3:00 -1:00 -
Rule Morocco 2054 only - May 17 2:00 0 -
Rule Morocco 2054 only - May 10 2:00 0 -
Rule Morocco 2055 only - Mar 28 3:00 -1:00 -
Rule Morocco 2055 only - May 2 2:00 0 -
Rule Morocco 2056 only - Mar 12 3:00 -1:00 -
@@ -1022,7 +1037,7 @@ Rule Morocco 2060 only - Mar 7 2:00 0 -
Rule Morocco 2061 only - Jan 16 3:00 -1:00 -
Rule Morocco 2061 only - Feb 27 2:00 0 -
Rule Morocco 2062 only - Jan 8 3:00 -1:00 -
Rule Morocco 2062 only - Feb 19 2:00 0 -
Rule Morocco 2062 only - Feb 12 2:00 0 -
Rule Morocco 2062 only - Dec 31 3:00 -1:00 -
Rule Morocco 2063 only - Feb 4 2:00 0 -
Rule Morocco 2063 only - Dec 16 3:00 -1:00 -
@@ -1038,7 +1053,7 @@ Rule Morocco 2067 only - Dec 11 2:00 0 -
Rule Morocco 2068 only - Oct 21 3:00 -1:00 -
Rule Morocco 2068 only - Dec 2 2:00 0 -
Rule Morocco 2069 only - Oct 13 3:00 -1:00 -
Rule Morocco 2069 only - Nov 24 2:00 0 -
Rule Morocco 2069 only - Nov 17 2:00 0 -
Rule Morocco 2070 only - Oct 5 3:00 -1:00 -
Rule Morocco 2070 only - Nov 9 2:00 0 -
Rule Morocco 2071 only - Sep 20 3:00 -1:00 -
@@ -1054,7 +1069,7 @@ Rule Morocco 2075 only - Sep 15 2:00 0 -
Rule Morocco 2076 only - Jul 26 3:00 -1:00 -
Rule Morocco 2076 only - Sep 6 2:00 0 -
Rule Morocco 2077 only - Jul 18 3:00 -1:00 -
Rule Morocco 2077 only - Aug 29 2:00 0 -
Rule Morocco 2077 only - Aug 22 2:00 0 -
Rule Morocco 2078 only - Jul 10 3:00 -1:00 -
Rule Morocco 2078 only - Aug 14 2:00 0 -
Rule Morocco 2079 only - Jun 25 3:00 -1:00 -
@@ -1064,13 +1079,13 @@ Rule Morocco 2080 only - Jul 21 2:00 0 -
Rule Morocco 2081 only - Jun 1 3:00 -1:00 -
Rule Morocco 2081 only - Jul 13 2:00 0 -
Rule Morocco 2082 only - May 24 3:00 -1:00 -
Rule Morocco 2082 only - Jul 5 2:00 0 -
Rule Morocco 2082 only - Jun 28 2:00 0 -
Rule Morocco 2083 only - May 16 3:00 -1:00 -
Rule Morocco 2083 only - Jun 20 2:00 0 -
Rule Morocco 2084 only - Apr 30 3:00 -1:00 -
Rule Morocco 2084 only - Jun 11 2:00 0 -
Rule Morocco 2085 only - Apr 22 3:00 -1:00 -
Rule Morocco 2085 only - Jun 3 2:00 0 -
Rule Morocco 2085 only - May 27 2:00 0 -
Rule Morocco 2086 only - Apr 14 3:00 -1:00 -
Rule Morocco 2086 only - May 19 2:00 0 -
Rule Morocco 2087 only - Mar 30 3:00 -1:00 -
@@ -1213,15 +1228,15 @@ Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8
# From P Chan (2020-12-03):
# GMT was adopted as the standard time of Lagos on 1905-07-01.
# Lagos Weekly Record, 1905-06-24, p 3
# http://ddsnext.crl.edu/titles/31558#?c=0&m=668&s=0&cv=2&r=0&xywh=1446%2C5221%2C1931%2C1235
# http://ddsnext.crl.edu/titles/31558#?c=0&m=668&s=0&cv=2&r=0&xywh=1446,5221,1931,1235
# says "It is officially notified that on and after the 1st of July 1905
# Greenwich Mean Solar Time will be adopted thought the Colony and
# Greenwich Mean Solar Time will be adopted throughout the Colony and
# Protectorate, and that it will be necessary to put all clocks 13 minutes and
# 35 seconds back, recording local mean time."
#
# It seemed that Lagos returned to LMT on 1908-07-01.
# [The Lagos Standard], 1908-07-01, p 5
# http://ddsnext.crl.edu/titles/31556#?c=0&m=78&s=0&cv=4&r=0&xywh=-92%2C3590%2C3944%2C2523
# http://ddsnext.crl.edu/titles/31556#?c=0&m=78&s=0&cv=4&r=0&xywh=-92,3590,3944,2523
# says "Scarcely have the people become accustomed to this new time, when
# another official notice has now appeared announcing that from and after the
# 1st July next, return will be made to local mean time."
@@ -1233,7 +1248,7 @@ Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8
# https://libsysdigi.library.illinois.edu/ilharvest/Africana/Books2011-05/3064634/3064634_1914/3064634_1914_opt.pdf#page=27
# "On January 1st [1914], a universal standard time for Nigeria was adopted,
# viz., half an hour fast on Greenwich mean time, corresponding to the meridian
# 7 [degrees] 30' E. long."
# 7° 30' E. long."
# Lloyd's Register of Shipping (1915) says "Hitherto the time observed in Lagos
# was the local mean time. On 1st January, 1914, standard time for the whole of
# Nigeria was introduced ... Lagos time has been advanced about 16 minutes
@@ -1251,7 +1266,7 @@ Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8
# The Lagos Weekly Record, 1919-09-20, p 3 details discussion on the first
# reading of this Bill by the Legislative Council of the Colony of Nigeria on
# Thursday 1919-08-28:
# http://ddsnext.crl.edu/titles/31558?terms&item_id=303484#?m=1118&c=1&s=0&cv=2&r=0&xywh=1261%2C3408%2C2994%2C1915
# http://ddsnext.crl.edu/titles/31558?terms&item_id=303484#?m=1118&c=1&s=0&cv=2&r=0&xywh=1261,3408,2994,1915
# "The proposal is that the Globe should be divided into twelve zones East and
# West of Greenwich, of one hour each, Nigeria falling into the zone with a
# standard of one hour fast on Greenwich Mean Time. Nigeria standard time is

View File

@@ -315,7 +315,7 @@ Zone Antarctica/Rothera 0 - -00 1976 Dec 1
# but that he found it more convenient to keep GMT+12
# as supplies for the station were coming from McMurdo Sound,
# which was on GMT+12 because New Zealand was on GMT+12 all year
# at that time (1957). (Source: Siple's book 90 Degrees South.)
# at that time (1957). (Source: Siple's book 90° South.)
#
# From Susan Smith
# http://www.cybertours.com/whs/pole10.html

View File

@@ -2714,6 +2714,40 @@ Zone Asia/Pyongyang 8:23:00 - LMT 1908 Apr 1
# Lebanon
#
# From Saadallah Itani (2023-03-23):
# Lebanon ... announced today delay of Spring forward from March 25 to April 20.
#
# From Paul Eggert (2023-03-27):
# This announcement was by the Lebanese caretaker prime minister Najib Mikati.
# https://www.mtv.com.lb/en/News/Local/1352516/lebanon-postpones-daylight-saving-time-adoption
# A video was later leaked to the media of parliament speaker Nabih Berri
# asking Mikati to postpone DST to aid observance of Ramadan, Mikati objecting
# that this would cause problems such as scheduling airline flights, to which
# Berri interjected, "What flights?"
#
# The change was controversial and led to a partly-sectarian divide.
# Many Lebanese institutions, including the education ministry, the Maronite
# church, and two news channels LCBI and MTV, ignored the announcement and
# went ahead with the long-scheduled spring-forward on March 25/26, some
# arguing that the prime minister had not followed the law because the change
# had not been approved by the cabinet. Google went with the announcement;
# Apple ignored it. At least one bank followed the announcement for its doors,
# but ignored the announcement in internal computer systems.
# Beirut international airport listed two times for each departure.
# Dan Azzi wrote "My view is that this whole thing is a Dumb and Dumber movie."
# Eventually the prime minister backed down, said the cabinet had decided to
# stick with its 1998 decision, and that DST would begin midnight March 29/30.
# https://www.nna-leb.gov.lb/en/miscellaneous/604093/lebanon-has-two-times-of-day-amid-daylight-savings
# https://www.cnbc.com/2023/03/27/lebanon-in-two-different-time-zones-as-government-disagrees-on-daylight-savings.html
#
# Although we could model the chaos with two Zones, that would likely cause
# more trouble than it would cure. Since so many manual clocks and
# computer-based timestamps ignored the announcement, stick with official
# cabinet resolutions in the data while recording the prime minister's
# announcement as a comment. This is how we treated a similar situation in
# Rio de Janeiro in spring 1993.
#
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
Rule Lebanon 1920 only - Mar 28 0:00 1:00 S
Rule Lebanon 1920 only - Oct 25 0:00 0 -
@@ -2739,6 +2773,10 @@ Rule Lebanon 1992 only - Oct 4 0:00 0 -
Rule Lebanon 1993 max - Mar lastSun 0:00 1:00 S
Rule Lebanon 1993 1998 - Sep lastSun 0:00 0 -
Rule Lebanon 1999 max - Oct lastSun 0:00 0 -
# This one-time rule, announced by the prime minister first for April 21
# then for March 30, is commented out for reasons described above.
#Rule Lebanon 2023 only - Mar 30 0:00 1:00 S
# Zone NAME STDOFF RULES FORMAT [UNTIL]
Zone Asia/Beirut 2:22:00 - LMT 1880
2:00 Lebanon EE%sT
@@ -2977,7 +3015,7 @@ Zone Asia/Kathmandu 5:41:16 - LMT 1920
# 9pm and moving clocks forward by one hour for the next three months. ...."
#
# http://www.worldtimezone.com/dst_news/dst_news_pakistan01.html
# http://www.dailytimes.com.pk/default.asp?page=2008%5C05%5C15%5Cstory_15-5-2008_pg1_4
# http://www.dailytimes.com.pk/default.asp?page=2008\05\15\story_15-5-2008_pg1_4
# From Arthur David Olson (2008-05-19):
# XXX--midnight transitions is a guess; 2008 only is a guess.
@@ -3300,7 +3338,7 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
# Some of many sources in Arabic:
# http://www.samanews.com/index.php?act=Show&id=122638
#
# http://safa.ps/details/news/74352/%D8%A8%D8%AF%D8%A1-%D8%A7%D9%84%D8%AA%D9%88%D9%82%D9%8A%D8%AA-%D8%A7%D9%84%D8%B5%D9%8A%D9%81%D9%8A-%D8%A8%D8%A7%D9%84%D8%B6%D9%81%D8%A9-%D9%88%D8%BA%D8%B2%D8%A9-%D9%84%D9%8A%D9%84%D8%A9-%D8%A7%D9%84%D8%AC%D9%85%D8%B9%D8%A9.html
# http://safa.ps/details/news/74352/بدء-التوقيت-الصيفي-بالضفة-وغزة-ليلة-الجمعة.html
#
# Our brief summary:
# https://www.timeanddate.com/news/time/gaza-west-bank-dst-2012.html
@@ -3310,7 +3348,7 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
# time from midnight on Friday, March 29, 2013" (translated).
# [These are in Arabic and are for Gaza and for Ramallah, respectively.]
# http://www.samanews.com/index.php?act=Show&id=154120
# http://safa.ps/details/news/99844/%D8%B1%D8%A7%D9%85-%D8%A7%D9%84%D9%84%D9%87-%D8%A8%D8%AF%D8%A1-%D8%A7%D9%84%D8%AA%D9%88%D9%82%D9%8A%D8%AA-%D8%A7%D9%84%D8%B5%D9%8A%D9%81%D9%8A-29-%D8%A7%D9%84%D8%AC%D8%A7%D8%B1%D9%8A.html
# http://safa.ps/details/news/99844/رام-الله-بدء-التوقيت-الصيفي-29-الجاري.html
# From Steffen Thorsen (2013-09-24):
# The Gaza and West Bank are ending DST Thursday at midnight
@@ -3408,9 +3446,41 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
# (2022-08-31): ... the Saturday before the last Sunday in March and October
# at 2:00 AM ,for the years from 2023 to 2026.
# (2022-09-05): https://mtit.pna.ps/Site/New/1453
# From Heba Hamad (2023-03-22):
# ... summer time will begin in Palestine from Saturday 04-29-2023,
# 02:00 AM by 60 minutes forward.
#
# From Paul Eggert (2022-08-31):
# For now, assume that this rule will also be used after 2026.
# From Paul Eggert (2023-03-22):
# For now, guess that spring and fall transitions will normally
# continue to use 2022's rules, that during DST Palestine will switch
# to standard time at 02:00 the last Saturday before Ramadan and back
# to DST at 02:00 the first Saturday after Ramadan, and that
# if the normal spring-forward or fall-back transition occurs during
# Ramadan the former is delayed and the latter advanced.
# To implement this, I predicted Ramadan-oriented transition dates for
# 2023 through 2086 by running the following program under GNU Emacs 28.2,
# with the results integrated by hand into the table below.
# Predictions after 2086 are approximated without Ramadan.
#
# (let ((islamic-year 1444))
# (require 'cal-islam)
# (while (< islamic-year 1510)
# (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
# (b (+ 1 (calendar-islamic-to-absolute (list 10 1 islamic-year))))
# (saturday 6))
# (while (/= saturday (mod (setq a (1- a)) 7)))
# (while (/= saturday (mod b 7))
# (setq b (1+ b)))
# (setq a (calendar-gregorian-from-absolute a))
# (setq b (calendar-gregorian-from-absolute b))
# (insert
# (format
# (concat "Rule Palestine\t%d\tonly\t-\t%s\t%2d\t2:00\t0\t-\n"
# "Rule Palestine\t%d\tonly\t-\t%s\t%2d\t2:00\t1:00\tS\n")
# (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
# (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
# (setq islamic-year (+ 1 islamic-year))))
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
Rule EgyptAsia 1957 only - May 10 0:00 1:00 S
@@ -3450,8 +3520,86 @@ Rule Palestine 2020 2021 - Mar Sat<=30 0:00 1:00 S
Rule Palestine 2020 only - Oct 24 1:00 0 -
Rule Palestine 2021 only - Oct 29 1:00 0 -
Rule Palestine 2022 only - Mar 27 0:00 1:00 S
Rule Palestine 2022 max - Oct Sat<=30 2:00 0 -
Rule Palestine 2023 max - Mar Sat<=30 2:00 1:00 S
Rule Palestine 2022 2035 - Oct Sat<=30 2:00 0 -
Rule Palestine 2023 only - Apr 29 2:00 1:00 S
Rule Palestine 2024 only - Apr 13 2:00 1:00 S
Rule Palestine 2025 only - Apr 5 2:00 1:00 S
Rule Palestine 2026 2054 - Mar Sat<=30 2:00 1:00 S
Rule Palestine 2036 only - Oct 18 2:00 0 -
Rule Palestine 2037 only - Oct 10 2:00 0 -
Rule Palestine 2038 only - Sep 25 2:00 0 -
Rule Palestine 2039 only - Sep 17 2:00 0 -
Rule Palestine 2039 only - Oct 22 2:00 1:00 S
Rule Palestine 2039 2067 - Oct Sat<=30 2:00 0 -
Rule Palestine 2040 only - Sep 1 2:00 0 -
Rule Palestine 2040 only - Oct 13 2:00 1:00 S
Rule Palestine 2041 only - Aug 24 2:00 0 -
Rule Palestine 2041 only - Sep 28 2:00 1:00 S
Rule Palestine 2042 only - Aug 16 2:00 0 -
Rule Palestine 2042 only - Sep 20 2:00 1:00 S
Rule Palestine 2043 only - Aug 1 2:00 0 -
Rule Palestine 2043 only - Sep 12 2:00 1:00 S
Rule Palestine 2044 only - Jul 23 2:00 0 -
Rule Palestine 2044 only - Aug 27 2:00 1:00 S
Rule Palestine 2045 only - Jul 15 2:00 0 -
Rule Palestine 2045 only - Aug 19 2:00 1:00 S
Rule Palestine 2046 only - Jun 30 2:00 0 -
Rule Palestine 2046 only - Aug 11 2:00 1:00 S
Rule Palestine 2047 only - Jun 22 2:00 0 -
Rule Palestine 2047 only - Jul 27 2:00 1:00 S
Rule Palestine 2048 only - Jun 6 2:00 0 -
Rule Palestine 2048 only - Jul 18 2:00 1:00 S
Rule Palestine 2049 only - May 29 2:00 0 -
Rule Palestine 2049 only - Jul 3 2:00 1:00 S
Rule Palestine 2050 only - May 21 2:00 0 -
Rule Palestine 2050 only - Jun 25 2:00 1:00 S
Rule Palestine 2051 only - May 6 2:00 0 -
Rule Palestine 2051 only - Jun 17 2:00 1:00 S
Rule Palestine 2052 only - Apr 27 2:00 0 -
Rule Palestine 2052 only - Jun 1 2:00 1:00 S
Rule Palestine 2053 only - Apr 12 2:00 0 -
Rule Palestine 2053 only - May 24 2:00 1:00 S
Rule Palestine 2054 only - Apr 4 2:00 0 -
Rule Palestine 2054 only - May 16 2:00 1:00 S
Rule Palestine 2055 only - May 1 2:00 1:00 S
Rule Palestine 2056 only - Apr 22 2:00 1:00 S
Rule Palestine 2057 only - Apr 7 2:00 1:00 S
Rule Palestine 2058 max - Mar Sat<=30 2:00 1:00 S
Rule Palestine 2068 only - Oct 20 2:00 0 -
Rule Palestine 2069 only - Oct 12 2:00 0 -
Rule Palestine 2070 only - Oct 4 2:00 0 -
Rule Palestine 2071 only - Sep 19 2:00 0 -
Rule Palestine 2072 only - Sep 10 2:00 0 -
Rule Palestine 2072 only - Oct 15 2:00 1:00 S
Rule Palestine 2073 only - Sep 2 2:00 0 -
Rule Palestine 2073 only - Oct 7 2:00 1:00 S
Rule Palestine 2074 only - Aug 18 2:00 0 -
Rule Palestine 2074 only - Sep 29 2:00 1:00 S
Rule Palestine 2075 only - Aug 10 2:00 0 -
Rule Palestine 2075 only - Sep 14 2:00 1:00 S
Rule Palestine 2075 max - Oct Sat<=30 2:00 0 -
Rule Palestine 2076 only - Jul 25 2:00 0 -
Rule Palestine 2076 only - Sep 5 2:00 1:00 S
Rule Palestine 2077 only - Jul 17 2:00 0 -
Rule Palestine 2077 only - Aug 28 2:00 1:00 S
Rule Palestine 2078 only - Jul 9 2:00 0 -
Rule Palestine 2078 only - Aug 13 2:00 1:00 S
Rule Palestine 2079 only - Jun 24 2:00 0 -
Rule Palestine 2079 only - Aug 5 2:00 1:00 S
Rule Palestine 2080 only - Jun 15 2:00 0 -
Rule Palestine 2080 only - Jul 20 2:00 1:00 S
Rule Palestine 2081 only - Jun 7 2:00 0 -
Rule Palestine 2081 only - Jul 12 2:00 1:00 S
Rule Palestine 2082 only - May 23 2:00 0 -
Rule Palestine 2082 only - Jul 4 2:00 1:00 S
Rule Palestine 2083 only - May 15 2:00 0 -
Rule Palestine 2083 only - Jun 19 2:00 1:00 S
Rule Palestine 2084 only - Apr 29 2:00 0 -
Rule Palestine 2084 only - Jun 10 2:00 1:00 S
Rule Palestine 2085 only - Apr 21 2:00 0 -
Rule Palestine 2085 only - Jun 2 2:00 1:00 S
Rule Palestine 2086 only - Apr 13 2:00 0 -
Rule Palestine 2086 only - May 18 2:00 1:00 S
# Zone NAME STDOFF RULES FORMAT [UNTIL]
Zone Asia/Gaza 2:17:52 - LMT 1900 Oct
@@ -3655,7 +3803,7 @@ Zone Asia/Singapore 6:55:25 - LMT 1901 Jan 1
# standard time is SLST.
#
# From Paul Eggert (2016-10-18):
# "SLST" seems to be reasonably recent and rarely-used outside time
# "SLST" seems to be reasonably recent and rarely used outside time
# zone nerd sources. I searched Google News and found three uses of
# it in the International Business Times of India in February and
# March of this year when discussing cricket match times, but nothing

View File

@@ -346,7 +346,7 @@ Zone Antarctica/Macquarie 0 - -00 1899 Nov
# From Steffen Thorsen (2013-01-10):
# Fiji will end DST on 2014-01-19 02:00:
# http://www.fiji.gov.fj/Media-Center/Press-Releases/DAYLIGHT-SAVINGS-TO-END-THIS-MONTH-%281%29.aspx
# http://www.fiji.gov.fj/Media-Center/Press-Releases/DAYLIGHT-SAVINGS-TO-END-THIS-MONTH-(1).aspx
# From Ken Rylander (2014-10-20):
# DST will start Nov. 2 this year.
@@ -746,7 +746,7 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1892 Jul 5
#
# Samoa's Daylight Saving Time Act 2009 is available here, but does not
# contain any dates:
# http://www.parliament.gov.ws/documents/acts/Daylight%20Saving%20Act%20%202009%20%28English%29%20-%20Final%207-7-091.pdf
# http://www.parliament.gov.ws/documents/acts/Daylight%20Saving%20Act%20%202009%20(English)%20-%20Final%207-7-091.pdf
# From Laupue Raymond Hughes (2010-10-07):
# Please see
@@ -1831,7 +1831,7 @@ Zone Pacific/Efate 11:13:16 - LMT 1912 Jan 13 # Vila
# period. It would probably be reasonable to assume Guam use GMT+9 during
# that period of time like the surrounding area.
# From Paul Eggert (2018-11-18):
# From Paul Eggert (2023-01-23):
# Howse writes (p 153) "The Spaniards, on the other hand, reached the
# Philippines and the Ladrones from America," and implies that the Ladrones
# (now called the Marianas) kept American date for quite some time.
@@ -1844,7 +1844,7 @@ Zone Pacific/Efate 11:13:16 - LMT 1912 Jan 13 # Vila
# they did as that avoids the need for a separate zone due to our 1970 cutoff.
#
# US Public Law 106-564 (2000-12-23) made UT +10 the official standard time,
# under the name "Chamorro Standard Time". There is no official abbreviation,
# under the name "Chamorro standard time". There is no official abbreviation,
# but Congressman Robert A. Underwood, author of the bill that became law,
# wrote in a press release (2000-12-27) that he will seek the use of "ChST".
@@ -2222,24 +2222,18 @@ Zone Pacific/Efate 11:13:16 - LMT 1912 Jan 13 # Vila
# an international standard, there are some places on the high seas where the
# correct date is ambiguous.
# From Wikipedia <https://en.wikipedia.org/wiki/Time_zone> (2005-08-31):
# Before 1920, all ships kept local apparent time on the high seas by setting
# their clocks at night or at the morning sight so that, given the ship's
# speed and direction, it would be 12 o'clock when the Sun crossed the ship's
# meridian (12 o'clock = local apparent noon). During 1917, at the
# Anglo-French Conference on Time-keeping at Sea, it was recommended that all
# ships, both military and civilian, should adopt hourly standard time zones
# on the high seas. Whenever a ship was within the territorial waters of any
# nation it would use that nation's standard time. The captain was permitted
# to change his ship's clocks at a time of his choice following his ship's
# entry into another zone time - he often chose midnight. These zones were
# adopted by all major fleets between 1920 and 1925 but not by many
# independent merchant ships until World War II.
# From Wikipedia <https://en.wikipedia.org/wiki/Nautical_time> (2023-01-23):
# The nautical time zone system is analogous to the terrestrial time zone
# system for use on high seas. Under the system time changes are required for
# changes of longitude in one-hour steps. The one-hour step corresponds to a
# time zone width of 15° longitude. The 15° gore that is offset from GMT or
# UT1 (not UTC) by twelve hours is bisected by the nautical date line into two
# 7°30' gores that differ from GMT by ±12 hours. A nautical date line is
# implied but not explicitly drawn on time zone maps. It follows the 180th
# meridian except where it is interrupted by territorial waters adjacent to
# land, forming gaps: it is a pole-to-pole dashed line.
# From Paul Eggert, using references suggested by Oscar van Vlijmen
# (2005-03-20):
#
# The American Practical Navigator (2002)
# http://pollux.nss.nima.mil/pubs/pubs_j_apn_sections.html?rid=187
# talks only about the 180-degree meridian with respect to ships in
# international waters; it ignores the international date line.
# From Paul Eggert (2023-01-23):
# The American Practical Navigator <https://msi.nga.mil/Publications/APN>,
# 2019 edition, merely says that the International Date Line
# "coincides with the 180th meridian over most of its length."

View File

@@ -297,6 +297,7 @@ Link America/Argentina/Cordoba America/Rosario
Link America/Tijuana America/Santa_Isabel
Link America/Denver America/Shiprock
Link America/Toronto America/Thunder_Bay
Link America/Edmonton America/Yellowknife
Link Pacific/Auckland Antarctica/South_Pole
Link Asia/Shanghai Asia/Chongqing
Link Asia/Shanghai Asia/Harbin

View File

@@ -540,9 +540,7 @@ Zone Europe/London -0:01:15 - LMT 1847 Dec 1
# other form with a traditional approximation for Irish timestamps
# after 1971-10-31 02:00 UTC; although this approximation has tm_isdst
# flags that are reversed, its UTC offsets are correct and this often
# suffices. This source file currently uses only nonnegative SAVE
# values, but this is intended to change and downstream code should
# not rely on it.
# suffices....
#
# The following is like GB-Eire and EU, except with standard time in
# summer and negative daylight saving time in winter. It is for when
@@ -1136,19 +1134,18 @@ Zone Atlantic/Faroe -0:27:04 - LMT 1908 Jan 11 # Tórshavn
#
# From Jürgen Appel (2022-11-25):
# https://ina.gl/samlinger/oversigt-over-samlinger/samling/dagsordener/dagsorden.aspx?lang=da&day=24-11-2022
# If I understand this correctly, from the next planned switch to
# summer time, Greenland will permanently stay at that time, i.e. no
# switch back to winter time in 2023 will occur.
#
# From Paul Eggert (2022-11-28):
# The official document in Danish
# https://naalakkersuisut.gl/-/media/naalakkersuisut/filer/kundgoerelser/2022/11/2511/31_da_inatsisartutlov-om-tidens-bestemmelse.pdf?la=da&hash=A33597D8A38CC7038465241119EF34F3
# says standard time for Greenland is -02, that Naalakkersuisut can lay down
# rules for DST and can require some areas to use a different time zone,
# and that this all takes effect 2023-03-25 22:00. The abovementioned
# "bekymringer" URL says the intent is no transition March 25, that
# Greenland will not go back to winter time in fall 2023, and that
# only America/Nuuk is affected (though further changes may occur).
# From Thomas M. Steenholdt (2022-12-02):
# - The bill to move America/Nuuk from UTC-03 to UTC-02 passed.
# - The bill to stop observing DST did not (Greenland will stop observing DST
# when EU does).
# Details on the implementation are here (section 6):
# https://ina.gl/dvd/EM%202022/pdf/media/2553529/pkt17_em2022_tidens_bestemmelse_bem_da.pdf
# This is how the change will be implemented:
# 1. The shift *to* DST in 2023 happens as normal.
# 2. The shift *from* DST in 2023 happens as normal, but coincides with the
# shift to UTC-02 normaltime (people will not change their clocks here).
# 3. After this, DST is still observed, but as -02/-01 instead of -03/-02.
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
Rule Thule 1991 1992 - Mar lastSun 2:00 1:00 D
@@ -1172,8 +1169,8 @@ Zone America/Scoresbysund -1:27:52 - LMT 1916 Jul 28 # Ittoqqortoormiit
-1:00 EU -01/+00
Zone America/Nuuk -3:26:56 - LMT 1916 Jul 28 # Godthåb
-3:00 - -03 1980 Apr 6 2:00
-3:00 EU -03/-02 2023 Mar 25 22:00
-2:00 - -02
-3:00 EU -03/-02 2023 Oct 29 1:00u
-2:00 EU -02/-01
Zone America/Thule -4:35:08 - LMT 1916 Jul 28 # Pituffik
-4:00 Thule A%sT
@@ -1509,9 +1506,9 @@ Zone Europe/Paris 0:09:21 - LMT 1891 Mar 16
Rule Germany 1946 only - Apr 14 2:00s 1:00 S
Rule Germany 1946 only - Oct 7 2:00s 0 -
Rule Germany 1947 1949 - Oct Sun>=1 2:00s 0 -
# http://www.ptb.de/de/org/4/44/441/salt.htm says the following transition
# occurred at 3:00 MEZ, not the 2:00 MEZ given in Shanks & Pottenger.
# Go with the PTB.
# https://www.ptb.de/cms/en/ptb/fachabteilungen/abt4/fb-44/ag-441/realisation-of-legal-time-in-germany/dst-and-midsummer-dst-in-germany-until-1979.html
# says the following transition occurred at 3:00 MEZ, not the 2:00 MEZ
# given in Shanks & Pottenger. Go with the PTB.
Rule Germany 1947 only - Apr 6 3:00s 1:00 S
Rule Germany 1947 only - May 11 2:00s 2:00 M
Rule Germany 1947 only - Jun 29 3:00 1:00 S
@@ -2272,7 +2269,7 @@ Zone Europe/Bucharest 1:44:24 - LMT 1891 Oct
# the State Duma has approved ... the draft bill on returning to
# winter time standard and return Russia 11 time zones. The new
# regulations will come into effect on October 26, 2014 at 02:00 ...
# http://asozd2.duma.gov.ru/main.nsf/%28Spravka%29?OpenAgent&RN=431985-6&02
# http://asozd2.duma.gov.ru/main.nsf/(Spravka)?OpenAgent&RN=431985-6&02
# Here is a link where we put together table (based on approved Bill N
# 431985-6) with proposed 11 Russian time zones and corresponding
# areas/cities/administrative centers in the Russian Federation (in English):
@@ -2682,13 +2679,13 @@ Zone Europe/Volgograd 2:57:40 - LMT 1920 Jan 3
3:00 - +03 1930 Jun 21
4:00 - +04 1961 Nov 11
4:00 Russia +04/+05 1988 Mar 27 2:00s
3:00 Russia +03/+04 1991 Mar 31 2:00s
3:00 Russia MSK/MSD 1991 Mar 31 2:00s
4:00 - +04 1992 Mar 29 2:00s
3:00 Russia +03/+04 2011 Mar 27 2:00s
4:00 - +04 2014 Oct 26 2:00s
3:00 - +03 2018 Oct 28 2:00s
3:00 Russia MSK/MSD 2011 Mar 27 2:00s
4:00 - MSK 2014 Oct 26 2:00s
3:00 - MSK 2018 Oct 28 2:00s
4:00 - +04 2020 Dec 27 2:00s
3:00 - +03
3:00 - MSK
# From Paul Eggert (2016-11-11):
# Europe/Saratov covers:
@@ -2719,11 +2716,11 @@ Zone Europe/Saratov 3:04:18 - LMT 1919 Jul 1 0:00u
Zone Europe/Kirov 3:18:48 - LMT 1919 Jul 1 0:00u
3:00 - +03 1930 Jun 21
4:00 Russia +04/+05 1989 Mar 26 2:00s
3:00 Russia +03/+04 1991 Mar 31 2:00s
3:00 Russia MSK/MSD 1991 Mar 31 2:00s
4:00 - +04 1992 Mar 29 2:00s
3:00 Russia +03/+04 2011 Mar 27 2:00s
4:00 - +04 2014 Oct 26 2:00s
3:00 - +03
3:00 Russia MSK/MSD 2011 Mar 27 2:00s
4:00 - MSK 2014 Oct 26 2:00s
3:00 - MSK
# From Tim Parenti (2014-07-03), per Oscar van Vlijmen (2001-08-25):
# Europe/Samara covers...

View File

@@ -261,7 +261,7 @@ SY Syria
SZ Eswatini (Swaziland)
TC Turks & Caicos Is
TD Chad
TF French Southern Territories
TF French S. Terr.
TG Togo
TH Thailand
TJ Tajikistan

View File

@@ -95,11 +95,11 @@ Leap 2016 Dec 31 23:59:60 + S
# Any additional leap seconds will come after this.
# This Expires line is commented out for now,
# so that pre-2020a zic implementations do not reject this file.
#Expires 2023 Jun 28 00:00:00
#Expires 2023 Dec 28 00:00:00
# POSIX timestamps for the data in this file:
#updated 1467936000 (2016-07-08 00:00:00 UTC)
#expires 1687910400 (2023-06-28 00:00:00 UTC)
#expires 1703721600 (2023-12-28 00:00:00 UTC)
# Updated through IERS Bulletin C64
# File expires on: 28 June 2023
# Updated through IERS Bulletin C65
# File expires on: 28 December 2023

View File

@@ -1,4 +1,3 @@
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -299,9 +298,10 @@ Zone PST8PDT -8:00 US P%sT
# -10 Standard Alaska Time (AST) Alaska-Hawaii standard time (AHST)
# -11 (unofficial) Nome (NST) Bering standard time (BST)
#
# From Paul Eggert (2000-01-08), following a heads-up from Rives McDow:
# Public law 106-564 (2000-12-23) introduced ... "Chamorro Standard Time"
# From Paul Eggert (2023-01-23), from a 2001-01-08 heads-up from Rives McDow:
# Public law 106-564 (2000-12-23) introduced "Chamorro standard time"
# for time in Guam and the Northern Marianas. See the file "australasia".
# Also see 15 U.S.C. §263 <https://www.law.cornell.edu/uscode/text/15/263>.
#
# From Paul Eggert (2015-04-17):
# HST and HDT are standardized abbreviations for Hawaii-Aleutian
@@ -618,7 +618,7 @@ Zone America/Los_Angeles -7:52:58 - LMT 1883 Nov 18 20:00u
# local times of other Alaskan locations so that they change simultaneously.
# From Paul Eggert (2014-07-18):
# One opinion of the early-1980s turmoil in Alaska over time zones and
# One opinion of the early 1980s turmoil in Alaska over time zones and
# daylight saving time appeared as graffiti on a Juneau airport wall:
# "Welcome to Juneau. Please turn your watch back to the 19th century."
# See: Turner W. Alaska's four time zones now two. NY Times 1983-11-01.
@@ -690,6 +690,10 @@ Zone America/Los_Angeles -7:52:58 - LMT 1883 Nov 18 20:00u
# So they won't be waiting for Alaska to join them on 2019-03-10, but will
# rather change their clocks twice in seven weeks.
# From Paul Eggert (2023-01-23):
# America/Adak is for the Aleutian Islands that are part of Alaska
# and are west of 169.5° W.
# Zone NAME STDOFF RULES FORMAT [UNTIL]
Zone America/Juneau 15:02:19 - LMT 1867 Oct 19 15:33:32
-8:57:41 - LMT 1900 Aug 20 12:00
@@ -2148,10 +2152,6 @@ Zone America/Fort_Nelson -8:10:47 - LMT 1884
# Nunavut ... moved ... to incorporate the whole territory into one time zone.
# Nunavut moves to single time zone Oct. 31
# http://www.nunatsiaq.com/nunavut/nvt90903_13.html
#
# From Antoine Leca (1999-09-06):
# We then need to create a new timezone for the Kitikmeot region of Nunavut
# to differentiate it from the Yellowknife region.
# From Paul Eggert (1999-09-20):
# Basic Facts: The New Territory
@@ -2345,9 +2345,6 @@ Zone America/Cambridge_Bay 0 - -00 1920 # trading post est.?
-5:00 - EST 2000 Nov 5 0:00
-6:00 - CST 2001 Apr 1 3:00
-7:00 Canada M%sT
Zone America/Yellowknife 0 - -00 1935 # Yellowknife founded?
-7:00 NT_YK M%sT 1980
-7:00 Canada M%sT
Zone America/Inuvik 0 - -00 1953 # Inuvik founded
-8:00 NT_YK P%sT 1979 Apr lastSun 2:00
-7:00 NT_YK M%sT 1980
@@ -2584,7 +2581,7 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20
# and in addition changes all of Chihuahua to -06 with no DST.
# From Heitor David Pinto (2022-11-28):
# Now the northern municipalities want to have the same time zone as the
# Now the northern [municipios] want to have the same time zone as the
# respective neighboring cities in the US, for example Juárez in UTC-7 with
# DST, matching El Paso, and Ojinaga in UTC-6 with DST, matching Presidio....
# the president authorized the publication of the decree for November 29,
@@ -2621,7 +2618,7 @@ Zone America/Merida -5:58:28 - LMT 1922 Jan 1 6:00u
-5:00 - EST 1982 Dec 2
-6:00 Mexico C%sT
# Coahuila, Nuevo León, Tamaulipas (near US border)
# This includes the following municipalities:
# This includes the following municipios:
# in Coahuila: Acuña, Allende, Guerrero, Hidalgo, Jiménez, Morelos, Nava,
# Ocampo, Piedras Negras, Villa Unión, Zaragoza
# in Nuevo León: Anáhuac
@@ -2647,8 +2644,8 @@ Zone America/Mexico_City -6:36:36 - LMT 1922 Jan 1 7:00u
-6:00 - CST 2002 Feb 20
-6:00 Mexico C%sT
# Chihuahua (near US border - western side)
# This includes the municipalities of Janos, Ascensión, Juárez, Guadalupe,
# and Práxedis G Guerrero.
# This includes the municipios of Janos, Ascensión, Juárez, Guadalupe, and
# Práxedis G Guerrero.
# http://gaceta.diputados.gob.mx/PDF/65/2a022/nov/20221124-VII.pdf
Zone America/Ciudad_Juarez -7:05:56 - LMT 1922 Jan 1 7:00u
-7:00 - MST 1927 Jun 10 23:00
@@ -2662,7 +2659,8 @@ Zone America/Ciudad_Juarez -7:05:56 - LMT 1922 Jan 1 7:00u
-6:00 - CST 2022 Nov 30 0:00
-7:00 US M%sT
# Chihuahua (near US border - eastern side)
# The municipalities of Coyame del Sotol, Ojinaga, and Manuel Benavides.
# This includes the municipios of Coyame del Sotol, Ojinaga, and Manuel
# Benavides.
# http://gaceta.diputados.gob.mx/PDF/65/2a022/nov/20221124-VII.pdf
Zone America/Ojinaga -6:57:40 - LMT 1922 Jan 1 7:00u
-7:00 - MST 1927 Jun 10 23:00
@@ -3083,7 +3081,7 @@ Zone America/Costa_Rica -5:36:13 - LMT 1890 # San José
#
# He supplied these references:
#
# http://www.prensalatina.com.mx/article.asp?ID=%7B4CC32C1B-A9F7-42FB-8A07-8631AFC923AF%7D&language=ES
# http://www.prensalatina.com.mx/article.asp?ID={4CC32C1B-A9F7-42FB-8A07-8631AFC923AF}&language=ES
# http://actualidad.terra.es/sociedad/articulo/cuba_llama_ahorrar_energia_cambio_1957044.htm
#
# From Alex Krivenyshev (2007-10-25):

View File

@@ -231,7 +231,7 @@ Rule Arg 2008 only - Oct Sun>=15 0:00 1:00 -
# Hora de verano para la República Argentina
# http://buenasiembra.com.ar/esoterismo/astrologia/hora-de-verano-de-la-republica-argentina-27.html
# says that standard time in Argentina from 1894-10-31
# to 1920-05-01 was -4:16:48.25. Go with this more-precise value
# to 1920-05-01 was -4:16:48.25. Go with this more precise value
# over Shanks & Pottenger. It is upward compatible with Milne, who
# says Córdoba time was -4:16:48.2.

View File

@@ -144,9 +144,8 @@ CA +744144-0944945 America/Resolute Central - NU (Resolute)
CA +624900-0920459 America/Rankin_Inlet Central - NU (central)
CA +5024-10439 America/Regina CST - SK (most areas)
CA +5017-10750 America/Swift_Current CST - SK (midwest)
CA +5333-11328 America/Edmonton Mountain - AB; BC (E); SK (W)
CA +5333-11328 America/Edmonton Mountain - AB; BC (E); NT (E); SK (W)
CA +690650-1050310 America/Cambridge_Bay Mountain - NU (west)
CA +6227-11421 America/Yellowknife Mountain - NT (central)
CA +682059-1334300 America/Inuvik Mountain - NT (west)
CA +4906-11631 America/Creston MST - BC (Creston)
CA +5546-12014 America/Dawson_Creek MST - BC (Dawson Cr, Ft St John)
@@ -162,7 +161,7 @@ CG -0416+01517 Africa/Brazzaville
CH +4723+00832 Europe/Zurich
CI +0519-00402 Africa/Abidjan
CK -2114-15946 Pacific/Rarotonga
CL -3327-07040 America/Santiago Chile (most areas)
CL -3327-07040 America/Santiago most of Chile
CL -5309-07055 America/Punta_Arenas Region of Magallanes
CL -2709-10926 Pacific/Easter Easter Island
CM +0403+00942 Africa/Douala
@@ -174,10 +173,10 @@ CU +2308-08222 America/Havana
CV +1455-02331 Atlantic/Cape_Verde
CW +1211-06900 America/Curacao
CX -1025+10543 Indian/Christmas
CY +3510+03322 Asia/Nicosia Cyprus (most areas)
CY +3510+03322 Asia/Nicosia most of Cyprus
CY +3507+03357 Asia/Famagusta Northern Cyprus
CZ +5005+01426 Europe/Prague
DE +5230+01322 Europe/Berlin Germany (most areas)
DE +5230+01322 Europe/Berlin most of Germany
DE +4742+00841 Europe/Busingen Busingen
DJ +1136+04309 Africa/Djibouti
DK +5540+01235 Europe/Copenhagen
@@ -210,7 +209,7 @@ GF +0456-05220 America/Cayenne
GG +492717-0023210 Europe/Guernsey
GH +0533-00013 Africa/Accra
GI +3608-00521 Europe/Gibraltar
GL +6411-05144 America/Nuuk Greenland (most areas)
GL +6411-05144 America/Nuuk most of Greenland
GL +7646-01840 America/Danmarkshavn National Park (east coast)
GL +7029-02158 America/Scoresbysund Scoresbysund/Ittoqqortoormiit
GL +7634-06847 America/Thule Thule/Pituffik
@@ -258,7 +257,7 @@ KP +3901+12545 Asia/Pyongyang
KR +3733+12658 Asia/Seoul
KW +2920+04759 Asia/Kuwait
KY +1918-08123 America/Cayman
KZ +4315+07657 Asia/Almaty Kazakhstan (most areas)
KZ +4315+07657 Asia/Almaty most of Kazakhstan
KZ +4448+06528 Asia/Qyzylorda Qyzylorda/Kyzylorda/Kzyl-Orda
KZ +5312+06337 Asia/Qostanay Qostanay/Kostanay/Kustanay
KZ +5017+05710 Asia/Aqtobe Aqtobe/Aktobe
@@ -282,12 +281,12 @@ MD +4700+02850 Europe/Chisinau
ME +4226+01916 Europe/Podgorica
MF +1804-06305 America/Marigot
MG -1855+04731 Indian/Antananarivo
MH +0709+17112 Pacific/Majuro Marshall Islands (most areas)
MH +0709+17112 Pacific/Majuro most of Marshall Islands
MH +0905+16720 Pacific/Kwajalein Kwajalein
MK +4159+02126 Europe/Skopje
ML +1239-00800 Africa/Bamako
MM +1647+09610 Asia/Yangon
MN +4755+10653 Asia/Ulaanbaatar Mongolia (most areas)
MN +4755+10653 Asia/Ulaanbaatar most of Mongolia
MN +4801+09139 Asia/Hovd Bayan-Olgiy, Govi-Altai, Hovd, Uvs, Zavkhan
MN +4804+11430 Asia/Choibalsan Dornod, Sukhbaatar
MO +221150+1133230 Asia/Macau
@@ -325,7 +324,7 @@ NO +5955+01045 Europe/Oslo
NP +2743+08519 Asia/Kathmandu
NR -0031+16655 Pacific/Nauru
NU -1901-16955 Pacific/Niue
NZ -3652+17446 Pacific/Auckland New Zealand (most areas)
NZ -3652+17446 Pacific/Auckland most of New Zealand
NZ -4357-17633 Pacific/Chatham Chatham Islands
OM +2336+05835 Asia/Muscat
PA +0858-07932 America/Panama
@@ -333,7 +332,7 @@ PE -1203-07703 America/Lima
PF -1732-14934 Pacific/Tahiti Society Islands
PF -0900-13930 Pacific/Marquesas Marquesas Islands
PF -2308-13457 Pacific/Gambier Gambier Islands
PG -0930+14710 Pacific/Port_Moresby Papua New Guinea (most areas)
PG -0930+14710 Pacific/Port_Moresby most of Papua New Guinea
PG -0613+15534 Pacific/Bougainville Bougainville
PH +1435+12100 Asia/Manila
PK +2452+06703 Asia/Karachi
@@ -379,7 +378,7 @@ RU +4310+13156 Asia/Vladivostok MSK+07 - Amur River
RU +643337+1431336 Asia/Ust-Nera MSK+07 - Oymyakonsky
RU +5934+15048 Asia/Magadan MSK+08 - Magadan
RU +4658+14242 Asia/Sakhalin MSK+08 - Sakhalin Island
RU +6728+15343 Asia/Srednekolymsk MSK+08 - Sakha (E); North Kuril Is
RU +6728+15343 Asia/Srednekolymsk MSK+08 - Sakha (E); N Kuril Is
RU +5301+15839 Asia/Kamchatka MSK+09 - Kamchatka
RU +6445+17729 Asia/Anadyr MSK+09 - Bering Sea
RW -0157+03004 Africa/Kigali
@@ -420,7 +419,7 @@ TT +1039-06131 America/Port_of_Spain
TV -0831+17913 Pacific/Funafuti
TW +2503+12130 Asia/Taipei
TZ -0648+03917 Africa/Dar_es_Salaam
UA +5026+03031 Europe/Kyiv Ukraine (most areas)
UA +5026+03031 Europe/Kyiv most of Ukraine
UG +0019+03225 Africa/Kampala
UM +2813-17722 Pacific/Midway Midway Islands
UM +1917+16637 Pacific/Wake Wake Island
@@ -443,7 +442,7 @@ US +465042-1012439 America/North_Dakota/New_Salem Central - ND (Morton rural)
US +471551-1014640 America/North_Dakota/Beulah Central - ND (Mercer)
US +394421-1045903 America/Denver Mountain (most areas)
US +433649-1161209 America/Boise Mountain - ID (south); OR (east)
US +332654-1120424 America/Phoenix MST - Arizona (except Navajo)
US +332654-1120424 America/Phoenix MST - AZ (except Navajo)
US +340308-1181434 America/Los_Angeles Pacific
US +611305-1495401 America/Anchorage Alaska (most areas)
US +581807-1342511 America/Juneau Alaska - Juneau area
@@ -451,7 +450,7 @@ US +571035-1351807 America/Sitka Alaska - Sitka area
US +550737-1313435 America/Metlakatla Alaska - Annette Island
US +593249-1394338 America/Yakutat Alaska - Yakutat
US +643004-1652423 America/Nome Alaska (west)
US +515248-1763929 America/Adak Aleutian Islands
US +515248-1763929 America/Adak Alaska - western Aleutians
US +211825-1575130 Pacific/Honolulu Hawaii
UY -345433-0561245 America/Montevideo
UZ +3940+06648 Asia/Samarkand Uzbekistan (west)

View File

@@ -87,8 +87,17 @@ endif
# Define external dependencies
# Latest that could be made to work.
GCC_VER := 10.3.0
ifeq ($(GCC_VER), 10.3.0)
GCC_VER := 11.2.0
ifeq ($(GCC_VER), 11.2.0)
gcc_ver := gcc-11.2.0
binutils_ver := binutils-2.37
ccache_ver := ccache-3.7.12
mpfr_ver := mpfr-4.1.0
gmp_ver := gmp-6.2.1
mpc_ver := mpc-1.2.1
gdb_ver := gdb-11.1
REQUIRED_MIN_MAKE_MAJOR_VERSION := 4
else ifeq ($(GCC_VER), 10.3.0)
gcc_ver := gcc-10.3.0
binutils_ver := binutils-2.36.1
ccache_ver := ccache-3.7.11

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -49,7 +49,7 @@ $(eval $(call SetupJdkLibrary, BUILD_GTEST_LIBGTEST, \
$(GTEST_FRAMEWORK_SRC)/googletest/src \
$(GTEST_FRAMEWORK_SRC)/googlemock/src, \
INCLUDE_FILES := gtest-all.cc gmock-all.cc, \
DISABLED_WARNINGS_gcc := undef unused-result format-nonliteral, \
DISABLED_WARNINGS_gcc := undef unused-result format-nonliteral maybe-uninitialized, \
DISABLED_WARNINGS_clang := undef unused-result format-nonliteral, \
CFLAGS := $(JVM_CFLAGS) \
-I$(GTEST_FRAMEWORK_SRC)/googletest \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -41,10 +41,22 @@ ifeq ($(call isTargetOs, windows), true)
$(foreach v, $(JVM_VARIANTS), \
$(eval $(call SetupCopyFiles, COPY_GTEST_MSVCR_$v, \
DEST := $(TEST_IMAGE_DIR)/hotspot/gtest/$v, \
FILES := $(MSVCR_DLL) $(VCRUNTIME_1_DLL) $(MSVCP_DLL), \
FILES := $(MSVCR_DLL), \
FLATTEN := true, \
)) \
$(eval TARGETS += $$(COPY_GTEST_MSVCR_$v)) \
$(eval $(call SetupCopyFiles, COPY_GTEST_VCRUNTIME_1_$v, \
DEST := $(TEST_IMAGE_DIR)/hotspot/gtest/$v, \
FILES := $(VCRUNTIME_1_DLL), \
FLATTEN := true, \
)) \
$(eval TARGETS += $$(COPY_GTEST_VCRUNTIME_1_$v)) \
$(eval $(call SetupCopyFiles, COPY_GTEST_MSVCP_$v, \
DEST := $(TEST_IMAGE_DIR)/hotspot/gtest/$v, \
FILES := $(MSVCP_DLL), \
FLATTEN := true, \
)) \
$(eval TARGETS += $$(COPY_GTEST_MSVCP_$v)) \
$(if $(call equals, $(COPY_DEBUG_SYMBOLS), true), \
$(eval $(call SetupCopyFiles, COPY_GTEST_PDB_$v, \
SRC := $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/gtest, \

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -50,18 +50,19 @@ public class SPI {
out.println(line);
} else {
charsets.values()
.stream()
.filter(cs -> cs.pkgName.equals("sun.nio.cs.ext") &&
!cs.isInternal &&
(cs.os == null || cs.os.equals(os)))
.forEach( cs -> {
out.printf(" charset(\"%s\", \"%s\",%n", cs.csName, cs.clzName);
out.printf(" new String[] {%n");
for (String alias : cs.aliases) {
out.printf(" \"%s\",%n", alias);
}
out.printf(" });%n%n");
});
.stream()
.filter(cs -> cs.pkgName.equals("sun.nio.cs.ext") &&
!cs.isInternal &&
(cs.os == null || cs.os.equals(os)))
.forEach( cs -> {
out.printf(" charset(\"%s\", \"%s\",%n", cs.csName, cs.clzName);
out.printf(" new String[] {%n");
for (String alias : cs.aliases) {
out.printf(" \"%s\",%n",
alias);
}
out.printf(" });%n%n");
});
}
}
} else if (type.startsWith("stdcs")) { // StandardCharsets.java
@@ -93,8 +94,15 @@ public class SPI {
.filter(cs -> cs.pkgName.equals("sun.nio.cs"))
.forEach( cs -> {
if (cs.aliases == null || cs.aliases.length == 0) {
out.printf(" static String[] aliases_%s() { return null; }%n%n",
cs.clzName);
if (cs.csName.equals("GB18030")) {
out.printf(" static String[] aliases_GB18030() { return new String[] {%n");
out.printf(" GB18030.IS_2000 ? \"gb18030-2000\" : \"gb18030-2022\"%n");
out.printf(" };%n");
out.printf(" }%n%n");
} else {
out.printf(" static String[] aliases_%s() { return null; }%n%n",
cs.clzName);
}
} else {
boolean methodEnd = true;
// non-final for SJIS and MS932 to support sun.nio.cs.map

View File

@@ -197,9 +197,7 @@ class Bundle {
// parentsMap contains resources from id's parents.
Map<String, Object> parentsMap = new HashMap<>();
for (int i = cldrBundles.length - 1; i > index; i--) {
if (!("no".equals(cldrBundles[i]) || cldrBundles[i].startsWith("no_"))) {
parentsMap.putAll(CLDRConverter.getCLDRBundle(cldrBundles[i]));
}
parentsMap.putAll(CLDRConverter.getCLDRBundle(cldrBundles[i]));
}
// Duplicate myMap as parentsMap for "root" so that the
// fallback works. This is a hack, though.

View File

@@ -49,6 +49,7 @@ $(eval $(call SetupNativeCompilation, BUILD_LIBFDLIBM, \
CFLAGS_windows_debug := -DLOGGING, \
CFLAGS_aix := -qfloat=nomaf, \
DISABLED_WARNINGS_gcc := sign-compare misleading-indentation array-bounds, \
DISABLED_WARNINGS_gcc_k_rem_pio2.c := maybe-uninitialized, \
DISABLED_WARNINGS_clang := sign-compare misleading-indentation, \
DISABLED_WARNINGS_microsoft := 4146 4244 4018, \
ARFLAGS := $(ARFLAGS), \

View File

@@ -481,7 +481,7 @@ else
$(BUILD_LIBFREETYPE_CFLAGS), \
EXTRA_HEADER_DIRS := $(BUILD_LIBFREETYPE_HEADER_DIRS), \
DISABLED_WARNINGS_microsoft := 4018 4267 4244 4312 4819, \
DISABLED_WARNINGS_gcc := implicit-fallthrough cast-function-type bad-function-cast, \
DISABLED_WARNINGS_gcc := implicit-fallthrough cast-function-type bad-function-cast dangling-pointer stringop-overflow, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
))
@@ -504,7 +504,7 @@ else
-DHB_NO_PRAGMA_GCC_DIAGNOSTIC
endif
ifeq ($(call isTargetOs, linux macosx), true)
HARFBUZZ_CFLAGS += -DHAVE_INTEL_ATOMIC_PRIMITIVES
HARFBUZZ_CFLAGS += -DHAVE_INTEL_ATOMIC_PRIMITIVES -DHB_NO_VISIBILITY
endif
# Early re-canonizing has to be disabled to workaround an internal XlC compiler error
@@ -517,8 +517,9 @@ else
LIBFONTMANAGER_EXCLUDE_FILES += libharfbuzz/hb-ft.cc
HARFBUZZ_DISABLED_WARNINGS_gcc := type-limits missing-field-initializers strict-aliasing
# noexcept-type required for GCC 7 builds. Not required for GCC 8+.
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := reorder delete-non-virtual-dtor strict-overflow \
maybe-uninitialized class-memaccess unused-result extra
maybe-uninitialized class-memaccess unused-result extra use-after-free noexcept-type
HARFBUZZ_DISABLED_WARNINGS_clang := unused-value incompatible-pointer-types \
tautological-constant-out-of-range-compare int-to-pointer-cast \
undef missing-field-initializers range-loop-analysis \

View File

@@ -26,13 +26,5 @@
# -parameters provides method's parameters information in class file,
# JVMCI compilers make use of that information for various sanity checks.
# Don't use Indy strings concatenation to have good JVMCI startup performance.
# The exports are needed since JVMCI is dynamically exported (see
# jdk.vm.ci.services.internal.ReflectionAccessJDK::openJVMCITo).
JAVAC_FLAGS += -parameters -XDstringConcat=inline
## WORKAROUND jdk.internal.vm.ci source structure issue
JVMCI_MODULESOURCEPATH := $(MODULESOURCEPATH) \
$(subst /$(MODULE)/,/*/, $(filter-out %processor/src, \
$(wildcard $(TOPDIR)/src/$(MODULE)/share/classes/*/src)))
MODULESOURCEPATH := $(call PathList, $(JVMCI_MODULESOURCEPATH))

View File

@@ -871,7 +871,7 @@ BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exesigtest := -ljvm
ifeq ($(call isTargetOs, windows), true)
BUILD_HOTSPOT_JTREG_EXECUTABLES_CFLAGS_exeFPRegs := -MT
BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c libTestJNI.c
BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c libTestJNI.c libnativeStack.c
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libatExit := jvm.lib
else
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libbootclssearch_agent += -lpthread
@@ -1508,6 +1508,7 @@ else
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libgetphase002 += -lpthread
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libterminatedThread += -lpthread
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libatExit += -ljvm
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libnativeStack += -lpthread
endif
# This evaluation is expensive and should only be done if this target was

View File

@@ -49,7 +49,7 @@
<target name="compile" depends="init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac debug="off" source="1.7" target="1.7" srcdir="${src}" destdir="${build}"/>
<javac debug="off" source="17" target="17" srcdir="${src}" destdir="${build}"/>
</target>
<target name="run" depends="dist"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -40,11 +40,11 @@
package j2dbench;
import java.util.Vector;
import java.util.Hashtable;
import java.util.Enumeration;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Vector;
public class Result {
public static final int RATE_UNKNOWN = 0;
@@ -243,7 +243,7 @@ public class Result {
int repsPerRun;
int unitsPerRep;
Vector times;
Hashtable modifiers;
LinkedHashMap modifiers;
Throwable error;
public Result(Test test) {
@@ -277,7 +277,7 @@ public class Result {
this.error = t;
}
public void setModifiers(Hashtable modifiers) {
public void setModifiers(LinkedHashMap modifiers) {
this.modifiers = modifiers;
}
@@ -297,7 +297,7 @@ public class Result {
return ((long) getRepsPerRun()) * ((long) getUnitsPerRep());
}
public Hashtable getModifiers() {
public LinkedHashMap getModifiers() {
return modifiers;
}
@@ -423,11 +423,11 @@ public class Result {
System.out.println(test+" averaged "+getAverageString());
}
if (true) {
Enumeration enum_ = modifiers.keys();
Iterator iter_ = modifiers.keySet().iterator();
System.out.print(" with");
String sep = " ";
while (enum_.hasMoreElements()) {
Modifier mod = (Modifier) enum_.nextElement();
while (iter_.hasNext()) {
Modifier mod = (Modifier) iter_.next();
Object v = modifiers.get(mod);
System.out.print(sep);
System.out.print(mod.getAbbreviatedModifierDescription(v));
@@ -442,9 +442,9 @@ public class Result {
"num-reps=\""+getRepsPerRun()+"\" "+
"num-units=\""+getUnitsPerRep()+"\" "+
"name=\""+test.getTreeName()+"\">");
Enumeration enum_ = modifiers.keys();
while (enum_.hasMoreElements()) {
Modifier mod = (Modifier) enum_.nextElement();
Iterator iter_ = modifiers.keySet().iterator();
while (iter_.hasNext()) {
Modifier mod = (Modifier) iter_.next();
Object v = modifiers.get(mod);
String val = mod.getModifierValueName(v);
pw.println(" <option "+

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -40,15 +40,15 @@
package j2dbench;
import java.awt.AlphaComposite;
import java.awt.Canvas;
import java.awt.Image;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Dimension;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Image;
import java.awt.Toolkit;
import java.util.Hashtable;
import java.util.LinkedHashMap;
import j2dbench.tests.GraphicsTests;
@@ -105,12 +105,12 @@ public class TestEnvironment implements Node.Visitor {
Image srcImage;
boolean stopped;
ResultSet results;
Hashtable modifiers;
LinkedHashMap modifiers;
Timer timer;
public TestEnvironment() {
results = new ResultSet();
modifiers = new Hashtable();
modifiers = new LinkedHashMap();
timer = Timer.getImpl();
}
@@ -246,8 +246,8 @@ public class TestEnvironment implements Node.Visitor {
modifiers.remove(o);
}
public Hashtable getModifiers() {
return (Hashtable) modifiers.clone();
public LinkedHashMap getModifiers() {
return (LinkedHashMap) modifiers.clone();
}
public void record(Result result) {

View File

@@ -3440,7 +3440,8 @@ encode %{
__ mov_metadata(dst_reg, (Metadata*)con);
} else {
assert(rtype == relocInfo::none, "unexpected reloc type");
if (con < (address)(uintptr_t)os::vm_page_size()) {
if (! __ is_valid_AArch64_address(con) ||
con < (address)(uintptr_t)os::vm_page_size()) {
__ mov(dst_reg, con);
} else {
uint64_t offset;
@@ -3916,7 +3917,7 @@ encode %{
// Handle existing monitor.
__ ldr(tmp, Address(oop, oopDesc::mark_offset_in_bytes()));
__ tbnz(disp_hdr, exact_log2(markWord::monitor_value), object_has_monitor);
__ tbnz(tmp, exact_log2(markWord::monitor_value), object_has_monitor);
// Check if it is still a light weight lock, this is is true if we
// see the stack address of the basicLock in the markWord of the
@@ -4922,7 +4923,7 @@ operand iRegP()
match(iRegP_R0);
//match(iRegP_R2);
//match(iRegP_R4);
//match(iRegP_R5);
match(iRegP_R5);
match(thread_RegP);
op_cost(0);
format %{ %}
@@ -8645,6 +8646,7 @@ instruct membar_release() %{
instruct membar_storestore() %{
match(MemBarStoreStore);
match(StoreStoreFence);
ins_cost(VOLATILE_REF_COST);
format %{ "MEMBAR-store-store" %}
@@ -17027,16 +17029,17 @@ instruct string_compress(iRegP_R2 src, iRegP_R1 dst, iRegI_R3 len,
iRegI_R0 result, rFlagsReg cr)
%{
match(Set result (StrCompressedCopy src (Binary dst len)));
effect(TEMP tmp1, TEMP tmp2, TEMP tmp3, TEMP tmp4, USE_KILL src, USE_KILL dst, USE_KILL len, KILL cr);
effect(TEMP tmp1, TEMP tmp2, TEMP tmp3, TEMP tmp4,
USE_KILL src, USE_KILL dst, USE len, KILL cr);
format %{ "String Compress $src,$dst -> $result // KILL R1, R2, R3, R4" %}
format %{ "String Compress $src,$dst,$len -> $result // KILL $src,$dst" %}
ins_encode %{
__ char_array_compress($src$$Register, $dst$$Register, $len$$Register,
$result$$Register,
$tmp1$$FloatRegister, $tmp2$$FloatRegister,
$tmp3$$FloatRegister, $tmp4$$FloatRegister,
$result$$Register);
$tmp3$$FloatRegister, $tmp4$$FloatRegister);
%}
ins_pipe( pipe_slow );
ins_pipe(pipe_slow);
%}
// fast byte[] to char[] inflation
@@ -17061,22 +17064,43 @@ instruct string_inflate(Universe dummy, iRegP_R0 src, iRegP_R1 dst, iRegI_R2 len
// encode char[] to byte[] in ISO_8859_1
instruct encode_iso_array(iRegP_R2 src, iRegP_R1 dst, iRegI_R3 len,
vRegD_V0 Vtmp1, vRegD_V1 Vtmp2,
vRegD_V2 Vtmp3, vRegD_V3 Vtmp4,
vRegD_V0 vtmp0, vRegD_V1 vtmp1,
vRegD_V2 vtmp2, vRegD_V3 vtmp3,
iRegI_R0 result, rFlagsReg cr)
%{
predicate(!((EncodeISOArrayNode*)n)->is_ascii());
match(Set result (EncodeISOArray src (Binary dst len)));
effect(USE_KILL src, USE_KILL dst, USE_KILL len,
KILL Vtmp1, KILL Vtmp2, KILL Vtmp3, KILL Vtmp4, KILL cr);
effect(USE_KILL src, USE_KILL dst, USE len,
KILL vtmp0, KILL vtmp1, KILL vtmp2, KILL vtmp3, KILL cr);
format %{ "Encode array $src,$dst,$len -> $result" %}
format %{ "Encode ISO array $src,$dst,$len -> $result" %}
ins_encode %{
__ encode_iso_array($src$$Register, $dst$$Register, $len$$Register,
$result$$Register, $Vtmp1$$FloatRegister, $Vtmp2$$FloatRegister,
$Vtmp3$$FloatRegister, $Vtmp4$$FloatRegister);
$result$$Register, false,
$vtmp0$$FloatRegister, $vtmp1$$FloatRegister,
$vtmp2$$FloatRegister, $vtmp3$$FloatRegister);
%}
ins_pipe( pipe_class_memory );
ins_pipe(pipe_class_memory);
%}
instruct encode_ascii_array(iRegP_R2 src, iRegP_R1 dst, iRegI_R3 len,
vRegD_V0 vtmp0, vRegD_V1 vtmp1,
vRegD_V2 vtmp2, vRegD_V3 vtmp3,
iRegI_R0 result, rFlagsReg cr)
%{
predicate(((EncodeISOArrayNode*)n)->is_ascii());
match(Set result (EncodeISOArray src (Binary dst len)));
effect(USE_KILL src, USE_KILL dst, USE len,
KILL vtmp0, KILL vtmp1, KILL vtmp2, KILL vtmp3, KILL cr);
format %{ "Encode ASCII array $src,$dst,$len -> $result" %}
ins_encode %{
__ encode_iso_array($src$$Register, $dst$$Register, $len$$Register,
$result$$Register, true,
$vtmp0$$FloatRegister, $vtmp1$$FloatRegister,
$vtmp2$$FloatRegister, $vtmp3$$FloatRegister);
%}
ins_pipe(pipe_class_memory);
%}
// ============================================================================

View File

@@ -2448,6 +2448,12 @@ public:
INSN(cnt, 0, 0b100000010110, 0); // accepted arrangements: T8B, T16B
INSN(uaddlp, 1, 0b100000001010, 2); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S
INSN(uaddlv, 1, 0b110000001110, 1); // accepted arrangements: T8B, T16B, T4H, T8H, T4S
// Zero compare.
INSN(cmeq, 0, 0b100000100110, 3); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S, T2D
INSN(cmge, 1, 0b100000100010, 3); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S, T2D
INSN(cmgt, 0, 0b100000100010, 3); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S, T2D
INSN(cmle, 1, 0b100000100110, 3); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S, T2D
INSN(cmlt, 0, 0b100000101010, 3); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S, T2D
#undef INSN

View File

@@ -37,6 +37,8 @@ typedef uint64_t (*aarch64_atomic_stub_t)(volatile void *ptr, uint64_t arg1, uin
// Pointers to stubs
extern aarch64_atomic_stub_t aarch64_atomic_fetch_add_4_impl;
extern aarch64_atomic_stub_t aarch64_atomic_fetch_add_8_impl;
extern aarch64_atomic_stub_t aarch64_atomic_fetch_add_4_relaxed_impl;
extern aarch64_atomic_stub_t aarch64_atomic_fetch_add_8_relaxed_impl;
extern aarch64_atomic_stub_t aarch64_atomic_xchg_4_impl;
extern aarch64_atomic_stub_t aarch64_atomic_xchg_8_impl;
extern aarch64_atomic_stub_t aarch64_atomic_cmpxchg_1_impl;

View File

@@ -138,21 +138,21 @@ void CodeInstaller::pd_relocate_JavaMethod(CodeBuffer &cbuf, JVMCIObject hotspot
assert(method == NULL || !method->is_static(), "cannot call static method with invokeinterface");
NativeCall* call = nativeCall_at(_instructions->start() + pc_offset);
_instructions->relocate(call->instruction_address(), virtual_call_Relocation::spec(_invoke_mark_pc));
call->trampoline_jump(cbuf, SharedRuntime::get_resolve_virtual_call_stub());
call->trampoline_jump(cbuf, SharedRuntime::get_resolve_virtual_call_stub(), JVMCI_CHECK);
break;
}
case INVOKESTATIC: {
assert(method == NULL || method->is_static(), "cannot call non-static method with invokestatic");
NativeCall* call = nativeCall_at(_instructions->start() + pc_offset);
_instructions->relocate(call->instruction_address(), relocInfo::static_call_type);
call->trampoline_jump(cbuf, SharedRuntime::get_resolve_static_call_stub());
call->trampoline_jump(cbuf, SharedRuntime::get_resolve_static_call_stub(), JVMCI_CHECK);
break;
}
case INVOKESPECIAL: {
assert(method == NULL || !method->is_static(), "cannot call static method with invokespecial");
NativeCall* call = nativeCall_at(_instructions->start() + pc_offset);
_instructions->relocate(call->instruction_address(), relocInfo::opt_virtual_call_type);
call->trampoline_jump(cbuf, SharedRuntime::get_resolve_opt_virtual_call_stub());
call->trampoline_jump(cbuf, SharedRuntime::get_resolve_opt_virtual_call_stub(), JVMCI_CHECK);
break;
}
default:

View File

@@ -5031,112 +5031,119 @@ void MacroAssembler::fill_words(Register base, Register cnt, Register value)
bind(fini);
}
// Intrinsic for sun/nio/cs/ISO_8859_1$Encoder.implEncodeISOArray and
// java/lang/StringUTF16.compress.
// Intrinsic for
//
// - sun/nio/cs/ISO_8859_1$Encoder.implEncodeISOArray
// return the number of characters copied.
// - java/lang/StringUTF16.compress
// return zero (0) if copy fails, otherwise 'len'.
//
// This version always returns the number of characters copied, and does not
// clobber the 'len' register. A successful copy will complete with the post-
// condition: 'res' == 'len', while an unsuccessful copy will exit with the
// post-condition: 0 <= 'res' < 'len'.
//
// NOTE: Attempts to use 'ld2' (and 'umaxv' in the ISO part) has proven to
// degrade performance (on Ampere Altra - Neoverse N1), to an extent
// beyond the acceptable, even though the footprint would be smaller.
// Using 'umaxv' in the ASCII-case comes with a small penalty but does
// avoid additional bloat.
//
void MacroAssembler::encode_iso_array(Register src, Register dst,
Register len, Register result,
FloatRegister Vtmp1, FloatRegister Vtmp2,
FloatRegister Vtmp3, FloatRegister Vtmp4)
Register len, Register res, bool ascii,
FloatRegister vtmp0, FloatRegister vtmp1,
FloatRegister vtmp2, FloatRegister vtmp3)
{
Label DONE, SET_RESULT, NEXT_32, NEXT_32_PRFM, LOOP_8, NEXT_8, LOOP_1, NEXT_1,
NEXT_32_START, NEXT_32_PRFM_START;
Register tmp1 = rscratch1, tmp2 = rscratch2;
Register cnt = res;
Register max = rscratch1;
Register chk = rscratch2;
mov(result, len); // Save initial len
prfm(Address(src), PLDL1STRM);
movw(cnt, len);
cmp(len, (u1)8); // handle shortest strings first
br(LT, LOOP_1);
cmp(len, (u1)32);
br(LT, NEXT_8);
// The following code uses the SIMD 'uzp1' and 'uzp2' instructions
// to convert chars to bytes
if (SoftwarePrefetchHintDistance >= 0) {
ld1(Vtmp1, Vtmp2, Vtmp3, Vtmp4, T8H, src);
subs(tmp2, len, SoftwarePrefetchHintDistance/2 + 16);
br(LE, NEXT_32_START);
b(NEXT_32_PRFM_START);
BIND(NEXT_32_PRFM);
ld1(Vtmp1, Vtmp2, Vtmp3, Vtmp4, T8H, src);
BIND(NEXT_32_PRFM_START);
prfm(Address(src, SoftwarePrefetchHintDistance));
orr(v4, T16B, Vtmp1, Vtmp2);
orr(v5, T16B, Vtmp3, Vtmp4);
uzp1(Vtmp1, T16B, Vtmp1, Vtmp2);
uzp1(Vtmp3, T16B, Vtmp3, Vtmp4);
uzp2(v5, T16B, v4, v5); // high bytes
umov(tmp2, v5, D, 1);
fmovd(tmp1, v5);
orr(tmp1, tmp1, tmp2);
cbnz(tmp1, LOOP_8);
stpq(Vtmp1, Vtmp3, dst);
sub(len, len, 32);
add(dst, dst, 32);
add(src, src, 64);
subs(tmp2, len, SoftwarePrefetchHintDistance/2 + 16);
br(GE, NEXT_32_PRFM);
cmp(len, (u1)32);
br(LT, LOOP_8);
BIND(NEXT_32);
ld1(Vtmp1, Vtmp2, Vtmp3, Vtmp4, T8H, src);
BIND(NEXT_32_START);
} else {
BIND(NEXT_32);
ld1(Vtmp1, Vtmp2, Vtmp3, Vtmp4, T8H, src);
}
prfm(Address(src, SoftwarePrefetchHintDistance));
uzp1(v4, T16B, Vtmp1, Vtmp2);
uzp1(v5, T16B, Vtmp3, Vtmp4);
orr(Vtmp1, T16B, Vtmp1, Vtmp2);
orr(Vtmp3, T16B, Vtmp3, Vtmp4);
uzp2(Vtmp1, T16B, Vtmp1, Vtmp3); // high bytes
umov(tmp2, Vtmp1, D, 1);
fmovd(tmp1, Vtmp1);
orr(tmp1, tmp1, tmp2);
cbnz(tmp1, LOOP_8);
stpq(v4, v5, dst);
sub(len, len, 32);
add(dst, dst, 32);
add(src, src, 64);
cmp(len, (u1)32);
br(GE, NEXT_32);
cbz(len, DONE);
#define ASCII(insn) do { if (ascii) { insn; } } while (0)
BIND(LOOP_8);
cmp(len, (u1)8);
br(LT, LOOP_1);
BIND(NEXT_8);
ld1(Vtmp1, T8H, src);
uzp1(Vtmp2, T16B, Vtmp1, Vtmp1); // low bytes
uzp2(Vtmp3, T16B, Vtmp1, Vtmp1); // high bytes
fmovd(tmp1, Vtmp3);
cbnz(tmp1, NEXT_1);
strd(Vtmp2, dst);
Label LOOP_32, DONE_32, FAIL_32;
sub(len, len, 8);
add(dst, dst, 8);
add(src, src, 16);
cmp(len, (u1)8);
br(GE, NEXT_8);
BIND(LOOP_32);
{
cmpw(cnt, 32);
br(LT, DONE_32);
ld1(vtmp0, vtmp1, vtmp2, vtmp3, T8H, Address(post(src, 64)));
// Extract lower bytes.
FloatRegister vlo0 = v4;
FloatRegister vlo1 = v5;
uzp1(vlo0, T16B, vtmp0, vtmp1);
uzp1(vlo1, T16B, vtmp2, vtmp3);
// Merge bits...
orr(vtmp0, T16B, vtmp0, vtmp1);
orr(vtmp2, T16B, vtmp2, vtmp3);
// Extract merged upper bytes.
FloatRegister vhix = vtmp0;
uzp2(vhix, T16B, vtmp0, vtmp2);
// ISO-check on hi-parts (all zero).
// ASCII-check on lo-parts (no sign).
FloatRegister vlox = vtmp1; // Merge lower bytes.
ASCII(orr(vlox, T16B, vlo0, vlo1));
umov(chk, vhix, D, 1); ASCII(cmlt(vlox, T16B, vlox));
fmovd(max, vhix); ASCII(umaxv(vlox, T16B, vlox));
orr(chk, chk, max); ASCII(umov(max, vlox, B, 0));
ASCII(orr(chk, chk, max));
cbnz(chk, FAIL_32);
subw(cnt, cnt, 32);
st1(vlo0, vlo1, T16B, Address(post(dst, 32)));
b(LOOP_32);
}
BIND(FAIL_32);
sub(src, src, 64);
BIND(DONE_32);
BIND(LOOP_1);
Label LOOP_8, SKIP_8;
cbz(len, DONE);
BIND(NEXT_1);
ldrh(tmp1, Address(post(src, 2)));
tst(tmp1, 0xff00);
br(NE, SET_RESULT);
strb(tmp1, Address(post(dst, 1)));
subs(len, len, 1);
br(GT, NEXT_1);
BIND(LOOP_8);
{
cmpw(cnt, 8);
br(LT, SKIP_8);
FloatRegister vhi = vtmp0;
FloatRegister vlo = vtmp1;
ld1(vtmp3, T8H, src);
uzp1(vlo, T16B, vtmp3, vtmp3);
uzp2(vhi, T16B, vtmp3, vtmp3);
// ISO-check on hi-parts (all zero).
// ASCII-check on lo-parts (no sign).
ASCII(cmlt(vtmp2, T16B, vlo));
fmovd(chk, vhi); ASCII(umaxv(vtmp2, T16B, vtmp2));
ASCII(umov(max, vtmp2, B, 0));
ASCII(orr(chk, chk, max));
cbnz(chk, SKIP_8);
BIND(SET_RESULT);
sub(result, result, len); // Return index where we stopped
// Return len == 0 if we processed all
// characters
BIND(DONE);
strd(vlo, Address(post(dst, 8)));
subw(cnt, cnt, 8);
add(src, src, 16);
b(LOOP_8);
}
BIND(SKIP_8);
#undef ASCII
Label LOOP, DONE;
cbz(cnt, DONE);
BIND(LOOP);
{
Register chr = rscratch1;
ldrh(chr, Address(post(src, 2)));
tst(chr, ascii ? 0xff80 : 0xff00);
br(NE, DONE);
strb(chr, Address(post(dst, 1)));
subs(cnt, cnt, 1);
br(GT, LOOP);
}
BIND(DONE);
// Return index where we stopped.
subw(res, len, cnt);
}
// Inflate byte[] array to char[].
address MacroAssembler::byte_array_inflate(Register src, Register dst, Register len,
FloatRegister vtmp1, FloatRegister vtmp2,
@@ -5244,13 +5251,13 @@ address MacroAssembler::byte_array_inflate(Register src, Register dst, Register
// Compress char[] array to byte[].
void MacroAssembler::char_array_compress(Register src, Register dst, Register len,
FloatRegister tmp1Reg, FloatRegister tmp2Reg,
FloatRegister tmp3Reg, FloatRegister tmp4Reg,
Register result) {
encode_iso_array(src, dst, len, result,
tmp1Reg, tmp2Reg, tmp3Reg, tmp4Reg);
cmp(len, zr);
csel(result, result, zr, EQ);
Register res,
FloatRegister tmp0, FloatRegister tmp1,
FloatRegister tmp2, FloatRegister tmp3) {
encode_iso_array(src, dst, len, res, false, tmp0, tmp1, tmp2, tmp3);
// Adjust result: res == len ? len : 0
cmp(len, res);
csel(res, res, zr, EQ);
}
// get_thread() can be called anywhere inside generated code so we

View File

@@ -1273,14 +1273,15 @@ public:
FloatRegister vtmp3, Register tmp4);
void char_array_compress(Register src, Register dst, Register len,
FloatRegister tmp1Reg, FloatRegister tmp2Reg,
FloatRegister tmp3Reg, FloatRegister tmp4Reg,
Register result);
Register res,
FloatRegister vtmp0, FloatRegister vtmp1,
FloatRegister vtmp2, FloatRegister vtmp3);
void encode_iso_array(Register src, Register dst,
Register len, Register result,
FloatRegister Vtmp1, FloatRegister Vtmp2,
FloatRegister Vtmp3, FloatRegister Vtmp4);
Register len, Register res, bool ascii,
FloatRegister vtmp0, FloatRegister vtmp1,
FloatRegister vtmp2, FloatRegister vtmp3);
void fast_log(FloatRegister vtmp0, FloatRegister vtmp1, FloatRegister vtmp2,
FloatRegister vtmp3, FloatRegister vtmp4, FloatRegister vtmp5,
FloatRegister tmpC1, FloatRegister tmpC2, FloatRegister tmpC3,

View File

@@ -156,6 +156,6 @@
}
// Implements a variant of EncodeISOArrayNode that encode ASCII only
static const bool supports_encode_ascii_array = false;
static const bool supports_encode_ascii_array = true;
#endif // CPU_AARCH64_MATCHER_AARCH64_HPP

View File

@@ -39,6 +39,9 @@
#ifdef COMPILER1
#include "c1/c1_Runtime1.hpp"
#endif
#if INCLUDE_JVMCI
#include "jvmci/jvmciEnv.hpp"
#endif
void NativeCall::verify() {
assert(NativeCall::is_call_at((address)this), "unexpected code at call site");
@@ -524,23 +527,26 @@ void NativeCallTrampolineStub::set_destination(address new_destination) {
OrderAccess::release();
}
#if INCLUDE_JVMCI
// Generate a trampoline for a branch to dest. If there's no need for a
// trampoline, simply patch the call directly to dest.
address NativeCall::trampoline_jump(CodeBuffer &cbuf, address dest) {
void NativeCall::trampoline_jump(CodeBuffer &cbuf, address dest, JVMCI_TRAPS) {
MacroAssembler a(&cbuf);
address stub = NULL;
if (a.far_branches()
&& ! is_NativeCallTrampolineStub_at(instruction_address() + displacement())) {
stub = a.emit_trampoline_stub(instruction_address() - cbuf.insts()->start(), dest);
}
if (stub == NULL) {
// If we generated no stub, patch this call directly to dest.
// This will happen if we don't need far branches or if there
// already was a trampoline.
if (!a.far_branches()) {
// If not using far branches, patch this call directly to dest.
set_destination(dest);
} else if (!is_NativeCallTrampolineStub_at(instruction_address() + displacement())) {
// If we want far branches and there isn't a trampoline stub, emit one.
address stub = a.emit_trampoline_stub(instruction_address() - cbuf.insts()->start(), dest);
if (stub == nullptr) {
JVMCI_ERROR("could not emit trampoline stub - code cache is full");
}
// The relocation created while emitting the stub will ensure this
// call instruction is subsequently patched to call the stub.
} else {
// Not sure how this can be happen but be defensive
JVMCI_ERROR("single-use stub should not exist");
}
return stub;
}
#endif

View File

@@ -29,6 +29,11 @@
#include "asm/assembler.hpp"
#include "runtime/icache.hpp"
#include "runtime/os.hpp"
#include "runtime/os.hpp"
#if INCLUDE_JVMCI
#include "jvmci/jvmciExceptions.hpp"
#endif
// We have interfaces for the following instructions:
// - NativeInstruction
@@ -251,7 +256,9 @@ public:
void set_destination_mt_safe(address dest, bool assert_lock = true);
address get_trampoline();
address trampoline_jump(CodeBuffer &cbuf, address dest);
#if INCLUDE_JVMCI
void trampoline_jump(CodeBuffer &cbuf, address dest, JVMCI_TRAPS);
#endif
};
inline NativeCall* nativeCall_at(address address) {

View File

@@ -2359,10 +2359,9 @@ void SharedRuntime::generate_deopt_blob() {
Label retaddr;
__ set_last_Java_frame(sp, noreg, retaddr, rscratch1);
#ifdef ASSERT0
#ifdef ASSERT
{ Label L;
__ ldr(rscratch1, Address(rthread,
JavaThread::last_Java_fp_offset()));
__ ldr(rscratch1, Address(rthread, JavaThread::last_Java_fp_offset()));
__ cbz(rscratch1, L);
__ stop("SharedRuntime::generate_deopt_blob: last_Java_fp not cleared");
__ bind(L);

View File

@@ -2964,6 +2964,22 @@ class StubGenerator: public StubCodeGenerator {
return start;
}
// Big-endian 128-bit + 64-bit -> 128-bit addition.
// Inputs: 128-bits. in is preserved.
// The least-significant 64-bit word is in the upper dword of the vector
// inc (the 64-bit increment) is preserved. Its lower dword must be zero
// Output: result
void be_add_128_64(FloatRegister result, FloatRegister in,
FloatRegister inc, FloatRegister tmp) {
assert_different_registers(result, tmp, inc);
__ addv(result, __ T2D, in, inc); // Add inc to the least-significant dword of input
__ cmhi(tmp, __ T2D, inc, result); // Check for result overflowing
__ ins(tmp, __ D, tmp, 0, 1); // Move LSD of comparison result to MSD
__ ins(tmp, __ D, inc, 1, 0); // Move 0 to LSD of comparison result
__ subv(result, __ T2D, result, tmp); // Subtract -1 from MSD if there was an overflow
}
// CTR AES crypt.
// Arguments:
//
@@ -3073,13 +3089,16 @@ class StubGenerator: public StubCodeGenerator {
// Setup the counter
__ movi(v4, __ T4S, 0);
__ movi(v5, __ T4S, 1);
__ ins(v4, __ S, v5, 3, 3); // v4 contains { 0, 0, 0, 1 }
__ ins(v4, __ S, v5, 2, 2); // v4 contains { 0, 1 }
__ ld1(v0, __ T16B, counter); // Load the counter into v0
__ rev32(v16, __ T16B, v0);
__ addv(v16, __ T4S, v16, v4);
__ rev32(v16, __ T16B, v16);
__ st1(v16, __ T16B, counter); // Save the incremented counter back
// 128-bit big-endian increment
__ ld1(v0, __ T16B, counter);
__ rev64(v16, __ T16B, v0);
be_add_128_64(v16, v16, v4, /*tmp*/v5);
__ rev64(v16, __ T16B, v16);
__ st1(v16, __ T16B, counter);
// Previous counter value is in v0
// v4 contains { 0, 1 }
{
// We have fewer than bulk_width blocks of data left. Encrypt
@@ -3111,9 +3130,9 @@ class StubGenerator: public StubCodeGenerator {
// Increment the counter, store it back
__ orr(v0, __ T16B, v16, v16);
__ rev32(v16, __ T16B, v16);
__ addv(v16, __ T4S, v16, v4);
__ rev32(v16, __ T16B, v16);
__ rev64(v16, __ T16B, v16);
be_add_128_64(v16, v16, v4, /*tmp*/v5);
__ rev64(v16, __ T16B, v16);
__ st1(v16, __ T16B, counter); // Save the incremented counter back
__ b(inner_loop);
@@ -3161,7 +3180,7 @@ class StubGenerator: public StubCodeGenerator {
// Keys should already be loaded into the correct registers
__ ld1(v0, __ T16B, counter); // v0 contains the first counter
__ rev32(v16, __ T16B, v0); // v16 contains byte-reversed counter
__ rev64(v16, __ T16B, v0); // v16 contains byte-reversed counter
// AES/CTR loop
{
@@ -3171,11 +3190,11 @@ class StubGenerator: public StubCodeGenerator {
// Setup the counters
__ movi(v8, __ T4S, 0);
__ movi(v9, __ T4S, 1);
__ ins(v8, __ S, v9, 3, 3); // v8 contains { 0, 0, 0, 1 }
__ ins(v8, __ S, v9, 2, 2); // v8 contains { 0, 1 }
for (FloatRegister f = v0; f < v0 + bulk_width; f++) {
__ rev32(f, __ T16B, v16);
__ addv(v16, __ T4S, v16, v8);
__ rev64(f, __ T16B, v16);
be_add_128_64(v16, v16, v8, /*tmp*/v9);
}
__ ld1(v8, v9, v10, v11, __ T16B, __ post(in, 4 * 16));
@@ -3203,7 +3222,7 @@ class StubGenerator: public StubCodeGenerator {
}
// Save the counter back where it goes
__ rev32(v16, __ T16B, v16);
__ rev64(v16, __ T16B, v16);
__ st1(v16, __ T16B, counter);
__ pop(saved_regs, sp);
@@ -6481,10 +6500,16 @@ class StubGenerator: public StubCodeGenerator {
__ ret(lr);
}
void gen_ldaddal_entry(Assembler::operand_size size) {
void gen_ldadd_entry(Assembler::operand_size size, atomic_memory_order order) {
Register prev = r2, addr = c_rarg0, incr = c_rarg1;
__ ldaddal(size, incr, prev, addr);
__ membar(Assembler::StoreStore|Assembler::StoreLoad);
// If not relaxed, then default to conservative. Relaxed is the only
// case we use enough to be worth specializing.
if (order == memory_order_relaxed) {
__ ldadd(size, incr, prev, addr);
} else {
__ ldaddal(size, incr, prev, addr);
__ membar(Assembler::StoreStore|Assembler::StoreLoad);
}
if (size == Assembler::xword) {
__ mov(r0, prev);
} else {
@@ -6514,12 +6539,21 @@ class StubGenerator: public StubCodeGenerator {
StubCodeMark mark(this, "StubRoutines", "atomic entry points");
address first_entry = __ pc();
// All memory_order_conservative
// ADD, memory_order_conservative
AtomicStubMark mark_fetch_add_4(_masm, &aarch64_atomic_fetch_add_4_impl);
gen_ldaddal_entry(Assembler::word);
gen_ldadd_entry(Assembler::word, memory_order_conservative);
AtomicStubMark mark_fetch_add_8(_masm, &aarch64_atomic_fetch_add_8_impl);
gen_ldaddal_entry(Assembler::xword);
gen_ldadd_entry(Assembler::xword, memory_order_conservative);
// ADD, memory_order_relaxed
AtomicStubMark mark_fetch_add_4_relaxed
(_masm, &aarch64_atomic_fetch_add_4_relaxed_impl);
gen_ldadd_entry(MacroAssembler::word, memory_order_relaxed);
AtomicStubMark mark_fetch_add_8_relaxed
(_masm, &aarch64_atomic_fetch_add_8_relaxed_impl);
gen_ldadd_entry(MacroAssembler::xword, memory_order_relaxed);
// XCHG, memory_order_conservative
AtomicStubMark mark_xchg_4(_masm, &aarch64_atomic_xchg_4_impl);
gen_swpal_entry(Assembler::word);
AtomicStubMark mark_xchg_8_impl(_masm, &aarch64_atomic_xchg_8_impl);
@@ -7730,6 +7764,8 @@ void StubGenerator_generate(CodeBuffer* code, bool all) {
DEFAULT_ATOMIC_OP(fetch_add, 4, )
DEFAULT_ATOMIC_OP(fetch_add, 8, )
DEFAULT_ATOMIC_OP(fetch_add, 4, _relaxed)
DEFAULT_ATOMIC_OP(fetch_add, 8, _relaxed)
DEFAULT_ATOMIC_OP(xchg, 4, )
DEFAULT_ATOMIC_OP(xchg, 8, )
DEFAULT_ATOMIC_OP(cmpxchg, 1, )

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2020, Red Hat Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -131,7 +131,7 @@ void VM_Version::initialize() {
// Enable vendor specific features
// Ampere eMAG
if (_cpu == CPU_AMCC && (_model == 0) && (_variant == 0x3)) {
if (_cpu == CPU_AMCC && (_model == CPU_MODEL_EMAG) && (_variant == 0x3)) {
if (FLAG_IS_DEFAULT(AvoidUnalignedAccesses)) {
FLAG_SET_DEFAULT(AvoidUnalignedAccesses, true);
}
@@ -143,6 +143,13 @@ void VM_Version::initialize() {
}
}
// Ampere CPUs: Ampere-1 and Ampere-1A
if (_cpu == CPU_AMPERE && ((_model == CPU_MODEL_AMPERE_1) || (_model == CPU_MODEL_AMPERE_1A))) {
if (FLAG_IS_DEFAULT(UseSIMDForMemoryOps)) {
FLAG_SET_DEFAULT(UseSIMDForMemoryOps, true);
}
}
// ThunderX
if (_cpu == CPU_CAVIUM && (_model == 0xA1)) {
guarantee(_variant != 0, "Pre-release hardware no longer supported.");
@@ -197,8 +204,10 @@ void VM_Version::initialize() {
}
}
// Neoverse N1
if (_cpu == CPU_ARM && (_model == 0xd0c || _model2 == 0xd0c)) {
// Neoverse N1, N2 and V1
if (_cpu == CPU_ARM && ((_model == 0xd0c || _model2 == 0xd0c)
|| (_model == 0xd49 || _model2 == 0xd49)
|| (_model == 0xd40 || _model2 == 0xd40))) {
if (FLAG_IS_DEFAULT(UseSIMDForMemoryOps)) {
FLAG_SET_DEFAULT(UseSIMDForMemoryOps, true);
}
@@ -479,5 +488,57 @@ void VM_Version::initialize() {
_spin_wait = get_spin_wait_desc();
check_virtualizations();
UNSUPPORTED_OPTION(CriticalJNINatives);
}
#if defined(LINUX)
static bool check_info_file(const char* fpath,
const char* virt1, VirtualizationType vt1,
const char* virt2, VirtualizationType vt2) {
char line[500];
FILE* fp = os::fopen(fpath, "r");
if (fp == nullptr) {
return false;
}
while (fgets(line, sizeof(line), fp) != nullptr) {
if (strcasestr(line, virt1) != 0) {
Abstract_VM_Version::_detected_virtualization = vt1;
fclose(fp);
return true;
}
if (virt2 != NULL && strcasestr(line, virt2) != 0) {
Abstract_VM_Version::_detected_virtualization = vt2;
fclose(fp);
return true;
}
}
fclose(fp);
return false;
}
#endif
void VM_Version::check_virtualizations() {
#if defined(LINUX)
const char* pname_file = "/sys/devices/virtual/dmi/id/product_name";
const char* tname_file = "/sys/hypervisor/type";
if (check_info_file(pname_file, "KVM", KVM, "VMWare", VMWare)) {
return;
}
check_info_file(tname_file, "Xen", XenPVHVM, NULL, NoDetectedVirtualization);
#endif
}
void VM_Version::print_platform_virtualization_info(outputStream* st) {
#if defined(LINUX)
VirtualizationType vrt = VM_Version::get_detected_virtualization();
if (vrt == KVM) {
st->print_cr("KVM virtualization detected");
} else if (vrt == VMWare) {
st->print_cr("VMWare virtualization detected");
} else if (vrt == XenPVHVM) {
st->print_cr("Xen virtualization detected");
}
#endif
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2020, Red Hat Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -60,6 +60,9 @@ protected:
public:
// Initialization
static void initialize();
static void check_virtualizations();
static void print_platform_virtualization_info(outputStream*);
// Asserts
static void assert_is_initialized() {
@@ -99,6 +102,14 @@ public:
CPU_APPLE = 'a',
};
enum Ampere_CPU_Model {
CPU_MODEL_EMAG = 0x0, /* CPU implementer is CPU_AMCC */
CPU_MODEL_ALTRA = 0xd0c, /* CPU implementer is CPU_ARM, Neoverse N1 */
CPU_MODEL_ALTRAMAX = 0xd0c, /* CPU implementer is CPU_ARM, Neoverse N1 */
CPU_MODEL_AMPERE_1 = 0xac3, /* CPU implementer is CPU_AMPERE */
CPU_MODEL_AMPERE_1A = 0xac4 /* CPU implementer is CPU_AMPERE */
};
enum Feature_Flag {
#define CPU_FEATURE_FLAGS(decl) \
decl(FP, "fp", 0) \

View File

@@ -4511,6 +4511,7 @@ instruct storeF( memoryF mem, regF src) %{
// pattern-match out unnecessary membars
instruct membar_storestore() %{
match(MemBarStoreStore);
match(StoreStoreFence);
ins_cost(4*MEMORY_REF_COST);
size(4);

View File

@@ -160,7 +160,7 @@ void C2_MacroAssembler::fast_unlock(Register Roop, Register Rbox, Register Rscra
// Restore the object header
bool allow_fallthrough_on_failure = true;
bool one_shot = true;
cas_for_lock_release(Rmark, Rbox, Roop, Rscratch, done, allow_fallthrough_on_failure, one_shot);
cas_for_lock_release(Rbox, Rmark, Roop, Rscratch, done, allow_fallthrough_on_failure, one_shot);
bind(done);
}

View File

@@ -828,7 +828,6 @@ int LIR_Assembler::load(Register base, int offset, LIR_Opr to_reg, BasicType typ
} else {
__ ld(to_reg->as_register(), offset, base);
}
__ verify_oop(to_reg->as_register(), FILE_AND_LINE);
break;
}
case T_FLOAT: __ lfs(to_reg->as_float_reg(), offset, base); break;
@@ -859,7 +858,6 @@ int LIR_Assembler::load(Register base, Register disp, LIR_Opr to_reg, BasicType
} else {
__ ldx(to_reg->as_register(), base, disp);
}
__ verify_oop(to_reg->as_register(), FILE_AND_LINE);
break;
}
case T_FLOAT: __ lfsx(to_reg->as_float_reg() , base, disp); break;

View File

@@ -7152,6 +7152,7 @@ instruct membar_release() %{
instruct membar_storestore() %{
match(MemBarStoreStore);
match(StoreStoreFence);
ins_cost(4*MEMORY_REF_COST);
format %{ "MEMBAR-store-store" %}

View File

@@ -5048,6 +5048,7 @@ instruct membar_CPUOrder() %{
instruct membar_storestore() %{
match(MemBarStoreStore);
match(StoreStoreFence);
ins_cost(0);
size(0);
format %{ "MEMBAR-storestore (empty)" %}

Some files were not shown because too many files have changed in this diff Show More