Commit Graph

656 Commits

Author SHA1 Message Date
Joe Darcy
de7467146f 8266670: Better modeling of access flags in core reflection
Reviewed-by: mchung, rriggs, asotona
2022-06-25 19:09:43 +00:00
Naoto Sato
a716f7934b 8288589: Files.readString ignores encoding errors for UTF-16
Backport-of: 2728770e3d
2022-06-23 17:07:58 +00:00
Naoto Sato
2728770e3d 8288589: Files.readString ignores encoding errors for UTF-16
Reviewed-by: rriggs, iris, alanb
2022-06-23 15:49:43 +00:00
Jesper Wilhelmsson
5b583e4792 Merge 2022-06-22 23:21:49 +00:00
Alan Bateman
7cf71bc2d3 8287982: Concurrent implicit attach from native threads crashes VM
Reviewed-by: dholmes, rehn
2022-06-22 07:48:14 +00:00
Jesper Wilhelmsson
af64d316c0 Merge 2022-06-17 13:46:47 +00:00
Alan Bateman
53bf1bfdab 8286176: Add JNI_VERSION_19 to jni.h and JNI spec
Reviewed-by: dcubed, iris, mchung, dholmes
2022-06-17 05:57:28 +00:00
Yoshiki Sato
fe807217a7 8287917: System.loadLibrary does not work on Big Sur if JDK is built with macOS SDK 10.15 and earlier
Reviewed-by: mchung
2022-06-15 00:12:53 +00:00
David Holmes
d46f404b31 8279047: Remove expired flags in JDK 20
Reviewed-by: kvn, kbarrett, alanb
2022-06-11 05:52:14 +00:00
XenoAmess
e01cd7c3ed 8284780: Need methods to create pre-sized HashSet and LinkedHashSet
Reviewed-by: naoto, bpb, dfuchs, ascarpino
2022-06-09 01:50:54 +00:00
Jatin Bhateja
f347ff9986 8283894: Intrinsify compress and expand bits on x86
Reviewed-by: psandoz, sviswanathan, jrose, kvn
2022-06-06 00:37:54 +00:00
Tim Prinzing
e51ca1dee3 8287171: Refactor null caller tests to a single directory
Reviewed-by: ihse, mchung
2022-06-02 16:45:05 +00:00
Alan Bateman
6ff2d89ea1 8287496: Alternative virtual thread implementation that maps to OS thread
Reviewed-by: rehn, mchung
2022-06-02 09:02:37 +00:00
Raffaello Giulietti
72bcf2aa03 4511638: Double.toString(double) sometimes produces incorrect results
Reviewed-by: aturbanov, darcy, bpb
2022-06-01 21:53:54 +00:00
liach
e0382c5523 8285401: Proxy class initializer should use 3-arg Class.forName to avoid unnecessary class initialization
Reviewed-by: rriggs, mchung
2022-05-31 18:30:39 +00:00
Leonid Mesnik
176bb23de1 8287200: Test java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java timed out after JDK-8287103
Reviewed-by: kevinw, cjplummer, alanb
2022-05-27 05:29:25 +00:00
Alexey Ivanov
9b7e42c0f0 8284209: Replace remaining usages of 'a the' in source code
Reviewed-by: lancea, wetmore, dfuchs, iris, jjg, ihse
2022-05-24 20:08:11 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Leonid Mesnik
110d906432 8287103: java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java fails with Xcomp
Reviewed-by: alanb, kevinw
2022-05-23 14:49:15 +00:00
Ichiroh Takiguchi
890771e708 8285517: System.getenv() returns unexpected value if environment variable has non ASCII character
Reviewed-by: naoto, rriggs
2022-05-19 23:38:15 +00:00
Alan Bateman
8535d51db7 8286788: Test java/lang/Thread/virtual/ThreadAPI.testGetStackTrace3 fails
Reviewed-by: darcy, jpai
2022-05-17 17:10:54 +00:00
Maurizio Cimadamore
2c5d136260 8282191: Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +00:00
Naoto Sato
cc7560e995 8286287: Reading file as UTF-16 causes Error which "shouldn't happen"
Reviewed-by: jpai, bpb, rriggs
2022-05-12 15:58:19 +00:00
Aleksey Shipilev
73c5e993e1 8286473: Drop --enable-preview from Record related tests
Reviewed-by: alanb, jpai, mchung
2022-05-11 08:52:11 +00:00
Aleksey Shipilev
d547a707bf 8286474: Drop --enable-preview from Sealed Classes related tests
Reviewed-by: alanb, jpai, mchung, lancea
2022-05-11 05:27:56 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Matthias Baesken
9d2f591e6a 8285987: executing shell scripts without #! fails on Alpine linux
Reviewed-by: mdoerr, goetz
2022-05-05 12:45:32 +00:00
Kim Barrett
2d8d140214 8285690: CloneableReference subtest should not throw CloneNotSupportedException
Reviewed-by: rriggs, mchung
2022-04-28 15:15:17 +00:00
Naoto Sato
03bcf7b6d1 8283620: System.out does not use the encoding/charset specified in the Javadoc
Reviewed-by: alanb
2022-04-26 16:05:20 +00:00
Stuart Marks
b2c33f0f86 8282120: optimal capacity tests and test library need to be cleaned up
Reviewed-by: naoto
2022-04-20 18:43:54 +00:00
Tim Prinzing
e8016f7443 8281006: Module::getResourceAsStream should check if the resource is open unconditionally when caller is null
Reviewed-by: alanb, erikj, mchung
2022-04-20 17:02:31 +00:00
Claes Redestad
e307bc8694 8285001: Simplify StringLatin1.regionMatches
Reviewed-by: rriggs, naoto
2022-04-19 20:29:16 +00:00
Naoto Sato
eb9c457b41 8284856: Add a test case for checking UnicodeScript entity numbers
Reviewed-by: iris, smarks
2022-04-19 15:51:57 +00:00
Roger Riggs
897d6c0dc7 8282008: Incorrect handling of quoted arguments in ProcessBuilder
Reviewed-by: bchristi
2022-04-18 19:03:50 +00:00
Thomas Stuefe
bb7c97bddf 8284874: Add comment to ProcessHandle/OnExitTest to describe zombie problem
Reviewed-by: rriggs
2022-04-15 09:08:18 +00:00
Paul Sandoz
fbb0916090 8283892: Compress and expand bits
Reviewed-by: alanb, redestad
2022-04-14 20:27:12 +00:00
Andrey Turbanov
48c7549806 8284853: Fix various 'expected' typo
Reviewed-by: bpb, ihse
2022-04-14 18:05:49 +00:00
Naoto Sato
d6b4693c05 8283698: Refactor Locale constructors used in src/test
Reviewed-by: iris, joehw
2022-04-08 15:23:25 +00:00
Daniel Jeliński
5bafcfdc17 8284444: Sting typo
Reviewed-by: kcr, aivanov, mgronlun
2022-04-07 14:55:05 +00:00
Thomas Stuefe
9561b5e041 8284165: Add pid to process reaper thread name
Reviewed-by: rriggs
2022-04-05 03:39:39 +00:00
Jatin Bhateja
003ec21f3c 8279508: Auto-vectorize Math.round API
Reviewed-by: sviswanathan, aph
2022-04-02 18:00:33 +00:00
Xin Liu
bab431cc12 8282429: StringBuilder/StringBuffer.toString() skip compressing for UTF16 strings
Reviewed-by: djelinski, redestad
2022-04-01 04:42:03 +00:00
Roger Riggs
f0282d7def 8279488: ProcessBuilder inherits contextClassLoader when spawning a process reaper thread
Reviewed-by: alanb
2022-03-28 15:44:54 +00:00
Andrey Turbanov
dc5a65ab37 8283426: Fix 'exeption' typo
Reviewed-by: xuelei, iris, dholmes, wetmore, aivanov
2022-03-24 19:52:16 +00:00
Naoto Sato
0ee65e1ff3 8283465: Character.UnicodeBlock.NUM_ENTITIES is out of date
Reviewed-by: bpb, iris, smarks
2022-03-23 19:44:04 +00:00
Joe Darcy
32f8437d85 8283075: Bad IllegalArgumentException message for out of range rank from ClassDesc.arrayType(int)
Reviewed-by: vromero, alanb
2022-03-15 17:33:45 +00:00
Carter Kozak
70bd57ed35 8283049: Fix non-singleton LoggerFinder error message: s/on/one
Reviewed-by: dfuchs
2022-03-14 17:54:19 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Pavel Rappo
eff396f397 8280713: Related to comment inheritance jdk.javadoc cleanup and refactoring
Reviewed-by: jjg
2022-03-01 12:06:11 +00:00
Chris Hegarty
369291b265 8282444: Module finder incorrectly assumes default file system path-separator character
Reviewed-by: alanb
2022-03-01 10:37:35 +00:00
Ichiroh Takiguchi
c5c6058fd5 8282219: jdk/java/lang/ProcessBuilder/Basic.java fails on AIX
Reviewed-by: rriggs
2022-02-26 03:33:29 +00:00
Tyler Steele
58e1882f3c 8282042: [testbug] FileEncodingTest.java depends on default encoding
Adds expected encoding "ISO-8859-1" for AIX in FileEncodingTest.java

