789 Commits

Author SHA1 Message Date
Mandy Chung
9c202a5a8f 8302260: VarHandle.describeConstable() fails to return a nominal descriptor for static public fields
Reviewed-by: alanb, psandoz
2023-02-14 21:15:14 +00:00
Tagir F. Valeev
94e7cc8587 8301226: Add clamp() methods to java.lang.Math and to StrictMath
Reviewed-by: qamai, darcy
2023-02-14 05:39:07 +00:00
Varada M
cb8107303e 8300139: [AIX] Use pthreads to avoid JNI_createVM call from primordial thread
Reviewed-by: dholmes, stuefe
2023-02-13 11:12:36 +00:00
Joe Darcy
8049e59a5c 8301833: Add wide-ranging tests for FDLIBM porting
Reviewed-by: bpb, alanb
2023-02-12 17:45:55 +00:00
Joe Darcy
919a6da2a7 8301202: Port fdlibm log to Java
Reviewed-by: bpb
2023-02-11 02:15:46 +00:00
Mandy Chung
c8cc7b67db 8301704: Shorten the number of GCs in UnloadingTest.java to verify a class loader not being unloaded
Reviewed-by: rriggs
2023-02-09 00:38:08 +00:00
Alan Bateman
ecf21a9a24 8301767: Convert virtual thread tests to JUnit
Reviewed-by: cstein, lancea, jpai
2023-02-08 14:56:28 +00:00
Joe Darcy
34493248c0 8301396: Port fdlibm expm1 to Java
Reviewed-by: bpb
2023-02-04 00:48:26 +00:00
Joe Darcy
ee0f5b5ed0 8301392: Port fdlibm log1p to Java
Reviewed-by: bpb
2023-02-02 20:36:34 +00:00
Joe Darcy
63bb2ce8de 8301205: Port fdlibm log10 to Java
Reviewed-by: bpb
2023-01-30 20:33:01 +00:00
Mandy Chung
7aaf76c529 8300924: Method::invoke throws wrong exception type when passing wrong number of arguments to method with 4 or more parameters
Reviewed-by: rriggs
2023-01-27 17:13:54 +00:00
Mandy Chung
86fed79670 8300693: Lower the compile threshold and reduce the iterations of warmup loop in VarHandles tests
Reviewed-by: jvernee, dholmes, psandoz
2023-01-23 17:58:53 +00:00
Claes Redestad
e37078f5bb 8282664: Unroll by hand StringUTF16 and StringLatin1 polynomial hash loops
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: vlivanov, sviswanathan, luhenry
2023-01-17 21:06:22 +00:00
Alan Bateman
fb147aaea1 8300228: ModuleReader.find on exploded module throws if resource name maps to invalid file path
Reviewed-by: jpai, chegar, cstein
2023-01-17 16:25:11 +00:00
Mandy Chung
a86b6f6fde 8299183: Invokers.checkExactType passes parameters to create WMTE in opposite order
Reviewed-by: iris, jpai
2023-01-10 17:05:33 +00:00
Alan Bateman
11fd651ab1 8298875: A module requiring "java.base" with flags ACC_SYNTHETIC should be rejected
Reviewed-by: jpai, mchung
2022-12-27 07:51:04 +00:00
Jesper Wilhelmsson
c5a4a7a679 Merge 2022-12-20 11:40:56 +00:00
Daniel D. Daugherty
f07acfc166 8298699: java/lang/reflect/IllegalArgumentsTest.java times out with slowdebug bits
Reviewed-by: iris
2022-12-19 23:08:56 +00:00
Alan Bateman
2c69c41d48 8298894: java/lang/Thread/virtual/stress/Skynet.java timed out and threw OutOfMemoryError
Reviewed-by: eosterlund
2022-12-19 18:06:19 +00:00
Sergey Bylokhov
2bb727c4ea 8290899: java/lang/String/StringRepeat.java test requests too much heap on windows x86
Reviewed-by: jpai, phh
2022-12-16 00:43:56 +00:00
Alan Bateman
d35e840024 8297295: Remove ThreadGroup.allowThreadSuspension
Reviewed-by: jpai, smarks, chegar, darcy
2022-12-08 18:17:58 +00:00
Jaikiran Pai
2f426cd68b 8298375: Bad copyright header in test/jdk/java/lang/Character/Supplementary.java
Reviewed-by: alanb
2022-12-08 11:02:21 +00:00
Sergey Tsypanov
b9346e149e 8298033: Character.codePoint{At|Before}(char[], int, int) doesn't do JavaDoc-specified check
Reviewed-by: rriggs
2022-12-08 10:21:56 +00:00
Alan Bateman
1166c8e2c0 8296896: Change virtual Thread.yield to use external submit
Reviewed-by: jpai, rpressler
2022-12-08 07:37:32 +00:00
Daniel Jeliński
27bbe7be2c 8297976: Remove sun.net.ProgressMonitor and related classes
8240275: Occasional errors in HttpURLConnection due to race with GC

