Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from typetools/jdk17u #96

Closed
wants to merge 3,205 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3205 commits
Select commit Hold shift + click to select a range
b632518
8299858: [Metrics] Swap memory limit reported incorrectly when too large
MBaesken Mar 12, 2024
49c260d
8315898: Open source swing JMenu tests
Mar 12, 2024
9d75554
Add purity annotations on `max()`
mernst Mar 13, 2024
09ebd1c
8320129: "top" command during jtreg failure handler does not display …
Mar 13, 2024
02ef1c7
8319128: sun/security/pkcs11 tests fail on OL 7.9 aarch64
Mar 13, 2024
6488725
8324598: use mem_unit when working with sysinfo memory and swap relat…
MBaesken Mar 13, 2024
27cf2f4
8320943: Files/probeContentType/Basic.java fails on latest Windows 11…
Mar 14, 2024
0b20589
8324238: [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSomet…
Mar 14, 2024
c9b0307
8268974: GetJREPath() JLI function fails to locate libjava.so if not …
Mar 14, 2024
4b9ab0d
8286740: JFR: Active Setting event emitted incorrectly
richardstartin Mar 14, 2024
0499df3
8285452: Add a new test library API to replace a file content using F…
GoeLin Mar 14, 2024
dc60887
8289401: Add dump output to TestRawRSACipher.java
GoeLin Mar 14, 2024
807faa7
8321489: Update LCMS to 2.16
GoeLin Mar 14, 2024
7d716fc
8290901: Reduce use of -source in langtools tests
GoeLin Mar 14, 2024
373714b
8322239: [macos] a11y : java.lang.NullPointerException is thrown when…
GoeLin Mar 14, 2024
e100cf5
8327036: [macosx-aarch64] SIGBUS in MarkActivationClosure::do_code_bl…
GoeLin Mar 15, 2024
5fb5ba6
8327391: Add SipHash attribution file
GoeLin Mar 15, 2024
b0e3386
8325326: [PPC64] Don't relocate in case of allocation failure
TheRealMDoerr Mar 15, 2024
fce02ad
8326101: [PPC64] Need to bailout cleanly if creation of stubs fails w…
TheRealMDoerr Mar 15, 2024
7fb1fb0
8015739: Background of JInternalFrame is located out of JInternalFrame
GoeLin Mar 19, 2024
f036fcf
8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from Problem…
GoeLin Mar 19, 2024
5fd79e9
8322920: Some ProcessTools.execute* functions are declared to throw T…
GoeLin Mar 19, 2024
5b8a2e5
8325372: Shenandoah: SIGSEGV crash in unnecessary_acquire due to Load…
Mar 19, 2024
d24d94b
8328066: WhiteBoxResizeTest failure on linux-x86: Could not reserve e…
GoeLin Mar 20, 2024
02eec99
8328524: [x86] StringRepeat.java failure on linux-x86: Could not rese…
GoeLin Mar 20, 2024
e3ba201
Merge
GoeLin Mar 20, 2024
c0d209c
8313307: java/util/Formatter/Padding.java fails on some Locales
RealCLanger Mar 20, 2024
aa2cdb3
8322503: Shenandoah: Clarify gc state usage
Mar 21, 2024
09f3890
8297449: Update JInternalFrame Metal Border code
GoeLin Mar 21, 2024
a8a8128
8305169: java/security/cert/CertPathValidator/OCSP/GetAndPostTests.ja…
GoeLin Mar 21, 2024
6359b28
8324632: Update Zlib Data Compression Library to Version 1.3.1
GoeLin Mar 21, 2024
9922f22
8314832: Few runtime/os tests ignore vm flags
GoeLin Mar 21, 2024
d554437
8315663: Open source misc awt tests
Mar 22, 2024
6700a49
8312383: Log X509ExtendedKeyManager implementation class name in TLS/…
Mar 22, 2024
56ed749
8327059: os::Linux::print_proc_sys_info add swappiness information
MBaesken Mar 25, 2024
b4d22f6
8326960: GHA: RISC-V sysroot cannot be debootstrapped due to ongoing …
shipilev Mar 25, 2024
d74ef51
8260540: serviceability/jdwp/AllModulesCommandTest.java failed with "…
GoeLin Mar 25, 2024
432210b
8280546: Remove hard-coded 127.0.0.1 loopback address
GoeLin Mar 25, 2024
791be77
8328705: GHA: Cross-compilation jobs do not require build JDK
shipilev Mar 25, 2024
533e1b1
8328948: GHA: Restoring sysroot from cache skips the build after JDK-…
shipilev Mar 26, 2024
6926000
8315708: Enhance HTTP/2 client usage
Jan 30, 2024
5153875
8318340: Improve RSA key implementations
Feb 5, 2024
07873cc
8322122: Enhance generation of addresses
martinuy Feb 9, 2024
91ac085
8328825: Google CAInterop test failures
shipilev Mar 27, 2024
f52725d
8280056: gtest/LargePageGtests.java#use-large-pages failed "os.releas…
GoeLin Mar 27, 2024
b293856
8323994: gtest runner repeats test name for every single gtest assertion
Mar 28, 2024
f6c87d8
8326661: sun/java2d/cmm/ColorConvertOp/ColConvTest.java assumes profi…
Mar 28, 2024
0dce546
8295944: Move the Http2TestServer and related classes into a package …
GoeLin Mar 28, 2024
9b9573f
8213714: AttachingConnector/attach/attach001 failed due to "bind fail…
GoeLin Mar 28, 2024
422cb09
Add purity annotations to `Pattern.java`
mernst Mar 28, 2024
a6180f7
8327998: Enable java/lang/ProcessBuilder/JspawnhelperProtocol.java on…
elifaslan1 Mar 28, 2024
ba77d0b
8275868: ciReplay: Inlining fails with "unloaded signature classes" d…
GoeLin Mar 29, 2024
d2df108
8286045: Use ForceGC for cleaner test cases
gnu-andrew Mar 29, 2024
4ced080
8276227: ciReplay: SIGSEGV if classfile for replay compilation is not…
GoeLin Mar 29, 2024
e82d936
8328812: Update and move siphash license
Apr 1, 2024
45de685
8320005: Allow loading of shared objects with .a extension on AIX
Apr 1, 2024
1e777ec
8328165: improve assert(idx < _maxlrg) failed: oob
MBaesken Apr 1, 2024
b37df14
8163921: HttpURLConnection default Accept header is malformed accordi…
GoeLin Apr 1, 2024
b4e64ff
8296137: diags-examples.xml is broken
GoeLin Apr 1, 2024
e59eeb0
8297645: Drop the test/jdk/java/net/httpclient/reactivestreams-tck-te…
GoeLin Apr 1, 2024
7680369
8296610: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthentic…
GoeLin Apr 1, 2024
8e132c4
8163229: several regression tests have a main method that is never ex…
GoeLin Apr 1, 2024
615c01b
8297292: java/nio/channels/FileChannel/FileExtensionAndMap.java is to…
GoeLin Apr 1, 2024
996dfb0
8305943: Open source few AWT Focus related tests
Apr 2, 2024
151091c
8305942: Open source several AWT Focus related tests
Apr 2, 2024
4ececad
8306714: Open source few Swing event and AbstractAction tests
Apr 2, 2024
5ecac7a
8280377: MethodHandleProxies does not correctly invoke default method…
Delawen Apr 2, 2024
78f482d
8318727: Enable parallelism in vmTestbase/vm/gc/concurrent tests
elifaslan1 Apr 2, 2024
08debe8
8306040: HttpResponseInputStream.available() returns 1 on empty stream
Apr 2, 2024
7ced722
8326529: JFR: Test for CompilerCompile events fails due to time out
roberttoyonaga Apr 2, 2024
d29fe03
8325254: CKA_TOKEN private and secret keys are not necessarily sensitive
franferrax Apr 2, 2024
ad94e70
8275334: Move class loading Events to a separate section in hs_err files
MBaesken Apr 3, 2024
4cdf296
8296190: TestMD5Intrinsics and TestMD5MultiBlockIntrinsics don't test…
GoeLin Apr 3, 2024
8210811
8302512: Update IANA Language Subtag Registry to Version 2023-02-14
GoeLin Apr 3, 2024
e948504
8298939: Refactor open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest…
GoeLin Apr 3, 2024
7a9e984
8294137: Review running times of java.math tests
GoeLin Apr 3, 2024
ae3aa72
8304761: Update IANA Language Subtag Registry to Version 2023-03-22
GoeLin Apr 3, 2024
e877941
8309630: Clean up tests that reference deploy modules
GoeLin Apr 3, 2024
9f6b099
8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
GoeLin Apr 3, 2024
109e022
8319851: Improve exception logging
martinuy Feb 21, 2024
7a47adf
8290126: Add a check in JavadocTester for "javadoc should not crash"
GoeLin Apr 4, 2024
e913fa7
8303457: Introduce convenience test library APIs for creating test se…
GoeLin Apr 4, 2024
9a0e875
8307411: Test java/foreign/channels/TestAsyncSocketChannels.java fail…
GoeLin Apr 4, 2024
fbcb399
8326140: src/jdk.accessibility/windows/native/libjavaaccessbridge/Acc…
MBaesken Apr 5, 2024
1b72e51
8325862: set -XX:+ErrorFileToStderr when executing java in containers…
MBaesken Apr 5, 2024
e789a67
8325876: crashes in docker container tests on Linuxppc64le Power8 mac…
MBaesken Apr 5, 2024
3764735
8295026: Remove unused fields in StyleSheet
GoeLin Apr 5, 2024
261e45a
8306031: Update IANA Language Subtag Registry to Version 2023-04-13
GoeLin Apr 5, 2024
b96339f
8308021: Update IANA Language Subtag Registry to Version 2023-05-11
GoeLin Apr 5, 2024
31ba7e0
8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java…
GoeLin Apr 5, 2024
533fac6
8328638: Fallback option for POST-only OCSP requests
shipilev Apr 5, 2024
1c40f89
8329836: [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for …
RealCLanger Apr 8, 2024
989e0bf
8310818: Refactor more Locale tests to use JUnit
GoeLin Apr 8, 2024
62e6dfa
8313702: Update IANA Language Subtag Registry to Version 2023-08-02
GoeLin Apr 8, 2024
7217328
8315652: RISC-V: Features string uses wrong separator for jtreg
zifeihan Apr 9, 2024
cb1a03c
8325432: enhance assert message "relocation addr must be in this sect…
MBaesken Apr 9, 2024
c430b11
8305645: System Tray icons get corrupted when Windows primary monitor…
Apr 9, 2024
fc01ffe
8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-…
Apr 9, 2024
c758755
8315834: Open source several Swing JSpinner related tests
Apr 9, 2024
85e3f1a
8316608: Enable parallelism in vmTestbase/gc/vector tests
roy-soumadipta Apr 11, 2024
1ae82df
8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gp…
RealCLanger Apr 11, 2024
00a1fe9
8297695: Fix typos in test/langtools files
GoeLin Apr 11, 2024
ca08689
8304927: Update java/net/httpclient/BasicAuthTest.java to check basic…
GoeLin Apr 11, 2024
99aa1ca
8309409: Update HttpInputStreamTest and BodyProcessorInputStreamTest …
GoeLin Apr 11, 2024
f6c003a
8309527: Improve test proxy performance
GoeLin Apr 11, 2024
3460807
8318322: Update IANA Language Subtag Registry to Version 2023-10-16
GoeLin Apr 11, 2024
ed9c128
8329823: RISC-V: Need to sync CPU features with related JVM flags
zifeihan Apr 11, 2024
5bd1672
Begin annotating `StringBuilder.java` for the Side Effects Only Checker
jyoo980 Apr 15, 2024
f1fdbf7
Finish annotating `StringBuilder.java` for Side Effects Only Checker
jyoo980 Apr 15, 2024
cf93baf
8328540: test javax/swing/JSplitPane/4885629/bug4885629.java fails on…
Apr 16, 2024
53853c4
8286311: remove boilerplate from use of runTests
GoeLin Apr 16, 2024
592e2c6
8223696: java/net/httpclient/MaxStreams.java failed with didn't finis…
GoeLin Apr 16, 2024
7cabe84
8327631: Update IANA Language Subtag Registry to Version 2024-03-07
GoeLin Apr 16, 2024
cacc30b
8326643: JDK server does not send a dummy change_cipher_spec record a…
GoeLin Apr 16, 2024
290fb64
8328988: [macos14] Problem list LightweightEventTest.java which fails…
GoeLin Apr 16, 2024
30ea06c
Merge
GoeLin Apr 17, 2024
10e0cfa
8316164: Opensource JMenuBar manual test
Apr 18, 2024
36f4e73
8316017: Refactor timeout handler in PassFailJFrame
Apr 18, 2024
30a9a21
8326936: RISC-V: Shenandoah GC crashes due to incorrect atomic memory…
zifeihan Apr 19, 2024
d4512fe
8295343: sun/security/pkcs11 tests fail on Linux RHEL 8.6 and newer
Apr 19, 2024
ed419ef
8318599: HttpURLConnection cache issues leading to crashes in JGSS w/…
Apr 19, 2024
5b656c8
8319048: Monitor deflation unlink phase prolongs time to safepoint
shipilev Apr 19, 2024
701f2f5
Update annos
jyoo980 Apr 20, 2024
c741b35
8281658: Add a security category to the java -XshowSettings option
Apr 22, 2024
e806430
8322858: compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to…
GoeLin Apr 22, 2024
776e10a
8303972: (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF…
GoeLin Apr 22, 2024
cb32c82
8306067: Open source AWT Graphics,GridBagLayout related tests
Apr 23, 2024
fce34e7
8315824: Open source several Swing Text/HTML related tests
Apr 23, 2024
20f2432
8316154: Opensource JTextArea manual tests
Apr 23, 2024
3f1c854
8326006: Allow TEST_VM_FLAGLESS to set flagless mode
Apr 23, 2024
80273fa
8316242: Opensource SwingGraphics manual test
Apr 23, 2024
7d19575
8315741: Open source few swing JFormattedTextField and JPopupMenu tests
Apr 23, 2024
fbd0088
8306634: Open source AWT Event related tests
Apr 23, 2024
94caa64
8187759: Background not refreshed when painting over a transparent JF…
Apr 23, 2024
c3438a5
8305874: Open source AWT Key, Text Event related tests
Apr 23, 2024
2d27c94
8315071: Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to u…
Apr 23, 2024
aa9c12b
8315609: Open source few more swing text/html tests
Apr 23, 2024
9912666
8302069: javax/management/remote/mandatory/notif/NotifReconnectDeadlo…
Apr 23, 2024
f70558d
8283349: Robustness improvements to java/util/prefs/AddNodeChangeList…
Apr 23, 2024
5c7c234
Add `@SideEffectsOnly("this")` anno to `Iterator.next()`
jyoo980 Apr 24, 2024
10b427d
8329570: G1: Excessive is_obj_dead_cond calls in verification
shipilev Apr 25, 2024
3324133
8318854: [macos14] Running any AWT app prints Secure coding warning
Apr 25, 2024
b13cb2f
8263940: NPE when creating default file system when default file syst…
Apr 25, 2024
bcc83cd
8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter …
shipilev Apr 26, 2024
3f5e536
8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Exp…
roberttoyonaga Apr 26, 2024
54e0120
8301753: AppendFile/WriteFile has differences between make 3.81 and 4+
Apr 26, 2024
48d645e
Apply CF updates
jyoo980 Apr 26, 2024
0e0489d
Apply formatting to README.md
jyoo980 Apr 26, 2024
9b55b7c
Merge branch 'master' into yoo/side-effects-only
jyoo980 Apr 26, 2024
9b2f521
8159927: Add a test to verify JMOD files created in the images do not…
Apr 28, 2024
e51f176
8324733: [macos14] Problem list tests which fail due to macOS bug des…
Apr 28, 2024
71630eb
8327989: java/net/httpclient/ManyRequest.java should not use "localho…
Apr 28, 2024
9682314
8318809: java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java sho…
Apr 28, 2024
52d1f0c
8329013: StackOverflowError when starting Apache Tomcat with signed jar
Apr 28, 2024
4cec951
8315889: Open source several Swing HTMLDocument related tests
Apr 28, 2024
032e87a
8327136: javax/management/remote/mandatory/notif/NotifReconnectDeadlo…
Apr 28, 2024
b7c7ea0
8328194: Add a test to check default rendering engine
mrserb Apr 29, 2024
aea8e4a
8264322: Generate CDS archive when creating custom JDK image
MBaesken Apr 29, 2024
e9a088d
8331113: createJMHBundle.sh support configurable maven repo mirror
Apr 29, 2024
cb15a15
8330156: RISC-V: Range check auipc + signed 12 imm instruction
robehn Apr 29, 2024
51502b9
8328168: Epsilon: Premature OOM when allocating object larger than un…
shipilev Apr 29, 2024
47ad3b4
8273774: CDSPluginTest should only expect classes_nocoops.jsa exists …
MBaesken Apr 30, 2024
c3ed264
8272916: Copyright year was modified unintentionally in jlink.propert…
MBaesken Apr 30, 2024
025969c
8326521: JFR: CompilerPhase event test fails on windows 32 bit
roberttoyonaga Apr 30, 2024
32bf1f4
8325579: Inconsistent behavior in com.sun.jndi.ldap.Connection::creat…
RealCLanger May 4, 2024
68a2d93
8330094: RISC-V: Save and restore FRM in the call stub
zifeihan May 5, 2024
d2982c6
8331641: [17u]: Bump GHA bootstrap JDK to 17.0.11
RealCLanger May 6, 2024
e974897
8298413: [s390] CPUInfoTest fails due to uppercase feature string
offamitkumar May 8, 2024
5a3c668
8272315: Improve assert_different_registers
TheRealMDoerr May 8, 2024
e552509
8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java from problem list
RealCLanger May 9, 2024
97cc177
8042380: Test javax/swing/JFileChooser/4524490/bug4524490.java fails …
May 10, 2024
4504b16
8280113: (dc) DatagramSocket.receive does not always throw when the c…
GoeLin May 10, 2024
8f68f8f
8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowme…
acmoraru May 10, 2024
d125cc2
Annotate lambda parameter of `Iterable.forEach` with`@NonLeaked`
jyoo980 May 11, 2024
fcaecfe
Annotate `Record.java`
mernst May 11, 2024
20c2511
8309890: TestStringDeduplicationInterned.java waits for the wrong con…
acmoraru May 13, 2024
16579f8
8297445: PPC64: Represent Registers as values
TheRealMDoerr May 13, 2024
606c542
8326201: [S390] Need to bailout cleanly if creation of stubs fails wh…
offamitkumar May 13, 2024
ce1fb02
8311964: Some jtreg tests failing on x86 with error 'unrecognized VM …
May 13, 2024
bf4b15c
8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alia…
May 13, 2024
f789e38
8307423: [s390x] Represent Registers as values
offamitkumar May 13, 2024
3afbd0f
Annotate `Map.forEach` lambda parameter with `@NonLeaked`
jyoo980 May 13, 2024
e2791f3
8286490: JvmtiEventControllerPrivate::set_event_callbacks CLEARING_MA…
May 13, 2024
8f0fa10
8267796: vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/hs201t002/TestD…
May 14, 2024
e0dba38
8280835: jdk/javadoc/tool/CheckManPageOptions.java depends on source …
May 14, 2024
d2b9c01
8302907: [PPC64] Use more constexpr in class Register
TheRealMDoerr May 14, 2024
68caeca
8326591: New test JmodExcludedFiles.java fails on Windows when --with…
May 14, 2024
6b98ceb
Make StringJoiner constructors `@SideEffectFree`
mernst May 14, 2024
db04c7b
8299023: TestPLABResize.java and TestPLABPromotion.java are failing i…
May 16, 2024
0a3445e
8331942: On Linux aarch64, CDS archives should be using 64K alignment…
tstuefe May 16, 2024
18bb8da
8305819: LogConfigurationTest intermittently fails on AArch64
May 16, 2024
98038b3
8330523: Reduce runtime and improve efficiency of KeepAliveTest
RealCLanger May 16, 2024
2440b24
8319268: Build failure with GCC8.3.1 after 8313643
May 16, 2024
d17fa03
8328997: Remove unnecessary template parameter lists in GrowableArray
May 16, 2024
261ad5e
8331352: error: template-id not allowed for constructor/destructor in…
May 16, 2024
fed9693
8330815: Use pattern matching for instanceof in KeepAliveCache
RealCLanger May 16, 2024
0e524e2
8324243: Compilation failures in java.desktop module with gcc 14
May 17, 2024
95f8dc0
8316138: Add GlobalSign 2 TLS root certificates
Delawen May 17, 2024
6264c70
8273153: Consolidate file_exists into os:file_exists
elifaslan1 May 22, 2024
e00211b
8321107: Add more test cases for JDK-8319372
May 23, 2024
a632247
8319338: tools/jpackage/share/RuntimeImageTest.java fails with -XX:+U…
May 23, 2024
a640001
8312194: test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.ja…
May 23, 2024
4071b8c
8286781: Replace the deprecated/obsolete gethostbyname and inet_addr …
fitzsim May 23, 2024
196d23c
Locking annotations on `StringJoiner`
mernst May 24, 2024
060c250
8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method
shipilev May 27, 2024
6c3a188
8320681: [macos] Test tools/jpackage/macosx/MacAppStoreJlinkOptionsTe…
May 27, 2024
69e6736
8314835: gtest wrappers should be marked as flagless
May 28, 2024
d1e31f6
8289643: File descriptor leak with ProcessBuilder.startPipeline
rkmauryaa May 28, 2024
f4da0e7
8329223: Parallel: Parallel GC resizes heap even if -Xms = -Xmx
May 28, 2024
0cfee92
8294699: Launcher causes lingering busy cursor
TheRealMDoerr May 28, 2024
c9d83d3
8325203: System.exit(0) kills the launched 3rd party application
TheRealMDoerr May 29, 2024
535fc22
Annotate `Enum#name()` with `@Pure`
jyoo980 Jun 6, 2024
864c229
Enable debugging
mernst Jun 7, 2024
2491638
Break up cftests job into multiple steps
mernst Jun 20, 2024
43353a2
Remove trailing blank line
mernst Jun 20, 2024
b060f83
Update from upstream
mernst Jun 20, 2024
3590dfb
Improve instructions
mernst Jun 20, 2024
c5d66ef
Fix reference to README.md file
mernst Jun 21, 2024
09e5c7b
Merge from upstream
mernst Jun 21, 2024
c1c9011
8334441: Mark tests in jdk_security_infra group as manual
Jun 25, 2024
550b857
Non-Empty Checker
jyoo980 Jun 25, 2024
f1bd447
Non-Empty Checker annotations
mernst Jun 25, 2024
300156f
Augment README
mernst Jun 26, 2024
a7b856b
Merge ../jdk-branch-master
mernst Jun 26, 2024
52ad643
Merge ../jdk17u-fork-openjdk
mernst Jun 26, 2024
d6eafc1
Remove duplicate variable
mernst Jul 4, 2024
8db7fae
Don't use `--filter=blob:none`
mernst Jul 5, 2024
5ceaadd
Purity annotations
mernst Jul 5, 2024
2b17b85
Don't use `--filter=blob:none`
mernst Jul 5, 2024
b11c834
Merge ../jdk-branch-master into yoo/side-effects-only
mernst Jul 5, 2024
25709e3
Merge ../jdk-branch-master into yoo/side-effects-only
mernst Jul 5, 2024
27ccc4f
jul.Properties get should be nullable
agentgt Jul 6, 2024
7c94506
Diagnostics about cloning and updating jdk17u
mernst Jul 7, 2024
fd7576e
StackWalker can take a nullable producing function
agentgt Jul 7, 2024
647efb9
Merge ../jdk-branch-master into yoo/side-effects-only
mernst Jul 7, 2024
30a33ab
`forEach` is not side-effect-free
mernst Jul 8, 2024
f717f9e
`hasNext()` is `@Pure`, `next()` is `@SideEffectsOnly("this")`
mernst Jul 8, 2024
937c99b
Merge ../jdk-fork-mernst-branch-more-side-effects-only into more-side…
mernst Jul 8, 2024
d7c65fb
Update `checker-qual.jar`
mernst Jul 8, 2024
2e645d3
Fix capitalization
mernst Jul 8, 2024
de2924d
Add JDK annotations for the Side Effects Only Checker
jyoo980 Jul 9, 2024
d3f0077
Grammar fix
mernst Jul 10, 2024
7e1236e
Merge ../jdk-fork-typetools into more-side-effects-only
mernst Jul 10, 2024
b3141fa
Grammar fix
mernst Jul 10, 2024
49144c9
No annotations in `java.compiler`
mernst Jul 10, 2024
ae145f8
Merge ../jdk-fork-mernst-branch-more-side-effects-only into more-side…
mernst Jul 10, 2024
8102a4d
More `@SideEffectsOnly` annotations
mernst Jul 14, 2024
1316d5c
More `@SideEffectsOnly` annotations
mernst Jul 14, 2024
08c1a64
Merge https://github.com/typetools/jdk
mernst Jul 15, 2024
cc328de
Merge https://github.com/typetools/jdk17u into jdk17u
wmdietl Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
46 changes: 46 additions & 0 deletions .github/actions/config/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

name: 'Config'
description: 'Read JDK Configuration Variables'
inputs:
var:
description: 'The name of the variable to read'
required: true
outputs:
value:
description: 'The value of the configuration variable'
value: ${{ steps.read-config.outputs.value }}

runs:
using: composite
steps:
- name: 'Read configuration variable from repo'
id: read-config
run: |
# Extract value from configuration file
value="$(grep -h ${{ inputs.var }}= make/conf/github-actions.conf | cut -d '=' -f 2-)"
echo "value=$value" >> $GITHUB_OUTPUT
shell: bash
80 changes: 80 additions & 0 deletions .github/actions/do-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

name: 'Do build'
description: 'Build the JDK using make'
inputs:
make-target:
description: 'Make target(s)'
required: true
platform:
description: 'Platform name'
required: true
debug-suffix:
description: 'File name suffix denoting debug level, possibly empty'
required: false

runs:
using: composite
steps:
- name: 'Build'
id: build
run: >
make LOG=info ${{ inputs.make-target }}
|| bash ./.github/scripts/gen-build-failure-report.sh "$GITHUB_STEP_SUMMARY"
shell: bash

- name: 'Check for failure'
id: check
run: |
# Check for failure marker file
build_dir="$(ls -d build/*)"
if [[ -e $build_dir/build-failure ]]; then
# Collect relevant log files
mkdir failure-logs
cp \
$build_dir/spec.gmk \
$build_dir/build.log \
$build_dir/configure.log \
$build_dir/make-support/failure-summary.log \
$build_dir/make-support/failure-logs/* \
failure-logs/ 2> /dev/null || true
echo 'failure=true' >> $GITHUB_OUTPUT
fi
shell: bash

- name: 'Upload build logs'
uses: actions/upload-artifact@v4
with:
name: failure-logs-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: failure-logs
if: steps.check.outputs.failure == 'true'

# This is the best way I found to abort the job with an error message
- name: 'Notify about build failures'
uses: actions/github-script@v7
with:
script: core.setFailed('Build failed. See summary for details.')
if: steps.check.outputs.failure == 'true'
109 changes: 109 additions & 0 deletions .github/actions/get-bootjdk/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
#
# Copyright (c) 2022, 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

name: 'Get BootJDK'
description: 'Download the BootJDK from cache or source location'
inputs:
platform:
description: 'Platform'
required: true
outputs:
path:
description: 'Path to the installed BootJDK'
value: ${{ steps.path-name.outputs.path }}

runs:
using: composite
steps:
- name: 'Determine platform prefix'
id: platform-prefix
run: |
# Convert platform name to upper case
platform_prefix="$(echo ${{ inputs.platform }} | tr [a-z-] [A-Z_])"
echo "value=$platform_prefix" >> $GITHUB_OUTPUT
shell: bash

- name: 'Get URL configuration'
id: url
uses: ./.github/actions/config
with:
var: ${{ steps.platform-prefix.outputs.value}}_BOOT_JDK_URL

- name: 'Get SHA256 configuration'
id: sha256
uses: ./.github/actions/config
with:
var: ${{ steps.platform-prefix.outputs.value}}_BOOT_JDK_SHA256

- name: 'Get file extension configuration'
id: ext
uses: ./.github/actions/config
with:
var: ${{ steps.platform-prefix.outputs.value}}_BOOT_JDK_EXT

- name: 'Check cache for BootJDK'
id: get-cached-bootjdk
uses: actions/cache@v4
with:
path: bootjdk/jdk
key: boot-jdk-${{ inputs.platform }}-${{ steps.sha256.outputs.value }}

# macOS is missing sha256sum
- name: 'Install sha256sum'
run: |
# Run Homebrew installation
brew install coreutils
shell: bash
if: steps.get-cached-bootjdk.outputs.cache-hit != 'true' && runner.os == 'macOS'

- name: 'Download BootJDK'
run: |
# Download BootJDK and verify checksum
mkdir -p bootjdk/jdk
mkdir -p bootjdk/unpacked
wget --progress=dot:mega -O bootjdk/jdk.${{ steps.ext.outputs.value }} '${{ steps.url.outputs.value }}'
echo '${{ steps.sha256.outputs.value }} bootjdk/jdk.${{ steps.ext.outputs.value }}' | sha256sum -c >/dev/null -
shell: bash
if: steps.get-cached-bootjdk.outputs.cache-hit != 'true'

- name: 'Unpack BootJDK'
run: |
# Unpack the BootJDK and move files to a common location
if [[ '${{ steps.ext.outputs.value }}' == 'tar.gz' ]]; then
tar -xf bootjdk/jdk.${{ steps.ext.outputs.value }} -C bootjdk/unpacked
else
unzip -q bootjdk/jdk.${{ steps.ext.outputs.value }} -d bootjdk/unpacked
fi
jdk_root="$(dirname $(find bootjdk/unpacked -name bin -type d))"
mv "$jdk_root"/* bootjdk/jdk/
shell: bash
if: steps.get-cached-bootjdk.outputs.cache-hit != 'true'

- name: 'Export path to where BootJDK is installed'
id: path-name
run: |
# Export the absolute path
echo "path=`pwd`/bootjdk/jdk" >> $GITHUB_OUTPUT
shell: bash
109 changes: 109 additions & 0 deletions .github/actions/get-bundles/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
#
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

name: 'Get bundles'
description: 'Download resulting JDK bundles'
inputs:
platform:
description: 'Platform name'
required: true
debug-suffix:
description: 'File name suffix denoting debug level, possibly empty'
required: false
outputs:
jdk-path:
description: 'Path to the installed JDK bundle'
value: ${{ steps.path-name.outputs.jdk }}
symbols-path:
description: 'Path to the installed symbols bundle'
value: ${{ steps.path-name.outputs.symbols }}
tests-path:
description: 'Path to the installed tests bundle'
value: ${{ steps.path-name.outputs.tests }}

runs:
using: composite
steps:
- name: 'Download bundles artifact'
id: download-bundles
uses: actions/download-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles
continue-on-error: true

- name: 'Download bundles artifact (retry)'
uses: actions/download-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles
if: steps.download-bundles.outcome == 'failure'

- name: 'Unpack bundles'
run: |
if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip ]]; then
echo 'Unpacking jdk bundle...'
mkdir -p bundles/jdk
unzip -q bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip -d bundles/jdk
fi

if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
echo 'Unpacking jdk bundle...'
mkdir -p bundles/jdk
tar -xf bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz -C bundles/jdk
fi

if [[ -e bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
echo 'Unpacking symbols bundle...'
mkdir -p bundles/symbols
tar -xf bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz -C bundles/symbols
fi

if [[ -e bundles/tests-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
echo 'Unpacking tests bundle...'
mkdir -p bundles/tests
tar -xf bundles/tests-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz -C bundles/tests
fi
shell: bash

- name: 'Export paths to where bundles are installed'
id: path-name
run: |
# Export the paths

jdk_dir="$GITHUB_WORKSPACE/$(dirname $(find bundles/jdk -name bin -type d))"
symbols_dir="$GITHUB_WORKSPACE/$(dirname $(find bundles/symbols -name bin -type d))"
tests_dir="$GITHUB_WORKSPACE/bundles/tests"

if [[ '${{ runner.os }}' == 'Windows' ]]; then
jdk_dir="$(cygpath $jdk_dir)"
symbols_dir="$(cygpath $symbols_dir)"
tests_dir="$(cygpath $tests_dir)"
fi

echo "jdk=$jdk_dir" >> $GITHUB_OUTPUT
echo "symbols=$symbols_dir" >> $GITHUB_OUTPUT
echo "tests=$tests_dir" >> $GITHUB_OUTPUT
shell: bash
Loading
Loading