Reviewed-by: naoto
2022-02-22 16:50:48 +00:00
Tim Prinzing
a6f8a386ef 8281000: ClassLoader::registerAsParallelCapable throws NPE if caller is null
Reviewed-by: erikj, ihse, mchung, bchristi
2022-02-17 17:34:39 +00:00
Joe Darcy
4c7f8b49a4 8268250: Class.arrayType() for a 255-d array throws undocumented IllegalArgumentException
Reviewed-by: sundar, alanb
2022-02-17 17:12:40 +00:00
Joe Darcy
5ec7898dbf 8281671: Class.getCanonicalName spec should explicitly cover array classes
Reviewed-by: mchung
2022-02-16 22:02:55 +00:00
Tim Prinzing
67763df4dc 8281003: MethodHandles::lookup throws NPE if caller is null
Reviewed-by: ihse, mchung, jrose, alanb
2022-02-16 20:09:46 +00:00
Magnus Ihse Bursie
95f198b2b1 8274980: Improve adhoc build version strings
Reviewed-by: shade, erikj
2022-02-14 10:31:42 +00:00
Joe Darcy
c3179a8760 8281462: Annotation toString output for enum not reusable for source input
Reviewed-by: mchung
2022-02-11 23:24:08 +00:00
Alex Menkov
95fd9d20f3 8281243: Test java/lang/instrument/RetransformWithMethodParametersTest.java is failing
Reviewed-by: sspitsyn, dcubed, lmesnik
2022-02-07 09:08:34 +00:00
Alex Menkov
86c24b319e 8240908: RetransformClass does not know about MethodParameters attribute
Reviewed-by: cjplummer, sspitsyn
2022-02-03 15:51:16 +00:00
Jim Laskey
bde2b3783e 8279954: java/lang/StringBuffer(StringBuilder)/HugeCapacity.java intermittently fails
Reviewed-by: shade, dholmes
2022-02-01 18:45:31 +00:00
Mandy Chung
9c0104b9c9 8221642: AccessibleObject::setAccessible throws NPE when invoked by JNI code with no java frame on stack
Reviewed-by: alanb
2022-02-01 00:09:35 +00:00
Aleksey Shipilev
251351f494 8280889: java/lang/instrument/GetObjectSizeIntrinsicsTest.java fails with -XX:-UseCompressedOops
Reviewed-by: sspitsyn, dcubed
2022-01-31 08:49:02 +00:00
Joe Darcy
40a2ce2033 8270476: Make floating-point test infrastructure more lambda and method reference friendly
Reviewed-by: bpb
2022-01-27 22:57:09 +00:00
Mandy Chung
a183bfb436 8280377: MethodHandleProxies does not correctly invoke default methods with varags
Reviewed-by: alanb
2022-01-26 01:24:15 +00:00
Vicente Romero
2eab86b513 8213905: reflection not working for type annotations applied to exception types in the inner class constructor
Reviewed-by: jlahoda
2022-01-26 00:33:10 +00:00
Aleksey Shipilev
76fe03fe01 8280166: Extend java/lang/instrument/GetObjectSizeIntrinsicsTest.java test cases
Reviewed-by: sspitsyn, lmesnik
2022-01-25 19:23:02 +00:00
Naoto Sato
0a094d7c28 8268081: Upgrade Unicode Data Files to 14.0.0
Reviewed-by: joehw, iris, lancea
2022-01-12 19:17:18 +00:00
Vladimir Kozlov
d3408a46b7 8277964: ClassCastException with no stack trace is thrown with -Xcomp in method handle invocation
Reviewed-by: dlong, mchung, dholmes
2021-12-15 21:45:45 +00:00
David Holmes
c93b24d852 8132785: java/lang/management/ThreadMXBean/ThreadLists.java fails intermittently
Reviewed-by: alanb, kevinw, dcubed, sspitsyn
2021-12-13 21:37:51 +00:00
Vicente Romero
03bf55f620 8277980: ObjectMethods::bootstrap throws NPE when lookup is null
Reviewed-by: jjg
2021-12-08 22:49:43 +00:00
Stuart Marks
d7ad546758 8276422: Add command-line option to disable finalization
Co-authored-by: David Holmes <dholmes@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Reviewed-by: dholmes, kbarrett, bchristi
2021-12-08 00:27:53 +00:00
Joe Darcy
8b042d14b7 8257856: Make ClassFileVersionsTest.java robust to JDK version updates
Reviewed-by: alanb
2021-12-02 18:17:32 +00:00
Maurizio Cimadamore
96e36071b6 8275063: Implementation of Foreign Function & Memory API (Second incubator)
Reviewed-by: erikj, psandoz, jvernee, darcy
2021-11-24 11:51:16 +00:00
Mandy Chung
032067264f 8277451: java.lang.reflect.Field::set on static field with invalid argument type should throw IAE
Reviewed-by: alanb
2021-11-23 17:14:59 +00:00
Roger Riggs
d7012fbd60 8276880: Remove java/lang/RuntimeTests/exec/ExecWithDir as unnecessary
Reviewed-by: alanb
2021-11-09 20:43:51 +00:00
Masanori Yano
e198594753 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently
Reviewed-by: mchung, alanb
2021-11-09 14:28:07 +00:00
Roger Riggs
7e73bca0b7 8276408: Deprecate Runtime.exec methods with a single string command line argument
Reviewed-by: alanb
2021-11-08 16:39:07 +00:00
Jaikiran Pai
396132ff1e 8275509: ModuleDescriptor.hashCode isn't reproducible across builds
Reviewed-by: alanb, ihse
2021-11-05 03:44:45 +00:00
Mandy Chung
21da218387 8274848: LambdaMetaFactory::metafactory on REF_invokeSpecial impl method has incorrect behavior
Reviewed-by: psandoz, dlsmith
2021-10-28 22:24:56 +00:00
Mandy Chung
c6339cb8a2 8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle
8013527: calling MethodHandles.lookup on itself leads to errors