Reviewed-by: jpai, dfuchs, michaelm
2022-12-07 08:56:10 +00:00
Yude Lin
f5ad515db0 8297247: Add GarbageCollectorMXBean for Remark and Cleanup pause time in G1
Reviewed-by: tschatzl, ayang
2022-12-06 07:16:27 +00:00
Maurizio Cimadamore
73baadceb6 8295044: Implementation of Foreign Function and Memory API (Second Preview)
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Daniel D. Daugherty
6e5470525d 8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.java subtest
8297367: disable TestRedirectLinks.java in slowdebug mode
8297369: disable Fuzz.java in slowdebug mode

Reviewed-by: sspitsyn, jjg, cjplummer, lmesnik
2022-12-02 22:29:21 +00:00
Jie Fu
11ba7591df 8297992: Tests fail after JDK-8297215 due to lack of @enablePreview
Reviewed-by: darcy
2022-12-02 06:04:10 +00:00
Joe Darcy
770ff5a812 8297215: Update libs tests to use @enablePreview
Reviewed-by: alanb, sspitsyn
2022-12-01 20:38:16 +00:00
Jaikiran Pai
0ce182723b 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: alanb, lancea, dfuchs
2022-11-30 00:37:31 +00:00
Ryan Ernst
50f9043c69 8297451: ProcessHandleImpl should assert privilege when modifying reaper thread
Reviewed-by: chegar, alanb
2022-11-26 20:04:59 +00:00
Claes Redestad
87d1097d9b 8297530: java.lang.IllegalArgumentException: Negative length on strings concatenation
Reviewed-by: enikitin, alanb
2022-11-24 17:40:30 +00:00
Matthias Baesken
bcc6b12b71 8296945: PublicMethodsTest is slow due to dependency verification with debug builds
Reviewed-by: mchung, thartmann
2022-11-21 07:41:11 +00:00
Joe Darcy
6fd1442123 8296743: Tighten Class.getModifiers spec for array classes
Reviewed-by: rriggs, mchung, heidinga
2022-11-18 21:51:55 +00:00
Roger Riggs
9c39932672 8294899: Process.waitFor() throws IllegalThreadStateException when a process on Windows returns an exit code of 259
Reviewed-by: alanb, jpai
2022-11-14 14:17:46 +00:00
Adam Sotona
e802b124b7 8296196: Class.getEnumConstants() throws undocumented ClassCastException and NullPointerException
Reviewed-by: darcy
2022-11-10 06:20:57 +00:00
Smita Kamath
07946aa49c 8289552: Make intrinsic conversions between bit representations of half precision values and floats
Reviewed-by: kvn, sviswanathan, jbhateja
2022-10-11 17:06:19 +00:00
Alex Menkov
c1166a304d 8289561: java/lang/instrument/NativeMethodPrefixAgent.java fails with "ERROR: Injection failure: java.lang.UnsupportedOperationException: Records requires ASM8"
Reviewed-by: lmesnik, cjplummer, sspitsyn
2022-10-07 17:13:30 +00:00
Alan Bateman
1fda8421b9 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system
Reviewed-by: sspitsyn, cjplummer
2022-10-07 08:14:43 +00:00
Alan Bateman
0ad6803ac2 8293810: Remove granting of RuntimePermission("stopThread") from tests
Reviewed-by: dfuchs, mullan, mchung, chegar
2022-10-07 06:15:38 +00:00
Alan Bateman
ad7b7d40ce 8294697: java/lang/Thread/virtual/ThreadAPI.testGetStackTrace2 failed with non-empty stack trace
Reviewed-by: dfuchs, jpai
2022-10-06 07:59:43 +00:00
Alan Bateman
b8f9a915a2 8293940: Some tests for virtual threads take too long
Reviewed-by: dfuchs
2022-09-30 16:41:33 +00:00
Alan Bateman
1abf971b93 8249627: Degrade Thread.suspend and Thread.resume
Reviewed-by: cjplummer, sspitsyn, dholmes, jpai
2022-09-27 11:43:59 +00:00
Roger Riggs
5ae6bc23e8 8234262: Unmask SIGQUIT in a child process
Reviewed-by: bpb, dholmes, vtewari, stuefe, alanb
2022-09-26 15:55:22 +00:00
Aleksey Shipilev
0b56b82243 8293991: java/lang/Float/Binary16ConversionNaN.java fails on silent NaN conversions
Reviewed-by: darcy
2022-09-23 09:03:18 +00:00
Alan Bateman
acd5bcfc88 8289610: Degrade Thread.stop
Reviewed-by: rriggs, cjplummer, jpai, mchung, prr, mullan
2022-09-23 07:55:29 +00:00
Adam Sotona
0fa7d9e8cd 8278863: Add method ClassDesc::ofInternalName
Reviewed-by: jvernee
2022-09-20 07:50:03 +00:00
Joe Darcy
1dc5039fed 8293626: AccessFlag::locations(ClassFileFormatVersion cffv) does not throw NPEx when parameter is null
8293627: AccessFlag::locations(ClassFileFormatVersion cffv) and locations() results are inconsistent

Reviewed-by: mchung
2022-09-13 16:51:01 +00:00
Roger Riggs
0c61bf109f 8293282: LoadLibraryUnloadTest.java fails with "Too few cleared WeakReferences"
Reviewed-by: mchung, jpai
2022-09-12 13:26:15 +00:00