Compare commits

..

266 Commits

Author SHA1 Message Date
Andreas Stadelmeier
fe94a7a48c Set ANDI to JAVA-TX 2025-03-12 18:16:30 +01:00
Andreas Stadelmeier
79068453d2 Merge branch 'master' of ssh://gitea.hb.dhbw-stuttgart.de:2222/stan/jdk-24 2025-01-15 12:52:11 +01:00
Andreas Stadelmeier
07aecbc72c Merge branch 'master' of https://git.openjdk.org/jdk 2024-12-12 15:01:58 +01:00
Hannes Wallnöfer
f71d515026 8345777: Improve sections for inherited members
Reviewed-by: prappo
2024-12-12 13:28:58 +00:00
Hannes Wallnöfer
b8bb51e1f3 8345908: Class links should be properly spaced
Reviewed-by: prappo
2024-12-12 13:14:17 +00:00
Coleen Phillimore
ef6e987a00 8346040: Zero interpreter build on Linux Aarch64 is broken
Reviewed-by: kbarrett, dholmes
2024-12-12 12:48:06 +00:00
Magnus Ihse Bursie
f7f07b94c5 8345804: Update copyright year to 2024 for langtools in files where it was missed
Reviewed-by: rgiulietti, jlahoda
2024-12-12 12:06:27 +00:00
Jan Lahoda
1bdb7b4271 8345622: test/langtools/tools/javac/annotations/parameter/ParameterAnnotations.java should set processorpath to work correctly in the agentvm mode
Reviewed-by: darcy, liach
2024-12-12 11:59:45 +00:00
Maurizio Cimadamore
0ad64234e2 8345944: JEP 492: extending local class in a different static context should not be allowed
8345953: JEP 492: instantiating local classes in a different static context should not be allowed