Co-authored-by: Peter Levart <plevart@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mcimadamore, plevart, egahlin, redestad, cjplummer, alanb
2021-10-28 18:32:50 +00:00
Mandy Chung
309acbf0e8 8275703: System.loadLibrary fails on Big Sur for libraries hidden from filesystem
Reviewed-by: dholmes, alanb, mcimadamore
2021-10-28 15:27:26 +00:00
Weijun Wang
d589b664cc 8270380: Change the default value of the java.security.manager system property to disallow
Reviewed-by: lancea, mullan, rriggs
2021-10-21 14:04:48 +00:00
Naoto Sato
8a3e0a1fc1 7008363: TEST_BUG: test/java/lang/StringCoding/CheckEncodings.sh does nothing and is very slow at that
Reviewed-by: iris, lancea, bpb, whuang
2021-10-19 15:54:14 +00:00
Christian Stein
c10de3538b 8262944: Improve exception message when automatic module lists provider class not in JAR file
Reviewed-by: dfuchs, jvernee, alanb, lancea, mchung
2021-10-06 15:11:28 +00:00
Aleksey Shipilev
c0533ef2d8 8274522: java/lang/management/ManagementFactory/MXBeanException.java test fails with Shenandoah
Reviewed-by: alanb, mchung
2021-09-30 06:55:24 +00:00
Aleksey Shipilev
f8415a9b2f 8274523: java/lang/management/MemoryMXBean/MemoryTest.java test should handle Shenandoah
Reviewed-by: mchung, cjplummer
2021-09-30 06:54:13 +00:00
Raffaello Giulietti
da38ced329 8271602: Add Math.ceilDiv() family parallel to Math.floorDiv() family
Reviewed-by: bpb
2021-09-22 16:16:14 +00:00
Roger Riggs
0a361638c5 8272600: (test) Use native "sleep" in Basic.java
Reviewed-by: iklam, dholmes
2021-09-22 13:55:19 +00:00
Naoto Sato
54dee132d1 8273188: java/lang/instrument/BootClassPath/BootClassPathTest.sh fails with "FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed"
Reviewed-by: dholmes, alanb
2021-09-09 19:41:56 +00:00
Roger Riggs
7fd6b0bfd8 8273242: (test) Refactor to use TestNG for RuntimeTests ExecCommand tests
Reviewed-by: naoto, lancea
2021-09-08 20:53:25 +00:00
Brian Burkhalter
e551852801 8271225: Add floorDivExact() method to java.lang.[Strict]Math
Reviewed-by: darcy
2021-08-31 14:42:14 +00:00
Vicente Romero
0609421d4b 8272347: ObjectMethods::bootstrap should specify NPE if any argument except lookup is null
Reviewed-by: mchung, chegar
2021-08-30 21:16:46 +00:00
Naoto Sato
7fc8540907 8260265: UTF-8 by Default
Reviewed-by: alanb, rriggs
2021-08-30 21:13:59 +00:00
Aleksey Shipilev
a3308af060 8272836: Limit run time for java/lang/invoke/LFCaching tests
Reviewed-by: redestad, iignatyev
2021-08-26 06:51:19 +00:00
Claes Redestad
a15b659278 8271732: Regression in StringBuilder.charAt bounds checking
Reviewed-by: alanb, naoto
2021-08-12 07:01:53 +00:00
Brian Burkhalter
0b12e7c82c 8075806: divideExact is missing in java.lang.Math
Reviewed-by: darcy
2021-07-26 17:19:53 +00:00
Brian Burkhalter
1362e09479 8211002: test/jdk/java/lang/Math/PowTests.java skips testing for non-corner-case values
Reviewed-by: darcy
2021-07-22 20:35:05 +00:00
Brian Burkhalter
c0d4efff3c 6506405: Math.abs(float) is slow
Reviewed-by: darcy
2021-07-14 15:50:51 +00:00
Jesper Wilhelmsson
4a7ccf36e9 Merge 2021-07-14 01:07:52 +00:00
Vicente Romero
8583aab374 8270025: DynamicCallSiteDesc::withArgs doesn't throw NPE
Reviewed-by: jvernee, mchung
2021-07-13 17:48:21 +00:00
Yi Yang
07e9052457 8270056: Generated lambda class can not access protected static method of target class
Co-authored-by: NekoCaffeine <nekocaffeine@qq.com>
Reviewed-by: mchung
2021-07-13 02:24:14 +00:00
Yi Yang
afe957cd97 8268698: Use Objects.check{Index,FromToIndex,FromIndexSize} for java.base
Reviewed-by: mchung, rriggs
2021-07-13 02:23:16 +00:00
Jesper Wilhelmsson
dfd6b2be7d Merge 2021-07-08 23:21:00 +00:00
Jan Lahoda
fa08cc62df 8268766: Desugaring of pattern matching enum switch should be improved
Reviewed-by: mcimadamore, psandoz
2021-07-08 11:56:53 +00:00
Jesper Wilhelmsson
270fbcb3f5 Merge 2021-07-08 00:55:53 +00:00
Roger Riggs
c812bbbe8f 8269929: (test) Add diagnostic info to ProceessBuilder/Basic.java for unexpected output
Reviewed-by: iris, bpb, naoto
2021-07-07 21:46:11 +00:00
Aleksei Voitylov
e47803a84f 8266310: deadlock between System.loadLibrary and JNI FindClass loading another class
Reviewed-by: dholmes, plevart, chegar, mchung
2021-07-06 11:15:10 +00:00
Jesper Wilhelmsson
17f53f2f9c Merge 2021-07-02 20:50:11 +00:00
Brian Burkhalter
ca4bea4665 8188044: We need Math.unsignedMultiplyHigh
Reviewed-by: rriggs, aph, darcy
2021-07-02 18:15:35 +00:00
Weijun Wang
c4ea13edd0 8269543: The warning for System::setSecurityManager should only appear once for each caller
Reviewed-by: lancea, alanb, dfuchs
2021-07-02 14:31:50 +00:00
Jesper Wilhelmsson
9def3b068e Merge 2021-07-01 01:01:34 +00:00
Christoph Göttschkes
1da5d4bb78 8269486: CallerAccessTest fails for non server variant
Reviewed-by: dholmes, stuefe, mchung, jvernee
2021-06-30 17:08:36 +00:00
Jesper Wilhelmsson
03d54e6ef1 Merge 2021-06-28 23:00:32 +00:00
Mandy Chung
56240690f6 8269426: Rename test/jdk/java/lang/invoke/t8150782 to accessClassAndFindClass
Reviewed-by: jvernee
2021-06-28 19:52:27 +00:00
Jesper Wilhelmsson
a29953d805 Merge 2021-06-27 23:51:05 +00:00
Mandy Chung
6eb734a60f 8266269: Lookup::accessClass fails with IAE when accessing an arrayClass with a protected inner class as component class
Reviewed-by: chegar, alanb
2021-06-26 18:27:28 +00:00
Mandy Chung
3d0d27ce57 8269351: Proxy::newProxyInstance and MethodHandleProxies::asInterfaceInstance should reject sealed interfaces
Reviewed-by: darcy, alanb
2021-06-26 16:46:57 +00:00
Jesper Wilhelmsson
b6cfca8a89 Merge 2021-06-23 01:05:44 +00:00
Vicente Romero
6b14c8a1e5 8267421: j.l.constant.DirectMethodHandleDesc.Kind.valueOf(int) implementation doesn't conform to the spec regarding REF_invokeInterface handling
Reviewed-by: mchung
2021-06-22 02:08:15 +00:00
Weijun Wang
ef4ba224c4 8268349: Provide clear run-time warnings about Security Manager deprecation
Reviewed-by: lancea, mullan, alanb
2021-06-22 02:06:59 +00:00
Rafael Winterhalter
51f3427e9b 8266791: Annotation property which is compiled as an array property but changed to a single element throws NullPointerException
Reviewed-by: darcy, jfranck
2021-06-14 08:24:24 +00:00
Joe Darcy
b018c450e5 8267630: Start of release updates for JDK 18
8267632: Add source 18 and target 18 to javac
8267631: Add SourceVersion.RELEASE_18

