Commit graph

290 commits

Author SHA1 Message Date
Justin Lu
7eb55357ab 8341789: Fix ExceptionOccurred in java.base
Reviewed-by: bpb, jpai, dfuchs, lancea, rriggs, naoto
2024-10-10 17:33:22 +00:00
Jaikiran Pai
c0fcb258bb 8340717: Remove unused function declarations from java.c/java.h of the launcher
Reviewed-by: alanb, dholmes, shade, jwaters
2024-09-25 01:45:04 +00:00
Jaikiran Pai
40cde003e8 8340114: Remove outdated SelectVersion() function from the launcher and update the code comments explaining the code flow
Reviewed-by: dholmes, alanb
2024-09-24 01:47:57 +00:00
Jaikiran Pai
67198992ce 8286851: Deprecate for removal several of the undocumented java launcher options
Reviewed-by: dholmes
2024-09-19 06:28:05 +00:00
Jaikiran Pai
a4eb9a063f 8339918: Remove checks for outdated -t -tm -Xfuture -checksource -cs -noasyncgc options from the launcher
Reviewed-by: dholmes, alanb
2024-09-16 08:34:54 +00:00
David Holmes
90f3f43257 8328877: [JNI] The JNI Specification needs to address the limitations of integer UTF-8 String lengths
Reviewed-by: cjplummer, alanb
2024-09-04 03:41:42 +00:00
Magnus Ihse Bursie
a136a85b6f 8338768: Introduce runtime lookup to check for static builds
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Reviewed-by: prr, jiangli, alanb
2024-09-02 09:14:36 +00:00
Justin Lu
a8ac28725b 8339126: JNI exception pending in Inflater.c
Reviewed-by: lancea, vtewari, jpai, naoto
2024-08-28 21:14:29 +00:00
Naoto Sato
ff634a9670 8337506: Disable "best-fit" mapping on Windows command line
Reviewed-by: alanb
2024-08-06 20:11:21 +00:00
Chen Liang
39f4476813 8334772: Change Class::signers to an explicit field
Reviewed-by: dholmes, alanb, rriggs, coleenp
2024-07-18 22:22:59 +00:00
Jaikiran Pai
efab48c065 8333714: Cleanup the usages of CHECK_EXCEPTION_NULL_FAIL macro in java launcher
Reviewed-by: alanb
2024-06-14 12:48:43 +00:00
Robert Toyonaga
cc64aeac47 8332400: isspace argument should be a valid unsigned char
Reviewed-by: dholmes, amitkumar, stuefe, jwaters
2024-06-14 09:32:52 +00:00
Sonia Zaldana Calles
cbb6747e6b 8329581: Java launcher no longer prints a stack trace
8329420: Java 22 (and 23) launcher calls default constructor although main() is static
8330864: No error message when ExceptionInInitializerError thrown in static initializer

Reviewed-by: stuefe
2024-06-05 13:12:30 +00:00
Matthias Baesken
5af6b45eef 8330615: avoid signed integer overflows in zip_util.c readCen / hashN
Reviewed-by: lucy, mdoerr
2024-04-25 15:23:48 +00:00
Per Minborg
c59c41aa6e 8326941: Remove StringUTF16::isBigEndian
Reviewed-by: rriggs
2024-03-19 08:46:51 +00:00
Ioi Lam
761ed250ec 8327138: Clean up status management in cdsConfig.hpp and CDS.java
Reviewed-by: ccheung, matsaave
2024-03-09 03:48:38 +00:00
Matthias Baesken
fb4610e6b7 8327444: simplify RESTARTABLE macro usage in JDK codebase
Reviewed-by: gli, clanger, alanb, dholmes, bpb
2024-03-08 08:31:40 +00:00
Jorn Vernee
2372aba6a2 8326172: Dubious claim on long[]/double[] alignment in MemorySegment javadoc
Reviewed-by: mcimadamore
2024-03-05 13:32:24 +00:00
Magnus Ihse Bursie
e5cb78cc88 8324539: Do not use LFS64 symbols in JDK libs
Reviewed-by: jwaters, erikj, mbaesken, alanb
2024-02-12 08:04:39 +00:00
Lance Andersen
b5c267fc8a 8324632: Update Zlib Data Compression Library to Version 1.3.1
Reviewed-by: iris, alanb
2024-01-31 11:06:01 +00:00
Coleen Phillimore
fac49b8375 8317331: Solaris build failed with "declaration can not follow a statement (E_DECLARATION_IN_CODE)"
Backport-of: 852276d1f833d49802693f2a5a82ba6eb2722de6
2024-01-16 05:55:55 +00:00
Coleen Phillimore
fff750c99d 8314295: Enhance verification of verifier
Reviewed-by: mschoene, rhalade, dholmes, dlong
2024-01-16 05:55:55 +00:00
Serguei Spitsyn
0f8e4e0a81 8311218: fatal error: stuck in JvmtiVTMSTransitionDisabler::VTMS_transition_disable
Reviewed-by: lmesnik, alanb
2023-12-19 17:26:55 +00:00
Christian Stein
517b178819 8306914: Implement JEP 458: Launch Multi-File Source-Code Programs
Reviewed-by: jlahoda, jlaskey
2023-12-05 07:50:21 +00:00
Jim Laskey
04ad98ed32 8315458: Implement JEP 463: Implicitly Declared Classes and Instance Main Method (Second Preview)
Reviewed-by: jlahoda, mcimadamore, vromero, rriggs, alanb, mchung
2023-11-30 12:49:49 +00:00
David Holmes
c75c38871e 8318776: Require supports_cx8 to always be true
Reviewed-by: eosterlund, shade, dcubed
2023-11-23 22:23:42 +00:00
Hao Sun
b3616c9ac0 8320131: Zero build fails on macOS after JDK-8254693
Reviewed-by: dholmes, jvernee
2023-11-22 05:32:57 +00:00
Jorn Vernee
9c98270737 8254693: Add Panama feature to pass heap segments to native code
Reviewed-by: mcimadamore, lucy, vlivanov
2023-11-14 11:19:30 +00:00
Jorn Vernee
3885dc5b9a 8318737: Fallback linker passes bad JNI handle
Reviewed-by: alanb
2023-10-26 15:54:02 +00:00
Matthias Baesken
126f2ace5d 8318006: remove unused net related coding
Reviewed-by: alanb, lucy
2023-10-13 08:53:43 +00:00
Jorn Vernee
32ac72c3d3 8312522: Implementation of Foreign Function & Memory API
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: dholmes, psandoz, mcimadamore, alanb
2023-10-12 19:50:08 +00:00
Matthias Baesken
424de295a6 8317866: replace NET_SocketAvailable
Reviewed-by: dfuchs, alanb
2023-10-12 07:22:49 +00:00
Mandy Chung
c72f00463f 8316456: StackWalker may skip Continuation::yield0 frame mistakenly
Reviewed-by: rpressler, pchilanomate
2023-09-21 23:10:49 +00:00
Mandy Chung
111ecdbaf5 8268829: Provide an optimized way to walk the stack with Class object only
8210375: StackWalker::getCallerClass throws UnsupportedOperationException

