Commit Graph

858 Commits

Author SHA1 Message Date
Scott Gibbons
8e72d7cf8e 8320448: Accelerate IndexOf using AVX2
Reviewed-by: epeter, kvn, sviswanathan
2024-06-07 17:02:14 +00:00
Jaikiran Pai
4369856c6d 8333130: MakeJAR2.sh uses hard-coded JDK version
Reviewed-by: lancea, darcy, sspitsyn, amenkov
2024-06-05 06:35:46 +00:00
Alan Bateman
707154235b 8331189: Implementation of Scoped Values (Third Preview)
Reviewed-by: aph, jpai, mcimadamore
2024-05-30 15:41:56 +00:00
Vicente Romero
7bf1989f59 8320575: generic type information lost on mandated parameters of record's compact constructors
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: jlahoda
2024-05-24 20:43:23 +00:00
Adam Sotona
cfdc64fcb4 8331291: java.lang.classfile.Attributes class performs a lot of static initializations
Reviewed-by: liach, redestad, vromero
2024-05-24 15:58:34 +00:00
Chen Liang
beeffd4671 8332109: Convert remaining tests using com.sun.tools.classfile to ClassFile API
Reviewed-by: asotona
2024-05-17 12:24:39 +00:00
Claes Redestad
0b0445be28 8331724: Refactor j.l.constant implementation to internal package
Reviewed-by: liach, asotona
2024-05-17 09:49:44 +00:00
Jaikiran Pai
c9255f3f5d 8331514: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: dfuchs
2024-05-02 10:46:29 +00:00
Adam Sotona
ae82405ff7 8323058: Revisit j.l.classfile.CodeBuilder API surface
Reviewed-by: briangoetz, psandoz
2024-05-02 10:08:29 +00:00
Adam Sotona
706b421cca 8330467: NoClassDefFoundError when lambda is in a hidden class
Reviewed-by: psandoz, mchung
2024-04-18 05:50:24 +00:00
Suchismith Roy
4895a15a77 8319516: AIX System::loadLibrary needs support to load a shared library from an archive object
Reviewed-by: mdoerr, mchung
2024-04-17 17:03:40 +00:00
Maurizio Cimadamore
03e84178eb 8329948: Remove string template feature
Reviewed-by: jlahoda
2024-04-17 14:10:28 +00:00
Joe Darcy
da75e015b5 8330196: Make java/lang/invoke/defineHiddenClass/BasicTest release agnostic
Reviewed-by: liach, mchung, jkuhn
2024-04-15 15:11:40 +00:00
Mahendra Chhipa
2e3682a7f2 8319678: Several tests from corelibs areas ignore VM flags
Reviewed-by: naoto, jpai
2024-04-11 13:51:07 +00:00
Roger Riggs
212a253697 8329623: NegativeArraySizeException encoding large String to UTF-8
Reviewed-by: naoto, rgiulietti
2024-04-08 17:58:21 +00:00
Alex Menkov
f88f31dcbf 8328137: PreserveAllAnnotations can cause failure of class retransformation
Reviewed-by: coleenp, sspitsyn
2024-04-03 00:23:36 +00:00
Naoto Sato
8a0ef811ed 8326627: Document Double/Float.valueOf(String) behavior for numeric strings with non-ASCII digits
Reviewed-by: iris, jlu
2024-03-29 17:55:57 +00:00
Alex Menkov
8fc9097b37 8315575: Retransform of record class with record component annotation fails with CFE
Reviewed-by: sspitsyn, coleenp
2024-03-26 23:54:28 +00:00
Elif Aslan
cc1800fa4d 8327998: Enable java/lang/ProcessBuilder/JspawnhelperProtocol.java on Mac
Reviewed-by: gli, shade, rriggs
2024-03-26 11:47:53 +00:00
Goetz Lindenmaier
eebcc2181f 8328524: [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Reviewed-by: rriggs, mdoerr, sgehwolf
2024-03-20 07:20:49 +00:00
Jan Lahoda
5b6b514441 8325362: Allow to create a simple in-memory input JavaFileObject
Reviewed-by: jlaskey, darcy
2024-03-19 09:35:25 +00:00
Chad Rakoczy
a232e8fb4e 8325621: Improve jspawnhelper version checks
Reviewed-by: erikj, shade, rriggs, ihse
2024-03-14 13:26:03 +00:00
Magnus Ihse Bursie
cc9a8aba67 8327460: Compile tests with the same visibility rules as product code
Reviewed-by: erikj, jvernee, dholmes, alanb
2024-03-13 08:09:22 +00:00
Joe Darcy
201042fd96 8327487: Further augment WorstCaseTests with more cases
Reviewed-by: rgiulietti
2024-03-12 16:46:00 +00:00
Elif Aslan
2627470946 8325567: jspawnhelper without args fails with segfault
Co-authored-by: Vladimir Petko <vpetko@openjdk.org>
Reviewed-by: eastigeevich, rriggs, shade, vpetko
2024-03-08 22:09:18 +00:00
Naoto Sato
9f7094079b 8327261: Parsing test for Double/Float succeeds w/o testing all bad cases
Reviewed-by: darcy, gli, joehw, jlu, bpb, lancea
2024-03-06 16:15:23 +00:00
Joe Darcy
7f02f07f75 8316708: Augment WorstCaseTests with more cases
Reviewed-by: rgiulietti
2024-03-01 19:30:35 +00:00
Matthew Donovan
437cf354e2 8319648: java/lang/SecurityManager tests ignore vm flags
Reviewed-by: mullan
2024-03-01 12:23:17 +00:00
Patricio Chilano Mateo
93feda3d9a 8322962: Upcall stub might go undetected when freezing frames
Reviewed-by: jvernee, alanb, mdoerr, fyang, dlong
2024-02-26 23:29:18 +00:00
Roman Kennke
336bbbe389 8139457: Relax alignment of array elements
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: stuefe, stefank, shade, coleenp, kdnilsen, aboldtch
2024-02-23 10:05:25 +00:00
Magnus Ihse Bursie
5c5a282f91 8325950: Make sure all files in the JDK pass jcheck
Reviewed-by: prr, wetmore, erikj, naoto
2024-02-19 16:13:34 +00:00
Chen Liang
f6d7e30b84 8294977: Convert test/jdk/java tests from ASM library to Classfile API
Reviewed-by: asotona
2024-02-19 14:07:46 +00:00
Leonid Mesnik
9029bf644e 8316451: 6 java/lang/instrument/PremainClass tests ignore VM flags
Reviewed-by: cjplummer, sspitsyn
2024-02-15 22:50:14 +00:00
Jorn Vernee
9c852df6aa 8318966: Some methods make promises about Java array element alignment that are too strong
Reviewed-by: psandoz, mcimadamore
2024-02-14 14:30:54 +00:00
Leonid Mesnik
3ebe6c192a 8319578: Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only
Reviewed-by: kevinw, cjplummer
2024-02-09 18:40:10 +00:00
Joe Darcy
1797efd68d 8322218: Better escaping of single and double quotes in annotation toString() results
Reviewed-by: mchung
2024-02-06 23:22:46 +00:00
Shaojin Wen
50b17d9846 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers
Reviewed-by: redestad, rgiulietti
2024-02-06 15:16:40 +00:00
Aggelos Biboudis
1733d2ea24 8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview)
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Gavin Bierman <gbierman@openjdk.org>
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, jlahoda
2024-01-31 14:18:13 +00:00
Eirik Bjørsnøs
c3c1d5bd12 8324998: Add test cases for String.regionMatches comparing Turkic dotted/dotless I with uppercase latin I
Reviewed-by: naoto, iris
2024-01-30 23:52:37 +00:00
Alan Bateman
e72723dc5c 8323296: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java#id1 timed out
Reviewed-by: jpai
2024-01-12 08:33:27 +00:00
Joe Darcy
525063be90 8322878: Including sealing information Class.toGenericString()
Co-authored-by: Pavel Rappo <prappo@openjdk.org>
Reviewed-by: rriggs
2024-01-10 18:46:56 +00:00
Alan Bateman
faa9c6909d 8322846: Running with -Djdk.tracePinnedThreads set can hang
Reviewed-by: jpai
2024-01-06 18:24:28 +00:00
Alan Bateman
d33dfe5cb2 8323002: test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java times out on macosx-x64
Reviewed-by: pchilanomate
2024-01-04 15:20:23 +00:00
Jim Laskey
df22fb322e 8322512: StringBuffer.repeat does not work correctly after toString() was called
Reviewed-by: rriggs, jpai
2024-01-04 12:46:31 +00:00
Alan Bateman
4db7a1c3bb 8322818: Thread::getStackTrace can fail with InternalError if virtual thread is timed-parked when pinned
Reviewed-by: pchilanomate
2024-01-04 05:59:52 +00:00
Alan Bateman
b67b71cd87 8320707: Virtual thread test updates
Reviewed-by: jpai
2024-01-03 14:59:03 +00:00
Stefan Karlsson
cbe329b90a 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lkorinth, lmesnik
2024-01-03 08:53:01 +00:00
Roger Riggs
6311dabe68 8322018: Test java/lang/String/CompactString/MaxSizeUTF16String.java fails with -Xcomp
Reviewed-by: jpai
2023-12-15 16:13:36 +00:00
Aleksei Voitylov
fde5b16817 8321514: UTF16 string gets constructed incorrectly from codepoints if CompactStrings is not enabled
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Reviewed-by: rriggs
2023-12-14 14:39:04 +00:00
Darragh Clarke
62b7c5eaed 8319647: Few java/lang/System/LoggerFinder/modules tests ignore vm flags
Reviewed-by: lmesnik
2023-12-14 13:24:19 +00:00
Roger Riggs
4fb5c12813 8321180: Condition for non-latin1 string size too large exception is off by one
Reviewed-by: rgiulietti
2023-12-12 20:55:17 +00:00
Alan Bateman
86623aa41d 8320786: Remove ThreadGroup.stop
Reviewed-by: rriggs, dholmes, jpai
2023-12-08 08:04:38 +00:00
Alan Bateman
af5c49226c 8320532: Remove Thread/ThreadGroup suspend/resume
Reviewed-by: dholmes, jpai, sspitsyn, smarks
2023-12-08 07:10:20 +00:00
Alan Bateman
29d7a22348 8321270: Virtual Thread.yield consumes parking permit
Reviewed-by: sspitsyn
2023-12-07 11:41:41 +00:00
Jim Laskey
82796bdebb 8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters
Reviewed-by: rriggs
2023-12-06 21:55:05 +00:00
Roger Riggs
155abc576a 8311906: Improve robustness of String constructors with mutable array inputs
Co-authored-by: Damon Fenacci <dfenacci@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: rgiulietti, thartmann, redestad, dfenacci
2023-12-04 18:28:59 +00:00
Adam Sotona
2b00ac0d02 8308753: Class-File API transition to Preview
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +00:00
Alan Bateman
2476be4590 8320716: ResolvedModule::reads includes self when configuration contains two or more automatic modules
Reviewed-by: mchung
2023-12-01 07:31:10 +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
Jan Lahoda
0c9a61c185 8319220: Pattern matching switch with a lot of cases is unduly slow
Reviewed-by: asotona, vromero
2023-11-24 09:05:39 +00:00
Darragh Clarke
5522656af7 8317834: java/lang/Thread/IsAlive.java timed out
Reviewed-by: dfuchs, alanb, dholmes, shade
2023-11-17 12:21:13 +00:00
Mandy Chung
1588dd934c 8319567: Update java/lang/invoke tests to support vm flags
8319568: Update java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java to accept vm flags
8319672: Several classloader tests ignore VM flags
8319676: A couple of jdk/modules/incubator/ tests ignore VM flags
8319677: Test jdk/internal/misc/VM/RuntimeArguments.java should be marked as flagless