Reviewed-by: vromero
2024-12-12 10:49:35 +00:00
Amit Kumar
68aa4d44ff 8346063: java/lang/Thread/virtual/Starvation.java missing @requires vm.continuations
Reviewed-by: alanb, vklang
2024-12-12 10:04:09 +00:00
Amit Kumar
77e493226d 8344026: Ubsan: prevent potential integer overflow in c1_LIRGenerator_<arch>.cpp file
Reviewed-by: aph, epeter, mdoerr
2024-12-12 09:51:56 +00:00
Kevin Walls
3f2556b860 8345984: Remove redundant checkXXX methods from java.management Util class
Reviewed-by: alanb, mchung, cjplummer, sspitsyn
2024-12-12 09:16:06 +00:00
David Holmes
ceb4366ebf 8345955: Deprecate the UseOprofile flag with a view to removing the legacy oprofile support in the VM
Reviewed-by: iklam, shade
2024-12-12 07:53:38 +00:00
Saagar Jha
72c59de615 8345876: Update nativeAddAtIndex comment to match the code
Reviewed-by: azvegint, aivanov, psadhukhan, kizune
2024-12-12 03:20:42 +00:00
Quan Anh Mai
75cfb640a6 8310691: [REDO] [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: psandoz, jbhateja, epeter
2024-12-12 03:08:37 +00:00
Xiaolong Peng
4da6fd4283 8345423: Shenandoah: Parallelize concurrent cleanup
Reviewed-by: ysr, kdnilsen, wkemper
2024-12-12 01:08:31 +00:00
David Holmes
ec219ae56f 8346039: [BACKOUT] - [C1] LIR Operations with one input should be implemented as LIR_Op1
Reviewed-by: kvn, mdoerr
2024-12-12 00:04:19 +00:00
Jiangli Zhou
05c5678886 8345959: Make JVM_IsStaticallyLinked JVM_LEAF
Reviewed-by: ihse
2024-12-11 23:45:49 +00:00
Magnus Ihse Bursie
64fad1c7d3 8345797: Update copyright year to 2024 for client-libs in files where it was missed
Reviewed-by: psadhukhan
2024-12-11 21:29:30 +00:00
Magnus Ihse Bursie
ddf0461788 8345799: Update copyright year to 2024 for core-libs in files where it was missed
Reviewed-by: joehw, jlu, mli, lancea, kevinw
2024-12-11 21:08:22 +00:00
Magnus Ihse Bursie
cbab40bce4 8345683: Remove special flags for files compiled for static libraries
Reviewed-by: erikj
2024-12-11 21:01:20 +00:00
Kim Barrett
08bdeedfd3 8345269: Fix -Wzero-as-null-pointer-constant warnings in ppc code
Reviewed-by: mdoerr, mbaesken
2024-12-11 19:37:01 +00:00
Andrey Turbanov
e4a34e96cd 8345616: Unnecessary Hashtable usage in javax.swing.text.html.parser.Element
Reviewed-by: aivanov, azvegint
2024-12-11 18:22:23 +00:00
Brian Burkhalter
cce5808d7a 8345421: (bf) Create specific test for temporary direct buffers and the buffer size limit
Reviewed-by: alanb
2024-12-11 17:57:22 +00:00
Ivan Šipka
cf0e1aa066 8345335: Add excluded jdk_foreign tests to manual group
Reviewed-by: jvernee
2024-12-11 16:33:44 +00:00
Quan Anh Mai
2c4567a689 8342651: Refactor array constant to use an array of jbyte
Reviewed-by: thartmann, kvn
2024-12-11 15:59:39 +00:00
theoweidmannoracle
72c6daf1b1 8346007: Incorrect copyright header in UModLNodeIdealizationTests.java
Reviewed-by: thartmann
2024-12-11 15:21:28 +00:00
Qizheng Xing
cc47918445 8345040: Clean up unused variables and code in generate_native_wrapper
Reviewed-by: mli, dfenacci, kvn
2024-12-11 15:11:46 +00:00
Stefan Karlsson
c34b87c52b 8345659: Fix broken alignment after ReservedSpace splitting in GC code
Reviewed-by: ayang, aboldtch
2024-12-11 15:09:36 +00:00
Sonia Zaldana Calles
e294899154 8345647: Fix recent NULL usage backsliding in Shenandoah
Reviewed-by: shade, jwaters, mli
2024-12-11 14:40:03 +00:00
theoweidmannoracle
d381d581bf 8332268: C2: Add missing optimizations for UDivI/L and UModI/L and unify the shared logic with the signed nodes
Reviewed-by: chagedorn, thartmann, epeter, qamai
2024-12-11 14:30:59 +00:00
Roland Westrelin
45c914c3ad 8343607: C2: Shenandoah crashes during barrier expansion in Continuation::enter
Reviewed-by: shade
2024-12-11 13:48:03 +00:00
Martin Doerr
a21d21f4d7 8345609: [C1] LIR Operations with one input should be implemented as LIR_Op1
Reviewed-by: rrich, goetz
2024-12-11 12:50:24 +00:00
Stefan Karlsson
2382a2de96 8345661: Simplify page size alignment in code heap reservation
Reviewed-by: dholmes, thartmann
2024-12-11 12:22:00 +00:00
Stefan Karlsson
076bfa688c 8345656: Move os alignment functions out of ReservedSpace
Reviewed-by: dholmes
2024-12-11 11:53:25 +00:00
Stefan Karlsson
2826838389 8345658: WB_NMTCommitMemory redundantly records an NMT tag
Reviewed-by: dholmes, jsjolen
2024-12-11 11:49:19 +00:00
Magnus Ihse Bursie
c9ec2716a5 8345800: Update copyright year to 2024 for serviceability in files where it was missed
Reviewed-by: dholmes, cjplummer
2024-12-11 10:40:19 +00:00
Magnus Ihse Bursie
8e0f929ecf 8345805: Update copyright year to 2024 for other files where it was missed
Reviewed-by: dholmes, mli, mullan
2024-12-11 10:39:08 +00:00
Adam Sotona
f88c1c6ff8 8345773: Class-File API debug printing capability
Reviewed-by: liach, mcimadamore
2024-12-11 07:58:26 +00:00
theoweidmannoracle
e88e793cfd 8343148: C2: Refactor uses of "PhaseValue::*con*() + PhaseIdealLoop::set_ctrl()" into separate method
Reviewed-by: kvn, chagedorn, thartmann
2024-12-11 07:52:06 +00:00
Kim Barrett
1e9204fa43 8345273: Fix -Wzero-as-null-pointer-constant warnings in s390 code
Reviewed-by: jwaters, aph, amitkumar
2024-12-11 04:47:44 +00:00
Prasanta Sadhukhan
c40140eb9c 8334581: Remove no-arg constructor BasicSliderUI()
Reviewed-by: abhiscxk, aivanov, azvegint
2024-12-11 04:00:01 +00:00
Prasanta Sadhukhan
8de0622c3a 8345767: javax/swing/JSplitPane/4164779/JSplitPaneKeyboardNavigationTest.java fails in ubuntu22.04
Reviewed-by: honkar, dnguyen
2024-12-11 03:49:16 +00:00
Vicente Romero
abcd23f4d6 8334756: javac crashed on call to non-existent generic method with explicit annotated type arg
Reviewed-by: abimpoudis
2024-12-11 02:12:23 +00:00
Alex Menkov
2ddaa46054 8305010: Test vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java timed out: thread not suspended
Reviewed-by: cjplummer, lmesnik, sspitsyn
2024-12-11 01:37:31 +00:00
Damon Nguyen
c6317191e3 8343170: java/awt/Cursor/JPanelCursorTest/JPanelCursorTest.java does not show the default cursor
Reviewed-by: honkar, azvegint, achung
2024-12-10 23:52:23 +00:00
Jasmine Karthikeyan
29d648c642 8341781: Improve Min/Max node identities
Reviewed-by: chagedorn
2024-12-10 22:32:19 +00:00
Kevin Driver
4c39e9faa0 8344924: Default CA certificates loaded despite request to use custom keystore
Reviewed-by: ascarpino
2024-12-10 20:49:13 +00:00
Chen Liang
0f035545e5 8342469: Improve API documentation for java.lang.classfile.instruction
Reviewed-by: asotona, darcy
2024-12-10 20:34:12 +00:00
Nizar Benalla
9bd70ec806 8345888: Broken links in the JDK 24 JavaDoc API documentation, build 27
Reviewed-by: psadhukhan
2024-12-10 18:25:32 +00:00
Leonid Mesnik
1def2d82ac 8345700: tier{1,2,3}_compiler don't cover all compiler tests
Reviewed-by: dholmes, shade
2024-12-10 17:40:06 +00:00
Leonid Mesnik
d6b5264c3f 8345746: Remove :resourcehogs/compiler from :hotspot_slow_compiler
Reviewed-by: kvn
2024-12-10 15:53:51 +00:00
Roger Riggs
4f855d1342 8345818: Fix SM cleanup of parsing of System property resource.bundle.debug
Reviewed-by: lancea, eirbjo
2024-12-10 15:16:58 +00:00
Hamlin Li
a24b08fcb0 8345669: RISC-V: fix client build failure due to AlignVector after JDK-8343827
Reviewed-by: fyang, luhenry
2024-12-10 14:39:29 +00:00
Manjunath Matti
25d9deb1a3 8335367: [s390] Add support for load immediate on condition instructions.
Reviewed-by: lucy, amitkumar
2024-12-10 14:15:15 +00:00
Coleen Phillimore
a6277bb521 8340212: -Xshare:off -XX:CompressedClassSpaceBaseAddress=0x40001000000 crashes on macos-aarch64
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: iklam, stuefe
2024-12-10 12:27:30 +00:00
Pavel Rappo
165fd848c1 8342987: Update --release 24 symbol information for JDK 24 build 27
Reviewed-by: darcy, iris
2024-12-10 10:03:36 +00:00
Per Minborg
06c44dd568 8345465: Fix performance regression on x64 after JDK-8345120
Reviewed-by: mcimadamore
2024-12-10 10:01:27 +00:00
Magnus Ihse Bursie
2979806c72 8345795: Update copyright year to 2024 for hotspot in files where it was missed
Reviewed-by: dholmes, tschatzl, dnsimon, sspitsyn
2024-12-10 08:47:46 +00:00
Albert Mingkun Yang
7e73c436ef 8345217: Parallel: Refactor PSParallelCompact::next_src_region
Reviewed-by: tschatzl, sjohanss, zgu
2024-12-10 08:28:36 +00:00
David Holmes
7d3a4049d5 8339019: Obsolete the UseLinuxPosixThreadCPUClocks flag
Reviewed-by: ccheung, kbarrett
2024-12-10 07:43:34 +00:00
Jiangli Zhou
a606836a02 8345744: Use C++ LINK_TYPE with SetupBuildLauncher in StaticLibs.gmk
Reviewed-by: ihse
2024-12-09 21:37:39 +00:00
Magnus Ihse Bursie
fe0173ddef 8345803: Update copyright year to 2024 for security in files where it was missed
Reviewed-by: mullan
2024-12-09 21:03:37 +00:00
Artur Barashev
2207749c89 8344629: SSLSocketNoServerHelloClientShutdown test timeout
Reviewed-by: wetmore
2024-12-09 20:56:59 +00:00
Ioi Lam
0b9e749f54 8345390: [ubsan] systemDictionaryShared.cpp:964: member call on null pointer
Reviewed-by: mbaesken, kbarrett
2024-12-09 20:35:54 +00:00
Michael McMahon
eff20a38c7 8345794: Backout doc change introduced by JDK-8235786
Reviewed-by: dfuchs
2024-12-09 20:24:41 +00:00
Alexandre Iline
48e22ba772 8345693: Update JCov for class file version 69
Reviewed-by: ihse
2024-12-09 19:43:55 +00:00
Roland Westrelin
cc628a133e 8345287: C2: live in computation is broken
Reviewed-by: kvn, dlong, rcastanedalo
2024-12-09 16:43:16 +00:00
Daniel Skantz
480b508cf2 8345156: C2: Add bailouts next to a few asserts
Reviewed-by: kvn, epeter
2024-12-09 16:29:56 +00:00
Magnus Ihse Bursie
b120404620 8345793: Update copyright year to 2024 for the build system in files where it was missed
Reviewed-by: kbarrett, erikj
2024-12-09 15:53:48 +00:00
Scott Marlow
7aa0cbc91d 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces
Reviewed-by: liach
2024-12-09 14:59:59 +00:00
Eric Caspole
35c00532a1 8345405: Add JMH showing the regression in 8341649
Reviewed-by: redestad, coleenp
2024-12-09 14:59:05 +00:00
Erik Joelsson
166c12771d 8345726: Update mx in RunTestPrebuiltSpec to reflect change in JDK-8345302
Reviewed-by: ihse
2024-12-09 14:05:57 +00:00
Kim Barrett
e821d599c8 8345589: Simplify Windows definition of strtok_r
Reviewed-by: dholmes, jwaters
2024-12-09 13:54:31 +00:00
Matthew Donovan
153dc6d843 8345133: Test sun/security/tools/jarsigner/TsacertOptionTest.java failed: Warning found in stdout
Reviewed-by: hchao, mullan
2024-12-09 13:20:26 +00:00
Fabian Meumertzheim
d7ef3ac0b7 8345684: OperatingSystemMXBean.getSystemCpuLoad() throws NPE
Reviewed-by: dholmes, kevinw, sgehwolf
2024-12-09 12:12:50 +00:00
Andrew Haley
830173fcb0 8344068: Windows x86-64: Out of CodeBuffer space when generating final stubs
Reviewed-by: kvn, vlivanov
2024-12-09 11:05:25 +00:00
SendaoYan
69e664de14 8345632: [ASAN] memory leak in get_numbered_property_as_sorted_string function
Reviewed-by: ccheung, dholmes
2024-12-09 03:38:41 +00:00
Leonid Mesnik
842b363879 8345698: Remove tier1_compiler_not_xcomp from github actions
Reviewed-by: syan, liach
2024-12-09 02:43:54 +00:00
Sorna Sarathi
458979d83a 8344611: Add missing classpath exception
Reviewed-by: amitkumar, iris
2024-12-09 02:05:59 +00:00
David Holmes
83ea0133dd 8345629: Remove expired flags in JDK 25
Reviewed-by: kvn, coleenp
2024-12-08 23:27:31 +00:00
Hamlin Li
c517ffba7d 8339910: RISC-V: crc32 intrinsic with carry-less multiplication
Reviewed-by: rehn, luhenry
2024-12-07 09:56:15 +00:00
Brent Christian
e0d6398783 8344575: Examine usage of ReflectUtil.forName() in java.sql.rowset - XmlReaderContentHandler
Reviewed-by: lancea, mchung, alanb, liach
2024-12-06 21:18:35 +00:00
Leonid Mesnik
470701f0bb 8340969: jdk/jfr/startupargs/TestStartDuration.java should be marked as flagless
Reviewed-by: syan, egahlin
2024-12-06 18:42:07 +00:00
Hannes Wallnöfer
573bcb6180 8345664: Use simple parameter type names in @link and @see tags
Reviewed-by: liach
2024-12-06 16:39:08 +00:00
Chen Liang
4966419550 8334733: Remove obsolete @enablePreview from tests after JDK-8334714
Reviewed-by: mchung, asotona
2024-12-06 14:25:03 +00:00
Evgeny Nikitin
0e2a285277 8344833: CTW: Make failing on zero classes optional
Reviewed-by: thartmann, kvn
2024-12-06 14:19:15 +00:00
Daniel Gredler
f6021a9c34 8344668: Unnecessary array allocations and copying in TextLine
Reviewed-by: honkar, azvegint, prr
2024-12-06 13:07:35 +00:00
Roland Westrelin
874d68a96c 8343747: C2: TestReplicateAtConv.java crashes with -XX:MaxVectorSize=8
Reviewed-by: epeter, kvn
2024-12-06 09:19:55 +00:00
Roland Westrelin
d9a22139fb 8345299: C2: some nodes can still have incorrect control after do_range_check()
Reviewed-by: chagedorn, kvn
2024-12-06 09:18:46 +00:00
Kim Barrett
2286fae300 8345159: RISCV: Fix -Wzero-as-null-pointer-constant warning in emit_static_call_stub
Reviewed-by: mli, rehn
2024-12-06 06:32:03 +00:00
Prasanta Sadhukhan
84032850db 8268145: [macos] Rendering artifacts is seen when text inside the JTable with TableCellEditor having JTextfield
Reviewed-by: kizune, abhiscxk, honkar
2024-12-06 03:19:13 +00:00
Leonid Mesnik
aa3828447c 8345435: Eliminate tier1_compiler_not_xcomp group
Reviewed-by: kvn
2024-12-06 01:33:22 +00:00
David Holmes
9284602ecb 8345628: [BACKOUT] JDK-8287122 Use gcc12 -ftrivial-auto-var-init=pattern in debug builds
Reviewed-by: erikj
2024-12-06 00:45:04 +00:00
Magnus Ihse Bursie
41c8971cbc 8287122: Use gcc12 -ftrivial-auto-var-init=pattern in debug builds
Reviewed-by: erikj
2024-12-05 22:58:40 +00:00
Magnus Ihse Bursie
5da0eee3a6 8285692: Enable _FORTIFY_SOURCE=2 when building with Clang
Reviewed-by: erikj
2024-12-05 22:57:06 +00:00
Magnus Ihse Bursie
daa2ba52a3 8339622: Regression in make open-hotspot-xcode-project
Reviewed-by: mcimadamore, erikj
2024-12-05 21:53:53 +00:00
Magnus Ihse Bursie
6f6bce56fc 8344559: Log is spammed by missing pandoc warnings when building man pages
Reviewed-by: shade, erikj
2024-12-05 21:53:36 +00:00
Magnus Ihse Bursie
5f30a8d90c 8345424: Move FindDebuginfoFiles out of FileUtils.gmk
Reviewed-by: erikj
2024-12-05 21:53:18 +00:00
Matias Saavedra Silva
bf0debc023 8343890: SEGV crash in RunTimeClassInfo::klass
Reviewed-by: iklam, ccheung
2024-12-05 20:08:31 +00:00
Y. Srinivas Ramakrishna
a97dca52c9 8344593: GenShen: Review of ReduceInitialCardMarks
Reviewed-by: shade, cslucas
2024-12-05 19:46:39 +00:00
William Kemper
bedb68aba1 8342444: Shenandoah: Uncommit regions from a separate, STS aware thread
Reviewed-by: shade, kdnilsen, ysr
2024-12-05 17:55:23 +00:00
Kim Barrett
dbf48a53ec 8344665: Refactor PartialArrayState allocation for reuse
Reviewed-by: tschatzl, ayang, iwalulya, zgu
2024-12-05 17:43:48 +00:00
Pavel Rappo
5cc150c636 8342979: Start of release updates for JDK 25
8342982: Add SourceVersion.RELEASE_25
8342983: Add source 25 and target 25 to javac

Co-authored-by: Joe Darcy <darcy@openjdk.org>
Reviewed-by: iris, darcy, erikj, dholmes
2024-12-05 17:03:27 +00:00
Matthias Baesken
85fedbf668 8344607: Link Time Optimization - basic support for clang
Reviewed-by: lucy, jkern, ihse
2024-12-05 16:44:18 +00:00
Erik Joelsson
5a0899fc09 8345302: Building microbenchmarks require larger Java heap
Reviewed-by: shade, mcimadamore
2024-12-05 16:17:17 +00:00
Calvin Cheung
1ece4f9d93 8345514: Should use internal class name when calling ClassLoader.getResourceAsByteArray
Reviewed-by: iklam, matsaave
2024-12-05 15:40:12 +00:00
Kim Barrett
ef8da28487 8345591: [aarch64] macroAssembler_aarch64.cpp compile fails ceil_log2 not declared
Reviewed-by: coleenp, alanb, syan
2024-12-05 15:31:43 +00:00
Gerard Ziemski
7513b1378d 8328944: NMT reports "unknown" memory
Reviewed-by: jsjolen, coleenp
2024-12-05 15:28:30 +00:00
Alan Bateman
691e692149 8345565: Remove remaining SecurityManager motivated APIs from sun.reflect.util
Reviewed-by: mullan, rriggs, liach
2024-12-05 15:22:00 +00:00
Erik Gahlin
97b8a09bda 8345339: JFR: Missing javadoc for RecordingStream::onMetadata
Reviewed-by: nbenalla, liach
2024-12-05 14:50:30 +00:00
Thomas Stuefe
456c71d1ff 8343699: [aarch64] Bug in MacroAssembler::klass_decode_mode()
Reviewed-by: adinn, coleenp
2024-12-05 14:07:39 +00:00
Weijun Wang
308357cba7 8345578: New test in JDK-8343622 fails with a promoted build
Reviewed-by: mullan
2024-12-05 13:15:26 +00:00
Aleksey Shipilev
84240cc8e0 8344831: [REDO] CDS: Parallel relocation
Reviewed-by: dholmes, stuefe
2024-12-05 12:37:54 +00:00
Doug Lea
92e9ac6dc7 8345294: test/jdk/java/lang/Thread/virtual/RetryMonitorEnterWhenPinned.java timeout with JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: alanb
2024-12-05 12:15:58 +00:00
Martin Doerr
b42d79eb6a 8345146: [PPC64] Make intrinsic conversions between bit representations of half precision values and floats
Reviewed-by: rrich, lucy
2024-12-05 12:03:53 +00:00
Prasanta Sadhukhan
7ee84d8f70 8345566: Deproblemlist test/jdk/javax/swing/JComboBox/6559152/bug6559152.java
Reviewed-by: tr
2024-12-05 11:51:46 +00:00
Jaikiran Pai
01307a7baf 8341551: Revisit jdk.internal.loader.URLClassPath.JarLoader after JEP 486
Reviewed-by: dfuchs, lancea, rriggs, alanb
2024-12-05 11:19:38 +00:00
Christian Stein
bcd1018585 8344540: Remove superseded wildcard description from java manpage
Reviewed-by: dholmes, jpai
2024-12-05 10:15:05 +00:00
Raffaello Giulietti
f3807d6a84 8345403: Add more randomized tests to better cover FloatingDecimal parsing
Reviewed-by: darcy
2024-12-05 09:50:28 +00:00
Andrey Turbanov
3b7571d378 8345398: Avoid redundant Properties.containsKey call in Cursor.getSystemCustomCursor
Reviewed-by: aivanov, prr
2024-12-05 09:07:15 +00:00
Weijun Wang
ca46c3a5ba 8343622: AesDkCrypto.stringToKey should not return null
Reviewed-by: valeriep
2024-12-05 08:36:18 +00:00
Prasanta Sadhukhan
e46d822aeb 8345547: test/jdk/javax/swing/text/DefaultEditorKit/4278839/bug4278839.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-05 07:29:42 +00:00
Robbin Ehn
2331782cf7 8345179: RISC-V: Add gtests for weak cmpxchg
Reviewed-by: fyang, mli
2024-12-05 07:25:05 +00:00
Ioi Lam
7c8cec186a 8345224: Test runtime/cds/appcds/applications/JavacBench.java#dynamic fails after JDK-8344822
Reviewed-by: matsaave, ccheung
2024-12-05 05:20:40 +00:00
Chris Plummer
77cfcee8a1 8345422: Fix JNI Checker "in native method" warnings in the debug agent and debugger tests
8344804: Test serviceability/jdwp/AllModulesCommandTest.java times out after JNI check warning

Reviewed-by: amenkov, dholmes
2024-12-05 03:33:50 +00:00
Amit Kumar
67a7b0049d 8345355: [s390x] support for z16 hardware
Reviewed-by: lucy, aph
2024-12-05 03:08:36 +00:00
Matias Saavedra Silva
9c3d3b9540 8345503: Test EnableNativeAccessCDS.java fails with TEST_THREAD_FACTORY=Virtual
Reviewed-by: lmesnik, iklam, syan
2024-12-05 02:32:03 +00:00
Weijun Wang
fb95a53944 8345533: Switch ML-DSA implementation to FIPS 204 final
Reviewed-by: bperez, jnimeh
2024-12-05 01:27:10 +00:00
Jaikiran Pai
63d095169a 8345153: Clean up SecurityManager references from jdk.compiler module
Reviewed-by: alanb, jlahoda, darcy
2024-12-05 01:24:29 +00:00
Archie Cobbs
7a0cc79668 8345438: Invalid error for return in early construction context lambda
Reviewed-by: vromero, mcimadamore
2024-12-04 23:17:54 +00:00
Archie Cobbs
bcebb0c53c 8341495: JShell crashes with java.util.MissingFormatArgumentException
Reviewed-by: jlahoda
2024-12-04 23:16:50 +00:00
Alexey Semenyuk
ba158edd81 8334319: Missing keys in jpackage resource bundle
Reviewed-by: naoto, almatvee
2024-12-04 22:41:55 +00:00
Stuart Marks
8a3c100c54 8344461: Additional cleanup in NewThreadAction
8344867: Cleanup unneeded qualified exports to java.rmi

Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Reviewed-by: rriggs
2024-12-04 22:34:51 +00:00
Ben Perez
f904480a49 8345512: Remove wrapper functions for intrinsics in PQC algorithms
Reviewed-by: weijun
2024-12-04 22:01:10 +00:00
Aleksei Efimov
8d19a560d0 8340359: Remove javax.naming.Context.APPLET
Reviewed-by: jpai
2024-12-04 21:37:53 +00:00
Patricio Chilano Mateo
c113f82f78 8343957: Rename ObjectMonitor::owner_from() and JavaThread::_lock_id
Reviewed-by: coleenp, dholmes
2024-12-04 21:25:38 +00:00
Brian Burkhalter
ea73e05852 8345181: (ch) Windows asynchronous channels may return temporary direct buffers to the buffer cache twice (win)
Reviewed-by: alanb, michaelm
2024-12-04 20:59:14 +00:00
Justin Lu
ee0f88c901 8341923: java.util.Locale class specification improvements
Reviewed-by: liach, naoto
2024-12-04 20:57:26 +00:00
Alex Menkov
a72cab8c47 8345148: Fix for JDK-8337317 is incomplete
Reviewed-by: lmesnik, cjplummer
2024-12-04 20:48:17 +00:00
Magnus Ihse Bursie
1a73c76d83 8345524: CHECK_FOR_FILES should properly handle directories
Reviewed-by: erikj
2024-12-04 20:43:47 +00:00
Brian Burkhalter
1d3dcdf2d6 8345433: (fs) Use stream to load FileTypeDetectors in Files.probeContentType
Reviewed-by: rriggs, alanb, aturbanov
2024-12-04 20:25:52 +00:00
Alexey Semenyuk
9740c1df6f 8333572: Update jpackage.md with info related to WiX v4 and v5 support
Reviewed-by: almatvee
2024-12-04 20:07:00 +00:00
Sean Mullan
de3a218a28 8345502: Remove doIntersectionPrivilege methods
Reviewed-by: weijun
2024-12-04 19:17:51 +00:00
Alexey Ivanov
faa109e8d4 8340580: Characters in Document diagrams not in the middle
Move text in Document-{insert,remove}.svg by 0.5 of pixel

Reviewed-by: azvegint, kizune
2024-12-04 18:52:07 +00:00
Ioi Lam
6aa7667e9d 8339535: JVM crashes with -Xshare:dump -XX:+SegmentedCodeCache
Reviewed-by: ccheung, dholmes, kvn
2024-12-04 18:45:35 +00:00
Jatin Bhateja
e1695f6c40 8345472: Fix incorrect format instruction for floating point max/min patterns
Reviewed-by: kvn
2024-12-04 18:27:37 +00:00
Magnus Ihse Bursie
baa6957b9b 8345507: Fix build of static launcher
Reviewed-by: erikj
2024-12-04 17:51:04 +00:00
Chen Liang
79eb77b782 8345486: Reevaluate the classes in java.lang.classfile.components package
Reviewed-by: mcimadamore, asotona
2024-12-04 17:30:01 +00:00
Aleksey Shipilev
f3b4350e0f 8345219: C2: x86_64 should not go to interpreter stubs for NaNs handling
Reviewed-by: epeter, kvn
2024-12-04 16:37:38 +00:00
Volkan Yazıcı
16ef6e2a18 8344229: Revisit SecurityManager usage in jdk.httpserver after JEP 486 integration
Reviewed-by: dfuchs
2024-12-04 15:38:17 +00:00
Prasanta Sadhukhan
923321cfb1 8345447: test/jdk/javax/swing/JToolBar/4529206/bug4529206.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-04 15:35:27 +00:00
Prasanta Sadhukhan
6f30762356 8345468: test/jdk/javax/swing/JScrollBar/4865918/bug4865918.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-04 15:34:11 +00:00
Aggelos Biboudis
6c1ed0bb69 8345474: Translation for instanceof is not triggered when patterns are not used in the compilation unit
Reviewed-by: mcimadamore
2024-12-04 14:32:47 +00:00
Kevin Walls
bd6d911cbe 8344177: Remove SecurityManager and related calls from java.management
Reviewed-by: dfuchs
2024-12-04 14:23:08 +00:00
Per Minborg
39cdadfb6a 8345186: Incorrect @throws doc for MemorySegment::getString
Reviewed-by: mcimadamore, jvernee
2024-12-04 14:17:00 +00:00
Alexey Ivanov
6fa5cea984 8341982: Simplify JButton/bug4323121.java
Reviewed-by: abhiscxk, honkar, dnguyen, achung
2024-12-04 13:29:53 +00:00
Sean Mullan
e13206d3a1 8345065: Cleanup DomainCombiner, SubjectDomainCombiner, Subject, and PrivilegedAction specifications
Reviewed-by: weijun
2024-12-04 12:44:23 +00:00
Aleksey Shipilev
4000e923e8 8343704: Bad GC parallelism with processing Cleaner queues
Reviewed-by: bchristi, vklang, ogillespie, kdnilsen
2024-12-04 11:36:23 +00:00
Aleksei Efimov
0c7451ae5a 8332686: InetAddress.ofLiteral can throw StringIndexOutOfBoundsException
Reviewed-by: dfuchs, jpai
2024-12-04 11:34:41 +00:00
Jan Lahoda
56d315da48 8343540: Report preview error for inherited effectively-preview methods
Reviewed-by: vromero
2024-12-04 09:47:40 +00:00
Fredrik Bredberg
994504c3e1 8329351: Add runtime/Monitor/TestRecursiveLocking.java for recursive Java monitor stress testing
Co-authored-by: Daniel D. Daugherty <dcubed@openjdk.org>
Reviewed-by: dcubed, coleenp, aboldtch
2024-12-04 09:32:33 +00:00
Jaikiran Pai
3d49665b85 8345286: Remove use of SecurityManager API from misc areas
Reviewed-by: alanb, kevinw, sgehwolf
2024-12-04 09:23:57 +00:00
Tom Rodriguez
38927fc590 8343213: TEST_BUG: [Graal] java/lang/ref/Basic.java fails
Reviewed-by: mchung
2024-12-04 08:31:55 +00:00
Matthias Baesken
cf1eb58d67 8344935: [ubsan]: javaThread.hpp:1241:52: runtime error: load of value 9831830, which is not a valid value for type 'freeze_result'
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: rrich, pchilanomate
2024-12-04 08:11:33 +00:00
Matthias Baesken
943aa033ae 8345404: [ppc64le] ProblemList TestAllocOutOfMemory.java#large
Reviewed-by: mdoerr
2024-12-04 08:06:58 +00:00
Robbin Ehn
9e2b66fb0f 8345178: RISC-V: Add gtests for narrow cmpxchg
Reviewed-by: fyang, mli
2024-12-04 07:53:30 +00:00
Richard Reingruber
4c33caa185 8344609: Check ResourceMark nesting when allocating a GrowableArray on an alternative ResourceArea
Reviewed-by: dholmes, mdoerr
2024-12-04 07:26:34 +00:00
Jaikiran Pai
4b92816743 8345375: Improve debuggability of test/jdk/java/net/Socket/CloseAvailable.java
Reviewed-by: cstein, dfuchs
2024-12-04 06:36:54 +00:00
Jan Lahoda
e15912b804 8345248: Module name 'transitive' not accepted for requires transitive
Reviewed-by: vromero
2024-12-04 06:02:08 +00:00
Prasanta Sadhukhan
521ed72b87 8345357: test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-04 04:28:06 +00:00
Joe Wang
447f8d4996 8345353: Test for JDK-8344800 W3C DTDs and XSDs in the built-in Catalog
Reviewed-by: rriggs, lancea
2024-12-04 03:48:24 +00:00
Amit Kumar
43b337eb43 8344304: [s390x] ubsan: negation of -2147483648 cannot be represented in type 'int'
Reviewed-by: lucy, dlong
2024-12-04 03:44:41 +00:00
Joe Wang
7ec36bb783 8343001: Adjust XSLT and XPath Extension Function Property
Reviewed-by: rriggs, lancea
2024-12-04 02:28:06 +00:00
Fei Yang
c143138a35 8345351: RISC-V: Rename macro-assembler routine cmpxchg_weak to weak_cmpxchg
Reviewed-by: rehn, mli
2024-12-04 01:45:16 +00:00
Chris Plummer
42378970e1 8345341: Fix incorrect log message in JDI stop002t test
Reviewed-by: amenkov, lmesnik
2024-12-04 00:15:30 +00:00
Weijun Wang
82e8aa62de 8345415: Rollback JDK-8301991 change on xmlsecurity_de.properties
Reviewed-by: mullan
2024-12-03 22:41:47 +00:00
Severin Gehwolf
05ee562a38 8343839: Detect patched modules and abort run-time image link early
Reviewed-by: mchung
2024-12-03 20:41:48 +00:00
Leonid Mesnik
0664b51765 8344987: Test serviceability/sa/TestJhsdbJstackPrintVMLocks.java fails: NoClassDefFoundError: jdk/test/lib/Utils
Reviewed-by: cjplummer
2024-12-03 20:32:36 +00:00
Jorn Vernee
157a4341f7 8345389: Bump missed copyright years for JDK-8336768
Reviewed-by: pminborg
2024-12-03 19:58:01 +00:00
Francisco Ferrari Bihurriet
a49f0776eb 8345221: Replace legacy with new Provider APIs in SunNativeGSS
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: weijun
2024-12-03 18:44:31 +00:00
Dmitry Markov
2be07b5f9d 8324491: Keyboard layout didn't keep its state if it was changed when dialog was active
Reviewed-by: aivanov, azvegint
2024-12-03 18:37:27 +00:00
Damon Nguyen
f37f64df8c 8343736: Test java/awt/Focus/UnaccessibleChoice/AccessibleChoiceTest.java failed: Choice can't be controlled by keyboard
Reviewed-by: honkar, abhiscxk
2024-12-03 18:18:13 +00:00
Harshitha Onkar
73b8b34a8c 8344368: IndependenceSwingTest.java and IndependenceAWTTest.java failed: Selected text & clipboard contents differs
Reviewed-by: azvegint, dnguyen, prr, kizune
2024-12-03 17:37:16 +00:00
Justin Lu
9267dfa63b 8344589: Update IANA Language Subtag Registry to Version 2024-11-19
Reviewed-by: iris, lancea, naoto
2024-12-03 17:16:09 +00:00
Dean Long
293323c3e2 8340141: C1: rework ciMethod::equals following 8338471
Reviewed-by: kvn, vlivanov
2024-12-03 17:05:49 +00:00
Chen Liang
76e874c08e 8345319: Fix the tag type in PoolEntry and AnnotationValue
Reviewed-by: asotona
2024-12-03 16:59:57 +00:00
Roman Kennke
e9f6ba0526 8345293: Fix generational Shenandoah with compact headers
Reviewed-by: shade, stuefe, ysr
2024-12-03 16:45:50 +00:00
Kim Barrett
e1910f2d19 8345397: Remove <cstdio> from g1HeapRegionRemSet.cpp
Reviewed-by: shade
2024-12-03 16:31:05 +00:00
Aleksey Shipilev
3c60f0b2bb 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed
Reviewed-by: eastigeevich, phh, aph
2024-12-03 16:28:41 +00:00
Brian Burkhalter
3eaa7615cd 8342086: FileInputStream.available() fails with "Incorrect function" for "nul" path (win)
Reviewed-by: alanb
2024-12-03 16:19:51 +00:00
Matias Saavedra Silva
60bd73a595 8342089: Require --enable-native-access to be the same between CDS dump time and run time
Reviewed-by: ccheung, dholmes
2024-12-03 16:18:38 +00:00
Viktor Klang
2be27e1545 8345393: ProblemList java/util/concurrent/locks/StampedLock/OOMEInStampedLock.java on generic-all JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: alanb
2024-12-03 15:56:32 +00:00
Coleen Phillimore
ba5093935d 8341649: Regressions with large metaspace apps after 8338526
Reviewed-by: liach, stuefe
2024-12-03 15:44:00 +00:00
Alexey Ivanov
caf053b3ad 8337287: Update image in javax.swing.text.Document.insert
Reviewed-by: serb, prr, abhiscxk
2024-12-03 15:05:13 +00:00
Alexey Ivanov
8647c00114 8342602: Remove JButton/PressedButtonRightClickTest test
Reviewed-by: dnguyen, prr
2024-12-03 15:00:47 +00:00
Roger Riggs
fcf185c8b4 8345325: SM cleanup of GetPropertyAction in java.base
Reviewed-by: alanb, lancea, naoto, mchung
2024-12-03 14:59:30 +00:00
Per Minborg
eac00f6d11 8345396: Fix headers after JDK-8345164
Reviewed-by: rriggs
2024-12-03 14:32:22 +00:00
Per Minborg
dfa5620ff3 8345164: Remove residual --enable-preview in FFM tests and benchmarks
Reviewed-by: mcimadamore, jvernee
2024-12-03 13:32:48 +00:00
Daniel Skantz
65b5a2e3e4 8345158: IGV: local scheduling should not place successors before predecessors
Reviewed-by: rcastanedalo, chagedorn
2024-12-03 13:32:28 +00:00
Jorn Vernee
8cad0431ff 8336768: Allow captureCallState and critical linker options to be combined
Reviewed-by: mcimadamore
2024-12-03 12:28:17 +00:00
Axel Boldt-Christmas
63af2f42b7 8344414: ZGC: Another division by zero in rule_major_allocation_rate
Reviewed-by: eosterlund, stefank
2024-12-03 10:42:23 +00:00
Eirik Bjørsnøs
077b8422bb 8345074: java.net.InterfaceAddress constructor could be made private
Reviewed-by: jpai
2024-12-03 09:53:37 +00:00
Aggelos Biboudis
ec93cc5098 8343932: Error when parsing qualified generic type test pattern in switch
Reviewed-by: jlahoda
2024-12-03 09:18:58 +00:00
Nizar Benalla
c330b90b9f 8343780: Add since checker tests to the Tools area modules and add missing @since to jdk.jfr
Reviewed-by: cstein, egahlin
2024-12-03 09:06:07 +00:00
Per Minborg
8dada7373f 8345120: A likely bug in StringSupport::chunkedStrlenShort
Reviewed-by: mcimadamore
2024-12-03 08:28:04 +00:00
Andrey Turbanov
659f70b370 8343418: Unnecessary Hashtable usage in CSS.htmlAttrToCssAttrMap
Reviewed-by: honkar, aivanov
2024-12-03 07:26:01 +00:00
Alan Bateman
5c8cb2edcb 8337199: Add jcmd Thread.vthread_scheduler and Thread.vthread_pollers diagnostic commands
Reviewed-by: dholmes, kevinw
2024-12-03 07:24:46 +00:00
Volkan Yazıcı
3eb5461578 8343791: Socket.connect API should document whether the socket will be closed when hostname resolution fails or another error occurs
Reviewed-by: dfuchs, alanb
2024-12-03 06:59:06 +00:00
Kim Barrett
4ac2e477b9 8343800: Cleanup definition of NULL_WORD
Reviewed-by: dholmes, kvn
2024-12-03 04:54:51 +00:00
Amit Kumar
a3b58ee5cd 8339983: [s390x] secondary_super_cache does not scale well: C1 and interpreter
Reviewed-by: lucy, aph
2024-12-03 04:06:39 +00:00
Prasanta Sadhukhan
e023addf70 8345297: test/jdk/javax/swing/Action/8133039/bug8133039.java fails in ubuntu22.04
Reviewed-by: azvegint
2024-12-03 03:19:10 +00:00
Jaikiran Pai
40ae469962 8235786: Javadoc for com/sun/net/httpserver/HttpExchange.java#setAttribute is unclear
Reviewed-by: dfuchs, michaelm
2024-12-03 02:36:14 +00:00
Jaikiran Pai
24983dd4c1 7038838: Unspecified NPE in java.net.IDN methods
Reviewed-by: liach, dfuchs
2024-12-03 02:34:20 +00:00
Phil Race
325366ee1d 8345141: Remove uses of SecurityManager in ShellFolder related classes
Reviewed-by: azvegint, honkar
2024-12-03 02:32:17 +00:00
Jaikiran Pai
d88c7b365a 8345279: Mistake in javadoc of javax.sql.rowset.BaseRowSet#setBigDecimal
Reviewed-by: darcy, lancea, iris
2024-12-03 02:31:26 +00:00
Phil Race
3f6c04247f 8345143: Remove uses of SecurityManager in the java.desktop module
Reviewed-by: azvegint, honkar
2024-12-03 00:12:50 +00:00
Chen Liang
5958463cad 8343377: Performance regression in reflective invocation of native methods
Reviewed-by: mchung
2024-12-02 23:49:57 +00:00
Ioi Lam
68b1b94d1b 8344904: Interned strings in old classes are not stored in CDS archive
Reviewed-by: dholmes, ccheung
2024-12-02 22:55:53 +00:00
William Kemper
1997e89ddf 8345346: Shenandoah: Description of ShenandoahGCMode still refers to incremental update mode
Reviewed-by: ysr
2024-12-02 22:54:53 +00:00
Joe Wang
3a3bcd53d0 8344800: Add W3C DTDs and XSDs to the JDK built-in Catalog
Reviewed-by: lancea, rriggs
2024-12-02 22:26:20 +00:00
Sean Mullan
940aa7c4cf 8344397: Remove Security Manager dependencies from java.security and sun.security packages
Reviewed-by: rriggs, hchao, weijun, alanb
2024-12-02 21:30:53 +00:00
David Holmes
3d0d0e6290 8345012: os::build_agent_function_name potentially wastes a byte when allocating the buffer
Reviewed-by: stuefe, shade
2024-12-02 20:54:58 +00:00
Joe Darcy
525f33baae 8345324: Update comment in SourceVersion for language evolution history for changes in 24
Reviewed-by: iris
2024-12-02 19:43:47 +00:00
Weijun Wang
d6a5f1bafb 8344768: Consider removing "sun.security.krb5.autodeducerealm" system property
Reviewed-by: mullan
2024-12-02 19:30:16 +00:00
Aleksey Shipilev
7c944ee6f4 8345172: x86: Some CPU feature asserts are declared as 32-bit only
Reviewed-by: dfenacci, kvn
2024-12-02 17:34:49 +00:00
Phil Race
67f18cc9ce 8345142: Remove uses of SecurityManager in Printing related classes
Reviewed-by: azvegint, psadhukhan
2024-12-02 17:31:21 +00:00
Naoto Sato
352201ddec 8343788: Provide means to alter lib/tzmappings entries on Windows
Reviewed-by: joehw
2024-12-02 17:05:32 +00:00
Jatin Bhateja
29c57e8b34 8342677: Add IR validation tests for newly added saturated vector add / sub operations
Reviewed-by: epeter
2024-12-02 16:55:33 +00:00
Sean Mullan
30b8bbe255 8345060: Remove Security Manager dependencies from java.security.KeyStore and Identity APIs and implementations
Reviewed-by: hchao, alanb, weijun
2024-12-02 15:23:47 +00:00
Magnus Ihse Bursie
1ca764454b 8339480: Build static-jdk image with a statically linked launcher
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Reviewed-by: dholmes, erikj, coleenp
2024-12-02 15:12:24 +00:00
Magnus Ihse Bursie
d589bafee3 8345218: Clean out references to windows-x86 in jib profiles
Reviewed-by: shade, dholmes, kbarrett, jwaters
2024-12-02 14:22:37 +00:00
Doug Simon
b8233989e7 8345267: Fix memory leak in JVMCIEnv dtor
Reviewed-by: simonis, kbarrett
2024-12-02 13:56:30 +00:00
Robbin Ehn
9a48e4d9d2 8345177: RISC-V: Add gtests for cmpxchg
Reviewed-by: fyang, mli
2024-12-02 13:14:20 +00:00
Volkan Yazıcı
e3b679a2f6 8345176: Add tests to verify java.net.Socket constructors close the socket on failure
Reviewed-by: dfuchs
2024-12-02 12:56:49 +00:00
Jan Lahoda
c7be41ee0c 8340133: Add concise usage message to the java executable
Reviewed-by: jpai, alanb, ihse, rriggs
2024-12-02 11:21:13 +00:00
Albert Mingkun Yang
0b0f83c01e 8345220: Serial: Refactor TenuredGeneration::promotion_attempt_is_safe
Reviewed-by: tschatzl, mli
2024-12-02 10:30:56 +00:00
Fei Yang
dfcbfb5a41 8345236: RISC-V: Remove revb_h_h_u and revb_h_w_u macro assembler routines
Reviewed-by: rehn, fjiang
2024-12-02 10:25:09 +00:00
Hannes Wallnöfer
ac2fede165 8344041: Re-enable external specs page
Reviewed-by: erikj, nbenalla, liach
2024-12-02 08:39:47 +00:00
Prasanta Sadhukhan
1c4c653168 8345247: Deproblemlist test/jdk/javax/swing/JRadioButton/8075609/bug8075609.java
Reviewed-by: abhiscxk
2024-12-02 08:14:50 +00:00
Thomas Schatzl
f5ebda4370 8345173: BlockLocationPrinter::print_location misses a ResourceMark
Reviewed-by: sjohanss, iwalulya
2024-12-02 06:32:43 +00:00
Nizar Benalla
c40b570b71 8343775: Add since checker tests to the security area modules
Reviewed-by: alanb
2024-12-01 22:59:54 +00:00
Amit Kumar
50b4cbd8a4 8345102: [s390x/ppc] ShowRegistersOnAssertTest.java fails after 8343756
Reviewed-by: mdoerr, mbaesken
2024-12-01 13:55:47 +00:00
William Kemper
28ae281b42 8337511: Implement JEP 404: Generational Shenandoah (Experimental)
Co-authored-by: Kelvin Nilsen <kdnilsen@openjdk.org>
Co-authored-by: Y. Srinivas Ramakrishna <ysr@openjdk.org>
Co-authored-by: Bernd Mathiske <bmathiske@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: rkennke, shade, phh
2024-11-29 20:53:07 +00:00
Nizar Benalla
029ace0a1b 8336041: Doccheck: the jfr command doesn't show the correct command-line options
Reviewed-by: dholmes
2024-11-29 18:25:44 +00:00
Aleksey Shipilev
2beb2b602b 8345234: Build system erroneously treats 32-bit x86 Zero as deprecated
Reviewed-by: ihse
2024-11-29 17:00:03 +00:00
Jonathan Lampérth
ed03f0d9d1 8345145: Display javap LineNumberTable and LocalVariableTable iff disassembled code output with -c or -v
Reviewed-by: mcimadamore, liach
2024-11-29 16:24:22 +00:00
Daniel Fuchs
e9136b5e08 8345223: Remove stray doPrivileged in java.base java.net and sun.net classes after JEP 486 integration
Reviewed-by: alanb, aefimov, michaelm
2024-11-29 15:58:57 +00:00
Tobias Holenstein
a80ccf2cd2 8345039: IGV: save user-defined node colors to XML
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: chagedorn, epeter, rcastanedalo
2024-11-29 15:21:39 +00:00
Tobias Holenstein
28b0f3eaa5 8343705: IGV: Interactive Node Moving in Hierarchical Layout
Reviewed-by: chagedorn, thartmann, rcastanedalo
2024-11-29 15:16:53 +00:00
Tobias Holenstein
4da7c35484 8314512: IGV: clean up hierarchical layout code
Reviewed-by: chagedorn, rcastanedalo
2024-11-29 13:53:18 +00:00
Volker Simonis
6bea1b6cf1 8344727: [JVMCI] Export the CompileBroker compilation activity mode for Truffle compiler control
Reviewed-by: dnsimon
2024-11-29 12:30:43 +00:00
Sharath TN
8858de393a 8338571: [TestBug] DefaultCloseOperation.java test not working as expected wrt instruction after JDK-8325851 fix
Reviewed-by: aivanov, dnguyen
2024-11-29 12:27:06 +00:00
Doug Lea
ece0401054 8345052: Harden StampedLock
Reviewed-by: alanb, vklang
2024-11-29 11:38:23 +00:00
Aleksey Shipilev
095e769f47 8345237: 32-bit Zero builds fail with assert(has_klass_gap()) failed: precondition
Reviewed-by: mli, jwaters, rkennke
2024-11-29 09:55:29 +00:00
Thomas Stuefe
1a7a184e41 8344293: Remove empty Test files left over from JDK-8305895
Reviewed-by: jsjolen, rkennke, shade
2024-11-29 09:54:40 +00:00
Per Minborg
f2c0d186ff 8344989: Test java/foreign/TestLinker.java failed with zero: IllegalStateException: libffi call failed with status: FFI_BAD_TYPEDEF
Reviewed-by: jvernee
2024-11-29 09:24:29 +00:00
Fei Yang
08d563ba15 8345110: RISC-V: Optimize and and clean up byte reverse assembler routines
Reviewed-by: mli, rehn
2024-11-29 07:50:14 +00:00
Aleksei Efimov
959fa4a1a3 8344299: SM cleanup in javax.naming modules
Reviewed-by: alanb, dfuchs
2024-11-28 17:43:27 +00:00
Eirik Bjørsnøs
43000a34d5 8345075: java.lang.module.ModuleDescriptor constructor could be made private
Reviewed-by: alanb
2024-11-28 17:38:07 +00:00
Kevin Walls
fd742af0b7 8344394: Remove SecurityManager and related calls from java.management.rmi
Reviewed-by: amenkov
2024-11-28 17:16:41 +00:00
Daniel Fuchs
3b21a298c2 8345175: Further cleanup in java.logging and jdk.internal.logger after JEP 486 integration
Reviewed-by: alanb, coffeys
2024-11-28 14:17:15 +00:00
Christian Hagedorn
7dc00d39b4 8345154: IGV: Show Parse and Assertion Predicate type as extra label
Reviewed-by: rcastanedalo
2024-11-28 13:58:14 +00:00
Johan Sjölen
1e086b1d73 8340103: Add internal set_flag function to VMATree
Reviewed-by: stuefe, azafari, gziemski
2024-11-28 13:15:10 +00:00
Štěpán Schejbal
db535c86bc 8313367: SunMSCAPI cannot read Local Computer certs w/o Windows elevation
Reviewed-by: weijun
2024-11-28 13:12:45 +00:00
Robbin Ehn
edfe28541a 8344306: RISC-V: Add zicond
Reviewed-by: fyang, luhenry, mli
2024-11-28 12:05:23 +00:00
3821 changed files with 86759 additions and 22400 deletions

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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
@ -66,7 +66,6 @@ jobs:
- 'hs/tier1 compiler part 1'
- 'hs/tier1 compiler part 2'
- 'hs/tier1 compiler part 3'
- 'hs/tier1 compiler not-xcomp'
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
@ -101,10 +100,6 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler not-xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
debug-suffix: -debug
- test-name: 'hs/tier1 gc'
test-suite: 'test/hotspot/jtreg/:tier1_gc'
debug-suffix: -debug

View File

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

View File

@ -863,12 +863,12 @@ href="https://www.gnu.org/software/bash">GNU Bash</a>. No other shells
are supported.</p>
<p>At least version 3.2 of GNU Bash must be used.</p>
<h3 id="graphviz-and-pandoc">Graphviz and Pandoc</h3>
<p>In order to build the full docs (see the
<p>In order to build man pages and the full docs (see the
<code>--enable-full-docs</code> configure option) <a
href="https://www.graphviz.org">Graphviz</a> and <a
href="https://pandoc.org">Pandoc</a> are required. Any recent versions
should work. For reference, and subject to change, Oracle builds use
Graphviz 9.0.0 and Pandoc 2.19.2.</p>
href="https://pandoc.org">Pandoc</a> is required. For full docs also <a
href="https://www.graphviz.org">Graphviz</a> is required. Any recent
versions should work. For reference, and subject to change, Oracle
builds use Graphviz 9.0.0 and Pandoc 2.19.2.</p>
<h2 id="running-configure">Running Configure</h2>
<p>To build the JDK, you need a "configuration", which consists of a
directory where to store the build output, coupled with information

View File

@ -680,9 +680,9 @@ At least version 3.2 of GNU Bash must be used.
### Graphviz and Pandoc
In order to build the full docs (see the `--enable-full-docs`
configure option) [Graphviz](https://www.graphviz.org) and
[Pandoc](https://pandoc.org) are required. Any recent versions should
In order to build man pages and the full docs (see the `--enable-full-docs`
configure option) [Pandoc](https://pandoc.org) is required. For full docs also
[Graphviz](https://www.graphviz.org) is required. Any recent versions should
work. For reference, and subject to change, Oracle builds use Graphviz
9.0.0 and Pandoc 2.19.2.

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 2024, 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

View File

@ -107,15 +107,13 @@ JAVA_WARNINGS_ARE_ERRORS ?= -Werror
JAVADOC_OPTIONS := -use -keywords -notimestamp \
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
-splitIndex --system none -javafx --expand-requires transitive \
--override-methods=summary \
--no-external-specs-page
--override-methods=summary
# The reference options must stay stable to allow for comparisons across the
# development cycle.
REFERENCE_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
-encoding ISO-8859-1 -breakiterator -splitIndex --system none \
-html5 -javafx --expand-requires transitive \
--no-external-specs-page
-html5 -javafx --expand-requires transitive
# Should we add DRAFT stamps to the generated javadoc?
ifeq ($(VERSION_IS_GA), true)

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2024, 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

View File

@ -29,6 +29,7 @@ include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include DebugInfoUtils.gmk
include Execute.gmk
include Modules.gmk
include Utils.gmk
@ -281,27 +282,6 @@ else
endif
CMDS_TARGET_SUBDIR := bin
# Param 1 - dir to find debuginfo files in
FindDebuginfoFiles = \
$(wildcard $(addprefix $1/*, $(DEBUGINFO_SUFFIXES)) \
$(addprefix $1/*/*, $(DEBUGINFO_SUFFIXES)) \
$(addprefix $1/*/*/*, $(DEBUGINFO_SUFFIXES)))
# Pick the correct debug info files to copy, either zipped or not.
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
DEBUGINFO_SUFFIXES += .diz
else
DEBUGINFO_SUFFIXES := .debuginfo .pdb .map
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
# dirs.
ifeq ($(call isTargetOs, macosx), true)
$(call FillFindCache, \
$(SUPPORT_OUTPUTDIR)/modules_libs $(SUPPORT_OUTPUTDIR)/modules_cmds)
FindDebuginfoFiles = \
$(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
endif
endif
# Param 1 - either JDK or JRE
SetupCopyDebuginfo = \
$(foreach m, $(ALL_$1_MODULES), \

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -454,6 +454,18 @@ $(eval $(call SetupTarget, symbols-image, \
TARGET := symbols, \
))
$(eval $(call SetupTarget, static-launcher, \
MAKEFILE := StaticLibs, \
TARGET := static-launcher, \
DEPS := hotspot-static-libs static-libs, \
))
$(eval $(call SetupTarget, static-jdk-image, \
MAKEFILE := StaticLibs, \
TARGET := static-jdk-image, \
DEPS := static-exploded-image jdk-image, \
))
$(eval $(call SetupTarget, static-libs-image, \
MAKEFILE := StaticLibsImage, \
TARGET := static-libs-image, \
@ -1086,9 +1098,9 @@ else
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
static-libs-image: hotspot-static-libs $(STATIC_LIBS_TARGETS)
static-libs-image: hotspot-static-libs static-libs
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
static-libs-graal-image: static-libs
bootcycle-images: jdk-image
@ -1254,6 +1266,8 @@ ifeq ($(call isTargetOs, macosx), true)
legacy-images: mac-legacy-jre-bundle
endif
static-exploded-image: static-launcher exploded-image
# These targets build the various documentation images
docs-jdk-image: docs-jdk
docs-javase-image: docs-javase
@ -1296,7 +1310,7 @@ endif
################################################################################
# all-images builds all our deliverables as images.
all-images: product-images test-image all-docs-images
all-images: product-images static-jdk-image test-image all-docs-images
# all-bundles packages all our deliverables as tar.gz bundles.
all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
@ -1309,7 +1323,7 @@ ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-static-libs \
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
docs-javase docs-reference docs-javadoc mac-bundles product-images legacy-images \
docs-image docs-javase-image docs-reference-image all-docs-images \
docs-bundles all-docs-bundles test-image all-images \
docs-bundles all-docs-bundles test-image all-images static-exploded-image \
all-bundles
################################################################################

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2024, 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
@ -45,6 +45,23 @@ TARGETS :=
# Include the file being wrapped.
include $(MAKEFILE_PREFIX).gmk
ifeq ($(MAKEFILE_PREFIX), Lib)
# We need to keep track of what libraries are generated/needed by this
# module. This information is required when doing static linking, to know
# which static library files to include. The variable $(MODULE)_INCLUDED_LIBS is
# added to for each call to SetupJdkLibrary. The file module-included-libs.txt is then
# read in StaticLibs.gmk.
ifneq ($($(MODULE)_INCLUDED_LIBS), )
LIBLIST := $(SUPPORT_OUTPUTDIR)/modules_static-libs/$(MODULE)/module-included-libs.txt
$(LIBLIST): $(TARGETS)
$(call MakeDir, $(@D))
$(ECHO) $($(MODULE)_INCLUDED_LIBS) > $@
TARGETS += $(LIBLIST)
endif
endif
# Setup copy rules from the modules directories to the jdk image directory.
ifeq ($(call isTargetOs, windows), true)
TO_BIN_FILTER := %$(SHARED_LIBRARY_SUFFIX) %.diz %.pdb %.map

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2024, 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

View File

@ -63,7 +63,7 @@ TEST_JOBS ?= 0
# Use hard-coded values for java flags (one size, fits all!)
JAVA_FLAGS := -Duser.language=en -Duser.country=US
JAVA_FLAGS_BIG := -Xms64M -Xmx1600M
JAVA_FLAGS_BIG := -Xms64M -Xmx2048M
JAVA_FLAGS_SMALL := -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
BUILDJDK_JAVA_FLAGS_SMALL := -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)

191
make/StaticLibs.gmk Normal file
View File

@ -0,0 +1,191 @@
#
# Copyright (c) 2024, 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.
#
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include DebugInfoUtils.gmk
include Modules.gmk
include modules/LauncherCommon.gmk
################################################################################
#
# Create the static java launcher
#
################################################################################
STATIC_JDK_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/static-jdk
STATIC_LAUNCHER_OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/static-native/launcher
HOTSPOT_STATIC_LIB_PATH := $(HOTSPOT_OUTPUTDIR)/*/libjvm/objs/static
ifneq ($(word 2, $(wildcard $(HOTSPOT_STATIC_LIB_PATH))), )
$(error Cannot perform static linking when building more than one JVM library)
endif
# Find all modules with static libraries
STATIC_LIB_MODULES := $(patsubst $(SUPPORT_OUTPUTDIR)/modules_static-libs/%, \
%, $(wildcard $(SUPPORT_OUTPUTDIR)/modules_static-libs/*))
# Filter out known broken libraries. This is a temporary measure until
# proper support for these libraries can be provided.
ifeq ($(call isTargetOs, linux), true)
# libsplashscreen has a name conflict with libawt in the function
# BitmapToYXBandedRectangles, so we exclude it for now.
BROKEN_STATIC_LIBS += splashscreen
else ifeq ($(call isTargetOs, macosx), true)
# libosxsecurity has a name conflict with libosxapp in the function
# JavaStringToNSString, so we exclude it for now.
BROKEN_STATIC_LIBS += osxsecurity
else ifeq ($(call isTargetOs, windows), true)
# libsplashscreen has a name conflict with libawt in the function
# BitmapToYXBandedRectangles, so we exclude it for now.
BROKEN_STATIC_LIBS += splashscreen
# libsspi_bridge has name conflicts with sunmscapi
BROKEN_STATIC_LIBS += sspi_bridge
# These libs define DllMain which conflict with Hotspot
BROKEN_STATIC_LIBS += awt dt_shmem dt_socket
# These libs are dependent on any of the above disabled libs
BROKEN_STATIC_LIBS += fontmanager jawt lcms net nio
endif
$(foreach module, $(STATIC_LIB_MODULES), \
$(eval LIBS_$(module) := $(filter-out $(BROKEN_STATIC_LIBS), $(shell cat \
$(SUPPORT_OUTPUTDIR)/modules_static-libs/$(module)/module-included-libs.txt))) \
)
STATIC_LIB_FILES := $(foreach module, $(STATIC_LIB_MODULES), \
$(foreach lib, $(LIBS_$(module)), \
$(SUPPORT_OUTPUTDIR)/native/$(module)/lib$(lib)/static/$(LIBRARY_PREFIX)$(lib)$(STATIC_LIBRARY_SUFFIX)))
# Add Hotspot
STATIC_LIB_FILES += $(wildcard $(HOTSPOT_STATIC_LIB_PATH)/$(LIBRARY_PREFIX)jvm$(STATIC_LIBRARY_SUFFIX))
# Figure out what external libraries are required to link these static JDK
# libraries.
LIB_FLAGS_FILES := $(addsuffix .lib-flags.txt, $(STATIC_LIB_FILES))
# Gather the lib flags from all individual libraries. There are many duplicates,
# so sort and just keep unique instances. On macOS, a common pattern is
# "-framework FooFramework", so we must make sure we keep the two words together.
EXTERNAL_LIBS := $(strip $(shell $(CAT) $(LIB_FLAGS_FILES) | \
$(SED) -e 's/-framework /-framework_/g' | $(TR) ' ' '\n' | $(SORT) -u | \
$(SED) -e 's/-framework_/-framework /g'))
ifeq ($(call isTargetOs, macosx), true)
STATIC_LIBS := $(addprefix -force_load$(SPACE), $(STATIC_LIB_FILES))
else ifeq ($(call isTargetOs, linux), true)
STATIC_LIBS := -Wl,--export-dynamic -Wl,--whole-archive $(STATIC_LIB_FILES) -Wl,--no-whole-archive
else ifeq ($(call isTargetOs, windows), true)
STATIC_LIBS := $(addprefix -wholearchive:, $(STATIC_LIB_FILES))
else
$(error Unsupported platform)
endif
$(eval $(call SetupBuildLauncher, java, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS -DENABLE_ARG_FILES, \
EXTRA_RCFLAGS := $(JAVA_RCFLAGS), \
VERSION_INFO_RESOURCE := $(JAVA_VERSION_INFO_RESOURCE), \
OPTIMIZATION := HIGH, \
STATIC_LAUNCHER := true, \
LDFLAGS := $(LDFLAGS_STATIC_JDK), \
LIBS := $(STATIC_LIBS) $(EXTERNAL_LIBS), \
LINK_TYPE := C++, \
OUTPUT_DIR := $(STATIC_LAUNCHER_OUTPUT_DIR), \
OBJECT_DIR := $(STATIC_LAUNCHER_OUTPUT_DIR), \
))
$(java): $(STATIC_LIB_FILES)
TARGETS += $(java)
JAVA_LAUNCHER := $(BUILD_LAUNCHER_java_TARGET)
static-launcher: $(java)
################################################################################
#
# Create the static-jdk image with the statically built java launcher
#
################################################################################
# Until we get proper support in jlink for generating an image with static
# builds, we need to create the image ourselves. We base it on a normal
# dynamically linked JDK image.
# All these files/dirs should be copied as-is
JDK_IMAGE_COPY_FILES := $(addprefix $(JDK_IMAGE_DIR)/, conf demo include jmods \
legal man/man1/java.1 release README)
# We need to copy some files from lib, but not the dynamic libraries themselves
ALL_LIB_FILES := $(call FindFiles, $(JDK_IMAGE_DIR)/lib)
# Remove all dynamic libraries from the list
JDK_IMAGE_COPY_LIB_FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(ALL_LIB_FILES))
# Remove all debug files from the list
ifeq ($(call isTargetOs, macosx), true)
JDK_IMAGE_COPY_LIB_FILES := $(call not-containing, .dSYM, $(JDK_IMAGE_COPY_LIB_FILES))
else
JDK_IMAGE_COPY_LIB_FILES := $(filter-out %.debuginfo %.pdb %.map, $(JDK_IMAGE_COPY_LIB_FILES))
endif
static-jdk-info:
$(call LogWarn, Creating static-jdk image)
$(eval $(call SetupCopyFiles, copy-from-jdk-image, \
SRC := $(JDK_IMAGE_DIR), \
DEST := $(STATIC_JDK_IMAGE_DIR), \
FILES := $(call FindFiles, $(JDK_IMAGE_COPY_FILES)) \
$(JDK_IMAGE_COPY_LIB_FILES), \
))
TARGETS += $(copy-from-jdk-image)
$(copy-from-jdk-image): | static-jdk-info
$(eval $(call SetupCopyFiles, copy-static-launcher, \
FILES := $(JAVA_LAUNCHER), \
DEST := $(STATIC_JDK_IMAGE_DIR)/bin, \
))
TARGETS += $(copy-static-launcher)
$(eval $(call SetupCopyFiles, copy-static-launcher-debuginfo, \
SRC := $(STATIC_LAUNCHER_OUTPUT_DIR), \
DEST := $(STATIC_JDK_IMAGE_DIR)/bin, \
FILES := $(call FindDebuginfoFiles, $(STATIC_LAUNCHER_OUTPUT_DIR)), \
))
TARGETS += $(copy-static-launcher-debuginfo)
static-jdk-image: $(copy-from-jdk-image) $(copy-static-launcher) $(copy-static-launcher-debuginfo)
TARGETS += static-jdk-image
all: $(TARGETS)
.PHONY: all static-launcher static-jdk-image

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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
@ -470,7 +470,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
# Maximum amount of heap memory.
JVM_HEAP_LIMIT_32="768"
# Running a 64 bit JVM allows for and requires a bigger heap
JVM_HEAP_LIMIT_64="1600"
JVM_HEAP_LIMIT_64="2048"
JVM_HEAP_LIMIT_GLOBAL=`expr $MEMORY_SIZE / 2`
if test "$JVM_HEAP_LIMIT_GLOBAL" -lt "$JVM_HEAP_LIMIT_32"; then
JVM_HEAP_LIMIT_32=$JVM_HEAP_LIMIT_GLOBAL

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,7 +1,7 @@
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
#
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2024, 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

View File

@ -302,7 +302,7 @@ AC_DEFUN([FLAGS_SETUP_QUALITY_CHECKS],
AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
[
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
C_O_FLAG_HIGHEST_JVM="-O3"
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
@ -311,6 +311,13 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
C_O_FLAG_DEBUG="-O0"
C_O_FLAG_DEBUG_JVM="-O0"
C_O_FLAG_NONE="-O0"
if test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
C_O_FLAG_HIGHEST_JVM="${C_O_FLAG_HIGHEST_JVM} -finline-functions"
C_O_FLAG_HIGHEST="${C_O_FLAG_HIGHEST} -finline-functions"
C_O_FLAG_HI="${C_O_FLAG_HI} -finline-functions"
fi
# -D_FORTIFY_SOURCE=2 hardening option needs optimization (at least -O1) enabled
# set for lower O-levels -U_FORTIFY_SOURCE to overwrite previous settings
if test "x$OPENJDK_TARGET_OS" = xlinux -a "x$DEBUG_LEVEL" = "xfastdebug"; then
@ -331,21 +338,6 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
C_O_FLAG_DEBUG_JVM="${C_O_FLAG_DEBUG_JVM} ${DISABLE_FORTIFY_CFLAGS}"
C_O_FLAG_NONE="${C_O_FLAG_NONE} ${DISABLE_FORTIFY_CFLAGS}"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$OPENJDK_TARGET_OS" = xaix; then
C_O_FLAG_HIGHEST_JVM="-O3 -finline-functions"
C_O_FLAG_HIGHEST="-O3 -finline-functions"
C_O_FLAG_HI="-O3 -finline-functions"
else
C_O_FLAG_HIGHEST_JVM="-O3"
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
fi
C_O_FLAG_NORM="-O2"
C_O_FLAG_DEBUG_JVM="-O0"
C_O_FLAG_SIZE="-Os"
C_O_FLAG_DEBUG="-O0"
C_O_FLAG_NONE="-O0"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
C_O_FLAG_HIGHEST_JVM="-O2 -Oy-"
C_O_FLAG_HIGHEST="-O2"
@ -648,23 +640,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# Linking is different on macOS
JVM_PICFLAG=""
fi
# Extra flags needed when building optional static versions of certain
# JDK libraries.
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(\"default\")))'"
else
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -DJNIEXPORT="
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# Disable relax-relocation to enable compatibility with older linkers
RELAX_RELOCATIONS_FLAG="-Xassembler -mrelax-relocations=no"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${RELAX_RELOCATIONS_FLAG}],
IF_TRUE: [STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS ${RELAX_RELOCATIONS_FLAG}"])
fi
AC_SUBST(STATIC_LIBS_CFLAGS)
])
################################################################################

View File

@ -192,18 +192,23 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_CPU_DEP],
# Export variables according to old definitions, prefix with $2 if present.
LDFLAGS_JDK_COMMON="$BASIC_LDFLAGS $BASIC_LDFLAGS_JDK_ONLY \
$OS_LDFLAGS $DEBUGLEVEL_LDFLAGS_JDK_ONLY ${$2EXTRA_LDFLAGS}"
$2LDFLAGS_JDKLIB="$LDFLAGS_JDK_COMMON $BASIC_LDFLAGS_JDK_LIB_ONLY \
$2LDFLAGS_JDKLIB="$LDFLAGS_JDK_COMMON \
$SHARED_LIBRARY_FLAGS $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
$2LDFLAGS_JDKEXE="$LDFLAGS_JDK_COMMON $EXECUTABLE_LDFLAGS \
${$1_CPU_EXECUTABLE_LDFLAGS} $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
$2LDFLAGS_STATIC_JDK="$BASIC_LDFLAGS $BASIC_LDFLAGS_JVM_ONLY \
$OS_LDFLAGS ${$2EXTRA_LDFLAGS} $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
$2JVM_LDFLAGS="$BASIC_LDFLAGS $BASIC_LDFLAGS_JVM_ONLY $OS_LDFLAGS $OS_LDFLAGS_JVM_ONLY \
$DEBUGLEVEL_LDFLAGS $DEBUGLEVEL_LDFLAGS_JVM_ONLY $BASIC_LDFLAGS_ONLYCXX \
$DEBUGLEVEL_LDFLAGS $DEBUGLEVEL_LDFLAGS_JVM_ONLY \
${$1_CPU_LDFLAGS} ${$1_CPU_LDFLAGS_JVM_ONLY} ${$2EXTRA_LDFLAGS} \
$REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
AC_SUBST($2LDFLAGS_JDKLIB)
AC_SUBST($2LDFLAGS_JDKEXE)
AC_SUBST($2LDFLAGS_STATIC_JDK)
AC_SUBST($2JVM_LDFLAGS)
])

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -121,7 +121,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
if test "x$DOT" != "x"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, cannot generate full docs])
AC_MSG_RESULT([no, cannot generate full docs or man pages])
FULL_DOCS_AVAILABLE=false
fi
@ -129,7 +129,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
if test "x$ENABLE_PANDOC" = "xtrue"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, cannot generate full docs])
AC_MSG_RESULT([no, cannot generate full docs or man pages])
FULL_DOCS_AVAILABLE=false
fi
@ -369,6 +369,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS"
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $GCOV_LDFLAGS"
])
AC_SUBST(GCOV_ENABLED)
@ -463,6 +464,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_ADDRESS_SANITIZER],
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $ASAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $ASAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $ASAN_LDFLAGS"
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $ASAN_LDFLAGS"
])
AC_SUBST(ASAN_ENABLED)
])
@ -496,6 +498,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_LEAK_SANITIZER],
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $LSAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $LSAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $LSAN_LDFLAGS"
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $LSAN_LDFLAGS"
])
AC_SUBST(LSAN_ENABLED)
])
@ -538,6 +541,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $UBSAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $UBSAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $UBSAN_LDFLAGS"
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $UBSAN_LDFLAGS"
])
if test "x$UBSAN_ENABLED" = xfalse; then
UBSAN_CFLAGS=""

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -666,7 +666,10 @@ AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
[
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
if test "x$OPENJDK_TARGET_CPU" = xx86; then
# Unfortunately, variants have not been parsed yet, so we have to check the configure option
# directly. Allow only the directly specified Zero variant, treat any other mix as containing
# something non-Zero.
if test "x$OPENJDK_TARGET_CPU" = xx86 && test "x$with_jvm_variants" != xzero; then
if test "x$enable_deprecated_ports" = "xyes"; then
AC_MSG_WARN([The 32-bit x86 port is deprecated and may be removed in a future release.])
else

View File

@ -429,8 +429,6 @@ LIBFFI_LIB_FILE := @LIBFFI_LIB_FILE@
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
REPRODUCIBLE_CFLAGS := @REPRODUCIBLE_CFLAGS@
STATIC_LIBS_CFLAGS := @STATIC_LIBS_CFLAGS@
JMH_CORE_JAR := @JMH_CORE_JAR@
JMH_GENERATOR_JAR := @JMH_GENERATOR_JAR@
JMH_JOPT_SIMPLE_JAR := @JMH_JOPT_SIMPLE_JAR@
@ -559,6 +557,9 @@ LDFLAGS_JDKLIB := @LDFLAGS_JDKLIB@
# LDFLAGS used to link the jdk native launchers (C-code)
LDFLAGS_JDKEXE := @LDFLAGS_JDKEXE@
# LDFLAGS used to link the static jdk library
LDFLAGS_STATIC_JDK := @LDFLAGS_STATIC_JDK@
# LDFLAGS specific to C++ linking.
LDFLAGS_CXX_JDK := @LDFLAGS_CXX_JDK@

View File

@ -575,7 +575,7 @@ AC_DEFUN([UTIL_CHECK_TYPE_directory],
if test "[x]ARG_CHECK_FOR_FILES" != "x:"; then
for file in ARG_CHECK_FOR_FILES; do
found_files=$($ECHO $(ls $1/$file 2> /dev/null))
found_files=$($ECHO $($LS -d $1/$file 2> /dev/null))
if test "x$found_files" = x; then
FAILURE="Directory $1 does not contain $file"
break

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -0,0 +1,58 @@
#
# Copyright (c) 2024, 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.
#
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including DebugInfoUtils.gmk)
endif
################################################################################
#
# Common debuginfo utility functions
#
################################################################################
################################################################################
# Find native debuginfo files in a directory
#
# Param 1 - dir to find debuginfo files in
FindDebuginfoFiles = \
$(wildcard $(addprefix $1/*, $(DEBUGINFO_SUFFIXES)) \
$(addprefix $1/*/*, $(DEBUGINFO_SUFFIXES)) \
$(addprefix $1/*/*/*, $(DEBUGINFO_SUFFIXES)))
# Pick the correct debug info files to copy, either zipped or not.
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
DEBUGINFO_SUFFIXES += .diz
else
DEBUGINFO_SUFFIXES := .debuginfo .pdb .map
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
# dirs.
ifeq ($(call isTargetOs, macosx), true)
$(call FillFindCache, \
$(SUPPORT_OUTPUTDIR)/modules_libs $(SUPPORT_OUTPUTDIR)/modules_cmds)
FindDebuginfoFiles = \
$(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
endif
endif

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 2024, 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

View File

@ -275,6 +275,8 @@ JDK_RCFLAGS=$(RCFLAGS) \
# and EXTRA_HEADER_DIRS will be added.
# JDK_LIBS_<os> or JDK_LIBS_<osType> -- additional JDK_LIBS for the given OS
# or OS type only
# ONLY_EXPORTED -- if true, this library will be flagged as not
# to be included for this module when building static libs
# EXTRA_RCFLAGS -- additional RCFLAGS to append.
# RC_FILEDESC -- override the default FILEDESC for Windows version.rc
# DEFAULT_LIBCXX -- if false, do not add LIBCXX to LIBS for C++ compilations
@ -303,6 +305,15 @@ define SetupJdkNativeCompilationBody
$1_RC_FTYPE := 0x2L
endif
ifneq ($$(MODULE), )
# Record the fact that this native library is part of the current module
# (unless told otherwise). This variable stores information about all
# created libraries, and is read by ModuleWrapper.
ifneq ($$($1_ONLY_EXPORTED), true)
$$(MODULE)_INCLUDED_LIBS += $$($1_NAME)
endif
endif
ifeq ($$($1_OUTPUT_DIR), )
ifneq ($$(MODULE), )
ifeq ($$($1_TYPE), STATIC_LIBRARY)
@ -422,10 +433,10 @@ define SetupJdkNativeCompilationBody
ifneq ($$($1_DEFAULT_LDFLAGS), false)
ifeq ($$($1_TYPE), EXECUTABLE)
# Set the default flags first to be able to override
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKEXE)) $$($1_LDFLAGS)
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKEXE) $$($1_LDFLAGS))
else
# Set the default flags first to be able to override
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKLIB)) $$($1_LDFLAGS)
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKLIB) $$($1_LDFLAGS))
endif
endif

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2024, 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