Reviewed-by: coleenp, dfuchs, bchristi
2023-09-07 21:37:40 +00:00
Lance Andersen
6701eba736 8315117: Update Zlib Data Compression Library to Version 1.3
Reviewed-by: alanb
2023-08-30 11:45:38 +00:00
Matias Saavedra Silva
cff25dd574 8306582: Remove MetaspaceShared::exit_after_static_dump()
Reviewed-by: iklam, alanb, ccheung
2023-08-02 17:11:22 +00:00
Jaikiran Pai
842d6329cf 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6
Reviewed-by: alanb, cjplummer, dholmes
2023-07-21 12:58:20 +00:00
Alan Bateman
227656f3a9 8309408: Thread.sleep cleanup
Reviewed-by: dholmes, stefank
2023-06-16 07:26:27 +00:00
Jorn Vernee
4c18b9e1fa 8309880: Add support for linking libffi on Windows and Mac
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: erikj
2023-06-14 12:03:42 +00:00
Mandy Chung
9bfe415f66 8305104: Remove the old core reflection implementation
Reviewed-by: dholmes, alanb
2023-06-13 19:41:38 +00:00
Jorn Vernee
fa791119f0 8308031: Linkers should reject unpromoted variadic parameters
Reviewed-by: mcimadamore
2023-06-07 12:14:55 +00:00
Rudi Horn
8f0839bc55 8308748: JNU_GetStringPlatformChars may write to String's internal memory array
Reviewed-by: dholmes, rriggs, alanb
2023-06-06 12:58:24 +00:00
Jim Laskey
98b53c06cf 8306112: Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview)
8308613: javax.lang.model updates for JEP 445 (preview)
8308913: Update core reflection for JEP 445 (preview)

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: mcimadamore, vromero, darcy
2023-06-05 18:45:39 +00:00
Xue-Lei Andrew Fan
42ca6e6942 8308022: update for deprecated sprintf for java.base
Reviewed-by: naoto
2023-05-31 16:26:48 +00:00
Michael McMahon
e7edf8d145 8300038: Make new version of JNU_GetStringPlatformChars which checks for null characters
Reviewed-by: dfuchs, naoto
2023-05-25 14:57:29 +00:00
Matthias Baesken
69f508a2ac 8308300: enhance exceptions in MappedMemoryUtils.c
Reviewed-by: alanb, clanger, bpb
2023-05-23 07:43:14 +00:00
Jie Fu
690d3969b8 8308408: Build failure with -Werror=maybe-uninitialized in libjli/java.c with GCC8
Reviewed-by: alanb
2023-05-19 11:13:37 +00:00
Adam Sotona
fa14314853 8303669: SelectVersion indexes past the end of the argv array
Reviewed-by: vromero
2023-05-19 08:09:37 +00:00
Serguei Spitsyn
1227a275a1 8306028: separate ThreadStart/ThreadEnd events posting code in JVMTI VTMS transitions
8304444: Reappearance of NULL in jvmtiThreadState.cpp

Reviewed-by: pchilanomate, lmesnik
2023-05-02 02:40:50 +00:00
Per Minborg
cbccc4c817 8304265: Implementation of Foreign Function and Memory API (Third Preview)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00