Reviewed-by: iris, erikj, dholmes
2021-06-10 16:22:14 +00:00
Rafael Winterhalter
09243822eb 8266766: Arrays of types that cannot be an annotation member do not yield exceptions
Reviewed-by: darcy, jfranck
2021-06-10 12:02:53 +00:00
Dan Smith
58ba48b7b8 8268192: LambdaMetafactory with invokespecial causes VerificationError
Reviewed-by: psandoz, mchung
2021-06-09 23:57:41 +00:00
Rafael Winterhalter
7b1e4024c0 8266598: Exception values for AnnotationTypeMismatchException are not always informative
Reviewed-by: jfranck
2021-06-09 13:21:32 +00:00
Dan Smith
fc08af58cb 8174222: LambdaMetafactory: validate inputs and improve documentation
Reviewed-by: mchung
2021-06-07 23:21:24 +00:00
Roger Riggs
81600dce24 8191441: (Process) add Readers and Writer access to java.lang.Process streams
Reviewed-by: naoto, alanb
2021-06-07 17:41:09 +00:00
Jan Lahoda
908aca29ca 8262891: Compiler implementation for Pattern Matching for switch (Preview)
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore, forax, godin, psandoz, mchung
2021-06-07 07:01:30 +00:00
Jonathan Gibbons
3482cb87fd 8266254: Update to use jtreg 6
8265020: tests must be updated for new TestNG module name