View File

@ -1,4 +1,4 @@
# Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -62,6 +62,7 @@ JAVA_MANIFEST := $(TOPDIR)/src/java.base/windows/native/launcher/java.manifest
# OPTIMIZATION Override default optimization level (LOW)
# OUTPUT_DIR Override default output directory
# VERSION_INFO_RESOURCE Override default Windows resource file
# STATIC_LAUNCHER If true, will use settings for building a static launcher
SetupBuildLauncher = $(NamedParamsMacroTemplate)
define SetupBuildLauncherBody
# Setup default values (unless overridden)
@ -120,6 +121,15 @@ define SetupBuildLauncherBody
$1_EXTRA_FILES += $(TOPDIR)/make/data/lsan/lsan_default_options.c
endif
ifneq ($$($1_STATIC_LAUNCHER), true)
$1_JDK_LIBS := java.base:libjli
$1_JDK_LIBS_windows := java.base:libjava
else
ifneq ($(findstring $(TOOLCHAIN_TYPE), gcc clang), )
$1_LDFLAGS_FILTER_OUT := -Wl$(COMMA)--exclude-libs$(COMMA)ALL
endif
endif
##############################################################################
## Build launcher "$1"
##############################################################################
@ -140,8 +150,9 @@ define SetupBuildLauncherBody
LDFLAGS := $$($1_LDFLAGS), \
LDFLAGS_linux := $$(call SET_EXECUTABLE_ORIGIN,/../lib), \
LDFLAGS_macosx := $$(call SET_EXECUTABLE_ORIGIN,/../lib), \
JDK_LIBS := java.base:libjli, \
JDK_LIBS_windows := java.base:libjava, \
LDFLAGS_FILTER_OUT := $$($1_LDFLAGS_FILTER_OUT), \
JDK_LIBS := $$($1_JDK_LIBS), \
JDK_LIBS_windows := $$($1_JDK_LIBS_windows), \
LIBS := $$($1_LIBS), \
LIBS_unix := $(LIBZ_LIBS), \
LIBS_linux := $(LIBDL) -lpthread, \
@ -149,7 +160,9 @@ define SetupBuildLauncherBody
-framework ApplicationServices \
-framework Cocoa \
-framework Security, \
LINK_TYPE := $$($1_LINK_TYPE), \
OUTPUT_DIR := $$($1_OUTPUT_DIR), \
OBJECT_DIR := $$($1_OBJECT_DIR), \
VERSIONINFO_RESOURCE := $$($1_VERSION_INFO_RESOURCE), \
EXTRA_RCFLAGS := $$($1_EXTRA_RCFLAGS), \
MANIFEST := $(JAVA_MANIFEST), \
@ -180,9 +193,7 @@ ifeq ($(call isTargetOsType, unix)+$(MAKEFILE_PREFIX), true+Launcher)
MAN_FILES_MD := $(wildcard $(addsuffix /*.md, $(call FindModuleManDirs, $(MODULE))))
ifneq ($(MAN_FILES_MD), )
ifeq ($(ENABLE_PANDOC), false)
$(info Warning: pandoc not found. Not generating man pages)
else
ifeq ($(ENABLE_PANDOC), true)
# Create dynamic man pages from markdown using pandoc. We need
# PANDOC_TROFF_MANPAGE_FILTER, a wrapper around
# PANDOC_TROFF_MANPAGE_FILTER_JAVASCRIPT. This is created by buildtools-jdk.

View File

@ -99,7 +99,7 @@ define SetupCompilerFlags
$1_EXTRA_CFLAGS += $$($1_CFLAGS_$(OPENJDK_TARGET_OS)_$(OPENJDK_TARGET_CPU)_release)
endif
ifeq ($(STATIC_LIBS), true)
$1_EXTRA_CFLAGS += $$(STATIC_LIBS_CFLAGS)
$1_EXTRA_CFLAGS += -DSTATIC_BUILD=1
endif
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS and/or TOOLCHAIN_TYPE

View File

@ -119,6 +119,7 @@ define CreateStaticLibrary
$(if $$($1_LINK_OBJS_RELATIVE), $$(CD) $$(OUTPUTDIR) ; ) \
$$($1_AR) $$(ARFLAGS) -r -cs $$($1_TARGET) \
$$($1_AR_OBJ_ARG) $$($1_RES))
$$(ECHO) $$(strip $$($1_LIBS) $$($1_EXTRA_LIBS)) > $$($1_TARGET).lib-flags.txt
endef
################################################################################

View File

@ -54,7 +54,8 @@ define CreateStaticLibraryMicrosoft
$$(call MakeDir, $$($1_OUTPUT_DIR) $$($1_SYMBOLS_DIR))
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_run_lib, \
$$($1_LIB) -nologo $$(LIBFLAGS) -out:$$($1_TARGET) \
$$($1_LD_OBJ_ARG) $$($1_RES))
$$($1_LD_OBJ_ARG))
$$(ECHO) $$(strip $$($1_LIBS) $$($1_EXTRA_LIBS)) > $$($1_TARGET).lib-flags.txt
endef
################################################################################

View File

@ -241,7 +241,7 @@ var getJibProfilesCommon = function (input, data) {
// List of the main profile names used for iteration
common.main_profile_names = [
"linux-x64", "linux-x86", "macosx-x64", "macosx-aarch64",
"windows-x64", "windows-x86", "windows-aarch64",
"windows-x64", "windows-aarch64",
"linux-aarch64", "linux-arm32", "linux-ppc64le", "linux-s390x",
"linux-riscv64"
];
@ -465,15 +465,6 @@ var getJibProfilesProfiles = function (input, common, data) {
configure_args: concat(common.configure_args_64bit),
},
"windows-x86": {
target_os: "windows",
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit", "gtest"],
configure_args: concat(common.configure_args_32bit,
"--enable-deprecated-ports"),
},
"windows-aarch64": {
target_os: "windows",
target_cpu: "aarch64",
@ -716,10 +707,6 @@ var getJibProfilesProfiles = function (input, common, data) {
platform: "windows-x64",
jdk_suffix: "zip",
},
"windows-x86": {
platform: "windows-x86",
jdk_suffix: "zip",
},
"windows-aarch64": {
platform: "windows-aarch64",
jdk_suffix: "zip",
@ -1214,9 +1201,11 @@ var getJibProfilesDependencies = function (input, common) {
},
jcov: {
organization: common.organization,
revision: "3.0-17-jdk-asm+1.0",
ext: "zip",
server: "jpg",
product: "jcov",
version: "3.0",
build_number: "1",
file: "bundles/jcov-3.0+1.zip",
environment_name: "JCOV_HOME",
},

View File

@ -26,17 +26,17 @@
# Default version, product, and vendor information to use,
# unless overridden by configure
DEFAULT_VERSION_FEATURE=24
DEFAULT_VERSION_FEATURE=25
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2025-03-18
DEFAULT_VERSION_CLASSFILE_MAJOR=68 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_DATE=2025-09-16
DEFAULT_VERSION_CLASSFILE_MAJOR=69 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="23 24"
DEFAULT_JDK_SOURCE_TARGET_VERSION=24
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="23 24 25"
DEFAULT_JDK_SOURCE_TARGET_VERSION=25
DEFAULT_PROMOTED_VERSION_PRE=ea

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2024, 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

View File

@ -174,6 +174,12 @@ ifeq ($(call check-jvm-feature, link-time-opt), true)
-fno-fat-lto-objects
JVM_LDFLAGS_FEATURES += $(CXX_O_FLAG_HIGHEST_JVM) -flto=auto \
-fuse-linker-plugin -fno-strict-aliasing
else ifeq ($(call isCompiler, clang), true)
JVM_CFLAGS_FEATURES += -flto -fno-strict-aliasing
ifeq ($(call isBuildOs, aix), true)
JVM_CFLAGS_FEATURES += -ffat-lto-objects
endif
JVM_LDFLAGS_FEATURES += $(CXX_O_FLAG_HIGHEST_JVM) -flto -fno-strict-aliasing
else ifeq ($(call isCompiler, microsoft), true)
JVM_CFLAGS_FEATURES += -GL
JVM_LDFLAGS_FEATURES += -LTCG:INCREMENTAL

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2024, 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

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2024, 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

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 2024, 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

View File

@ -42,7 +42,7 @@ ifeq ($(call isTargetOs, macosx), true)
PROJECT_FILE_NAME := hotspot.xcodeproj
COMPILE_COMMAND_FILE := $(OUTPUTDIR)/compile_commands.json
LINKER_FLAGS_FILE := $(MAKESUPPORT_OUTPUTDIR)/compile-commands/jvm-ldflags.txt
LINKER_FLAGS_FILE := $(MAKESUPPORT_OUTPUTDIR)/compile-commands/LIBRARY_hotspot_variant-server_libjvm_libjvm-ldflags.txt
$(eval $(call SetupJavaCompilation, BUILD_PROJECT_CREATOR, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
@ -60,7 +60,7 @@ ifeq ($(call isTargetOs, macosx), true)
XCODE_PROJ_DEBUG_OPTION := -d
endif
XCODE_PROJ_VARDEPS := $(WORKSPACE_ROOT) $(IDE_OUTPUTDIR) \
XCODE_PROJ_VARDEPS := $(TOPDIR) $(IDE_OUTPUTDIR) \
$(PROJECT_MAKER_DIR)/data $(COMPILE_COMMAND_FILE) $(LINKER_FLAGS_FILE)
XCODE_PROJ_VARDEPS_FILE := $(call DependOnVariable, XCODE_PROJ_VARDEPS, \
$(TOOLS_OUTPUTDIR)/xcodeproj.vardeps)
@ -70,7 +70,7 @@ ifeq ($(call isTargetOs, macosx), true)
DEPS := $(BUILD_PROJECT_CREATOR) $(COMPILE_COMMAND_FILE) \
$(LINKER_FLAGS_FILE) $(XCODE_PROJ_VARDEPS_FILE), \
OUTPUT_DIR := $(TOOLS_OUTPUTDIR), \
COMMAND := $(PROJECT_CREATOR_TOOL) $(WORKSPACE_ROOT) $(IDE_OUTPUTDIR) \
COMMAND := $(PROJECT_CREATOR_TOOL) $(TOPDIR) $(IDE_OUTPUTDIR) \
$(PROJECT_MAKER_DIR)/data $(COMPILE_COMMAND_FILE) \
$(LINKER_FLAGS_FILE) $(XCODE_PROJ_DEBUG_OPTION), \
))

View File

@ -33,6 +33,7 @@ import java.nio.file.*;
import java.time.*;
import java.util.*;
import java.util.ResourceBundle.Control;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import java.util.stream.Stream;
@ -1242,7 +1243,8 @@ public class CLDRConverter {
private static Stream<String> tzDataLinkEntry() {
try {
return Files.walk(Paths.get(tzDataDir), 1)
.filter(p -> !Files.isDirectory(p))
.filter(p -> p.toFile().isFile())
.filter(p -> p.getFileName().toString().matches("africa|antarctica|asia|australasia|backward|etcetera|europe|northamerica|southamerica"))
.flatMap(CLDRConverter::extractLinks)
.sorted();
} catch (IOException e) {
@ -1273,8 +1275,27 @@ public class CLDRConverter {
// Note: the entries are alphabetically sorted, *except* the "world" region
// code, i.e., "001". It should be the last entry for the same windows time
// zone name entries. (cf. TimeZone_md.c)
//
// The default entries from CLDR's windowsZones.xml file can be modified
// with <tzDataDir>/tzmappings.override where mapping overrides
// can be specified.
private static Pattern OVERRIDE_PATTERN = Pattern.compile("(?<win>([^:]+:[^:]+)):(?<java>[^:]+):");
private static void generateWindowsTZMappings() throws Exception {
Files.createDirectories(Paths.get(DESTINATION_DIR, "windows", "conf"));
var override = Path.of(tzDataDir, "tzmappings.override");
if (override.toFile().exists()) {
Files.readAllLines(override).stream()
.map(String::trim)
.filter(o -> !o.isBlank() && !o.startsWith("#"))
.forEach(o -> {
var m = OVERRIDE_PATTERN.matcher(o);
if (m.matches()) {
handlerWinZones.put(m.group("win"), m.group("java"));
} else {
System.out.printf("Unrecognized tzmappings override: %s. Ignored%n", o);
}
});
}
Files.write(Paths.get(DESTINATION_DIR, "windows", "conf", "tzmappings"),
handlerWinZones.keySet().stream()
.filter(k -> k.endsWith(":001") ||

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2024, 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

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@ -168,10 +168,16 @@ ifeq ($(call isTargetOs, windows macosx), false)
# static libraries cause linking errors due to duplicate symbols.
LIBAWT_HEADLESS_STATIC_EXCLUDE_OBJS := systemScale.o
ifneq ($(ENABLE_HEADLESS_ONLY), true)
# We cannot link with both awt_headless and awt_xawt at the same time
LIBAWT_HEADLESS_ONLY_EXPORTED := true
endif
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_HEADLESS, \
NAME := awt_headless, \
EXTRA_SRC := $(LIBAWT_HEADLESS_EXTRA_SRC), \
EXCLUDES := medialib, \
ONLY_EXPORTED := $(LIBAWT_HEADLESS_ONLY_EXPORTED), \
OPTIMIZATION := LOW, \
CFLAGS := -DHEADLESS=true $(CUPS_CFLAGS) $(FONTCONFIG_CFLAGS) \
$(X_CFLAGS), \
@ -308,6 +314,8 @@ ifeq ($(call isTargetOs, macosx), true)
LIBAWT_LWAWT_EXCLUDE_FILES := fontpath.c awt_Font.c X11Color.c
LIBAWT_LWAWT_EXCLUDES := $(TOPDIR)/src/$(MODULE)/unix/native/common/awt/medialib
LIBAWT_LWAWT_STATIC_EXCLUDE_OBJS := systemScale.o
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_LWAWT, \
NAME := awt_lwawt, \
EXTRA_SRC := $(LIBAWT_LWAWT_EXTRA_SRC), \
@ -346,6 +354,7 @@ ifeq ($(call isTargetOs, macosx), true)
-framework OpenGL \
-framework QuartzCore \
-framework Security, \
STATIC_LIB_EXCLUDE_OBJS := $(LIBAWT_LWAWT_STATIC_EXCLUDE_OBJS), \
))
TARGETS += $(BUILD_LIBAWT_LWAWT)

View File

@ -155,6 +155,9 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
ifeq ($(USE_EXTERNAL_LIBJPEG), false)
LIBSPLASHSCREEN_EXTRA_SRC += libjavajpeg
LIBJAVA_JPEG_OBJS := $(sort $(patsubst %.c,%.o, $(filter-out imageioJPEG.c, \
$(notdir $(wildcard $(TOPDIR)/src/java.desktop/share/native/libjavajpeg/*.c)))))
LIBSPLASHSCREEN_STATIC_LIB_EXCLUDE_OBJS += $(LIBJAVA_JPEG_OBJS)
endif
ifeq ($(USE_EXTERNAL_LIBPNG), false)
@ -165,6 +168,10 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
ifeq ($(USE_EXTERNAL_LIBZ), false)
LIBSPLASHSCREEN_EXTRA_SRC += java.base:libzip/zlib
LIBZIP_SRC_PATH := $(TOPDIR)/src/java.base/share/native/libzip
LIBZIP_OBJS := $(sort $(patsubst %.c,%.o, $(notdir \
$(wildcard $(LIBZIP_SRC_PATH)/*.c $(LIBZIP_SRC_PATH)/zlib/*.c))))
LIBSPLASHSCREEN_STATIC_LIB_EXCLUDE_OBJS += $(LIBZIP_OBJS)
endif
LIBSPLASHSCREEN_CFLAGS += -DSPLASHSCREEN -DPNG_NO_MMX_CODE \
@ -207,6 +214,8 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
LIBSPLASHSCREEN_CFLAGS += -DWITH_X11 $(X_CFLAGS)
endif
LIBSPLASHSCREEN_STATIC_LIB_EXCLUDE_OBJS += systemScale.o
$(eval $(call SetupJdkLibrary, BUILD_LIBSPLASHSCREEN, \
NAME := splashscreen, \
EXTRA_SRC := $(LIBSPLASHSCREEN_EXTRA_SRC), \
@ -257,6 +266,7 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
-framework Security, \
LIBS_aix := $(LIBDL) -liconv $(X_LIBS) -lX11 -lXext, \
LIBS_windows := delayimp.lib gdi32.lib kernel32.lib user32.lib, \
STATIC_LIB_EXCLUDE_OBJS := $(LIBSPLASHSCREEN_STATIC_LIB_EXCLUDE_OBJS), \
))
TARGETS += $(BUILD_LIBSPLASHSCREEN)

View File

@ -27,5 +27,5 @@ DISABLED_WARNINGS_java += dangling-doc-comments lossy-conversions this-escape
DOCLINT += -Xdoclint:all/protected \
'-Xdoclint/package:$(call CommaList, javax.xml.catalog javax.xml.datatype \
javax.xml.transform javax.xml.validation javax.xml.xpath)'
COPY += .dtd .xsd .xml
COPY += .dtd .xsd .xml .ent .mod
CLEAN += .properties

View File

@ -38,6 +38,7 @@ ifeq ($(call isTargetOs, windows), true)
NAME := javaaccessbridge, \
EXTRA_SRC := common, \
OPTIMIZATION := LOW, \
ONLY_EXPORTED := true, \
DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
CXXFLAGS_FILTER_OUT := -MD, \
CXXFLAGS := -MT -DACCESSBRIDGE_ARCH_64, \
@ -67,6 +68,7 @@ ifeq ($(call isTargetOs, windows), true)
CXXFLAGS := -DACCESSBRIDGE_ARCH_64, \
EXTRA_HEADER_DIRS := \
include/bridge, \
ONLY_EXPORTED := true, \
LDFLAGS := \
-def:$(ACCESSIBILITY_SRCDIR)/libwindowsaccessbridge/WinAccessBridge.DEF, \
LIBS_windows := advapi32.lib comdlg32.lib gdi32.lib kernel32.lib \

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2024, 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

View File

@ -49,6 +49,7 @@ $(eval $(call SetupJdkExecutable, BUILD_JPACKAGEAPPLAUNCHER, \
LINK_TYPE := $(JPACKAGEAPPLAUNCHER_LINK_TYPE), \
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/jpackageapplauncher, \
ONLY_EXPORTED := true, \
SRC := applauncher, \
EXTRA_SRC := common, \
INCLUDE_FILES := $(JPACKAGEAPPLAUNCHER_INCLUDE_FILES), \
@ -83,6 +84,7 @@ ifeq ($(call isTargetOs, linux), true)
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
SYMBOLS_DIR := \
$(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjpackageapplauncheraux, \
ONLY_EXPORTED := true, \
SRC := libapplauncher, \
EXTRA_SRC := \
applauncher \
@ -127,6 +129,7 @@ ifeq ($(call isTargetOs, windows), true)
NAME := wixhelper, \
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libwixhelper, \
ONLY_EXPORTED := true, \
OPTIMIZATION := LOW, \
EXTRA_SRC := common, \
CXXFLAGS_FILTER_OUT := -MD, \
@ -146,6 +149,7 @@ ifeq ($(call isTargetOs, windows), true)
NAME := msiwrapper, \
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/msiwrapper, \
ONLY_EXPORTED := true, \
EXTRA_SRC := common, \
CXXFLAGS_FILTER_OUT := -MD, \
CXXFLAGS_windows := -MT $(JPACKAGE_CXXFLAGS_windows), \
@ -164,6 +168,7 @@ ifeq ($(call isTargetOs, windows), true)
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
SYMBOLS_DIR := \
$(SUPPORT_OUTPUTDIR)/native/$(MODULE)/jpackageapplauncherw, \
ONLY_EXPORTED := true, \
SRC := applauncher, \
EXTRA_SRC := common, \
OPTIMIZATION := LOW, \

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, 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

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@ -89,6 +89,7 @@ $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
SRC := $(MICROBENCHMARK_SRC), \
BIN := $(MICROBENCHMARK_CLASSES), \
JAVAC_FLAGS := \
--add-exports java.base/jdk.internal.classfile.components=ALL-UNNAMED \
--add-exports java.base/jdk.internal.classfile.impl=ALL-UNNAMED \
--add-exports java.base/jdk.internal.event=ALL-UNNAMED \
--add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2024, 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

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