Reviewed-by: jvernee, lmesnik
2023-11-16 22:40:22 +00:00
Roger Riggs
68110b7a82 8319574: Exec/process tests should be marked as flagless
Reviewed-by: bpb, naoto, jpai
2023-11-09 16:21:42 +00:00
Mourad Abbay
7bc8e4c891 8294980: test/jdk/java/lang/invoke 15 test classes use experimental bytecode library
Reviewed-by: asotona
2023-11-08 13:26:58 +00:00
Gergö Barany
a290256bbf 8315680: java/lang/ref/ReachabilityFenceTest.java should run with -Xbatch
Reviewed-by: dnsimon, never, psandoz
2023-11-07 19:23:53 +00:00
Mandy Chung
8eb6f617b3 8319436: Proxy.newProxyInstance throws NPE if loader is null and interface not visible from class loader
Reviewed-by: alanb
2023-11-07 17:00:08 +00:00
Jan Lahoda
541ff7149f 8318144: Match on enum constants with body compiles but fails with MatchException
Reviewed-by: liach, vromero
2023-11-07 12:05:58 +00:00
Mandy Chung
6ad093ef12 8319265: TestLoadLibraryDeadlock.java fails on windows-x64 "Unable to load b.jar"
Reviewed-by: jpai, rriggs
2023-11-02 16:38:30 +00:00
Mandy Chung
5207443b36 8317965: TestLoadLibraryDeadlock.java fails with "Unable to load native library.: expected true, was false"
Reviewed-by: rriggs
2023-11-01 22:19:57 +00:00
Andrew Haley
ee6f25b507 8319120: Unbound ScopedValue.get() throws the wrong exception
Reviewed-by: alanb
2023-10-31 12:58:56 +00:00
Kimura Yukihiro
d051f22284 8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Japanese Windows
Reviewed-by: sspitsyn, kevinw
2023-10-30 23:26:16 +00:00
Leo Korinth
b9dcd4b741 8318964: Fix build failures caused by 8315097
Reviewed-by: aboldtch, rcastanedalo
2023-10-27 09:51:22 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Doug Simon
bd22d2381f 8318027: Support alternative name to jdk.internal.vm.compiler
Reviewed-by: erikj, ihse, kvn, alanb, mli
2023-10-23 13:15:31 +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
Leonid Mesnik
fec1d49783 8316452: java/lang/instrument/modules/AppendToClassPathModuleTest.java ignores VM flags
Reviewed-by: sspitsyn
2023-10-10 20:14:56 +00:00
Aleksei Voitylov
cfcbfc6cae 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163
Reviewed-by: simonis, rgiulietti, rriggs
2023-09-28 18:11:40 +00:00
Roger Riggs
1be355734d 8315721: CloseRace.java#id0 fails transiently on libgraal
Reviewed-by: lancea, jpai
2023-09-27 13:30:35 +00:00
Alan Bateman
b24ad7cf57 8316924: java/lang/Thread/virtual/stress/ParkALot.java times out
Reviewed-by: jpai
2023-09-27 12:54:29 +00:00
Coleen Phillimore
3301fb1e8a 8315869: UseHeavyMonitors not used
Reviewed-by: dcubed, alanb
2023-09-20 19:09:02 +00:00
Naoto Sato
7c991cc567 8296246: Update Unicode Data Files to Version 15.1.0
Reviewed-by: erikj, joehw, srl, rriggs
2023-09-20 17:39:57 +00:00
Alan Bateman
4461eeb31d 8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
Reviewed-by: sspitsyn, rpressler
2023-09-19 10:58:12 +00:00
Mandy Chung
5cea53d372 8315810: Reimplement sun.reflect.ReflectionFactory::newConstructorForSerialization with method handles
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: rriggs
2023-09-14 16:10:55 +00:00
Sean Coffey
ff240a9135 8316087: Test SignedLoggerFinderTest.java is still failing
Reviewed-by: dfuchs
2023-09-13 15:05:46 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Sean Coffey
e409d07ae8 8315696: SignedLoggerFinderTest.java test failed
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: dfuchs
2023-09-08 14:25:58 +00:00
shaojin.wensj
4b43c25fe3 8310929: Optimization for Integer.toString
Reviewed-by: redestad, rriggs
2023-09-08 02:13:52 +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
Christoph Langer
69c9ec92d0 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
Reviewed-by: mbaesken, azeller
2023-09-05 08:30:03 +00:00
Sean Coffey
7daae1fb42 8314263: Signed jars triggering Logger finder recursion and StackOverflowError
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: dfuchs
2023-08-30 12:54:57 +00:00
Matthias Baesken
f3aeb024d9 8315213: java/lang/ProcessHandle/TreeTest.java test enhance output of children
Reviewed-by: stuefe, rriggs
2023-08-30 06:46:51 +00:00
Jim Laskey
6864441163 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Reviewed-by: redestad
2023-08-08 19:33:44 +00:00
Alan Bateman
6faf05c6dd 8311989: Test java/lang/Thread/virtual/Reflection.java timed out
Reviewed-by: jpai, mchung
2023-08-02 10:40:25 +00:00
Jim Laskey
6af0af5934 8310913: Move ReferencedKeyMap to jdk.internal so it may be shared
Reviewed-by: naoto, rriggs, mchung, liach
2023-07-31 19:11:14 +00:00
Kevin Walls
4ae5a3e39b 8306446: java/lang/management/ThreadMXBean/Locks.java transient failures
Reviewed-by: cjplummer, sspitsyn
2023-07-28 09:44:04 +00:00
Chen Liang
5d57b5c2f0 6983726: Reimplement MethodHandleProxies.asInterfaceInstance
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: jvernee, mchung
2023-07-20 00:59:28 +00:00
Chen Liang
201e3bcf52 8291065: Creating a VarHandle for a static field triggers class initialization
Reviewed-by: mchung, psandoz
2023-07-18 00:58:25 +00:00
Anthony Scarpino
e737968792 8308398: Move SunEC crypto provider into java.base
Reviewed-by: valeriep, alanb
2023-07-17 17:38:54 +00:00
Joe Darcy
19691fab48 6361826: (reflect) provide method for mapping strings to class object for primitive types
Reviewed-by: rriggs, mchung
2023-07-14 20:18:23 +00:00
Alan Bateman
0d2196f8e5 8311992: Test java/lang/Thread/virtual/JfrEvents::testVirtualThreadPinned failed
Reviewed-by: jpai
2023-07-14 16:01:26 +00:00