Reviewed-by: lancea, erikj, mchung, naoto, alanb, iris, chegar
2021-06-02 21:20:12 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Maurizio Cimadamore
a223189b06 8264774: Implementation of Foreign Function and Memory API (Incubator)
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +00:00
Nils Eliasson
d47a77d2d5 8267773: PhaseStringOpts::int_stringSize doesn't handle min_jint correctly
Co-authored-by: Adam Farley <afarley@openjdk.org>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Nils Eliasson <neliasso@openjdk.org>
Reviewed-by: roland
2021-06-02 07:57:08 +00:00
Joe Darcy
0ae4ceb413 8244146: javac changes for JEP 306
8266399: Core libs update for JEP 306

Reviewed-by: sadayapalam, bpb, naoto
2021-06-01 21:59:39 +00:00
Claes Redestad
95b1fa7a88 8267529: StringJoiner can create a String that breaks String::equals
Reviewed-by: naoto
2021-05-27 23:09:22 +00:00
Jorn Vernee
3623abb7f6 8263087: Add a MethodHandle combinator that switches over a set of MethodHandles
Reviewed-by: redestad
2021-05-27 12:28:10 +00:00
Mark Reinhold
e63023546a 8266851: Implement JEP 403: Strongly Encapsulate JDK Internals
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: mchung, alanb, hseigel
2021-05-26 20:55:53 +00:00
Weijun Wang
640a2afda3 8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Vicente Romero
0fa9223f34 8260517: implement Sealed Classes as a standard feature in Java
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Reviewed-by: dholmes, mcimadamore, jlahoda
2021-05-20 09:11:08 +00:00
Claes Redestad
9760dba71c 8267321: Use switch expression for VarHandle$AccessMode lookup
Reviewed-by: jvernee
2021-05-19 15:23:44 +00:00
Vladimir Kozlov
2effdd1b67 8267112: JVMCI compiler modules should be kept upgradable
Reviewed-by: mchung, erikj, dnsimon
2021-05-17 20:11:01 +00:00
Harold Seigel
e14b026841 8243287: Removal of Unsafe::defineAnonymousClass
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Mandy Chung
cc03734b99 8266925: Add a test to verify that hidden class's members are not statically invocable
Reviewed-by: alanb
2021-05-12 00:53:04 +00:00
Mandy Chung
dfe8833f5d 8266783: java/lang/reflect/Proxy/DefaultMethods.java fails with jtreg 6
Reviewed-by: iris
2021-05-11 20:22:39 +00:00
Daniel Fuchs
3fcdc50e44 8266646: Add more diagnostic to java/lang/System/LoggerFinder/modules
Reviewed-by: naoto, iris, bpb, lancea
2021-05-07 12:56:49 +00:00
Alex Menkov
52f1db6b6f 8262002: java/lang/instrument/VerifyLocalVariableTableOnRetransformTest.sh failed with "TestCaseScaffoldException: DummyClassWithLVT did not match .class file"
Reviewed-by: coleenp, sspitsyn
2021-05-06 18:34:12 +00:00
Lance Andersen
fcedfc8a3b 8266579: Update test/jdk/java/lang/ProcessHandle/PermissionTest.java & test/jdk/java/sql/testng/util/TestPolicy.java
Reviewed-by: joehw, naoto, bpb
2021-05-06 14:13:45 +00:00
Naoto Sato
4e96b31042 8265989: System property for the native character encoding name
Reviewed-by: iris, joehw, rriggs
2021-05-04 17:30:14 +00:00
Fernando Guallini
ec383abc1d 8183374: Refactor java/lang/Runtime shell tests to java
Reviewed-by: coffeys
2021-04-28 14:00:23 +00:00
Vladimir Kozlov
4785e112ae 8264806: Remove the experimental JIT compiler
Reviewed-by: iignatyev, erikj
2021-04-27 06:23:21 +00:00