Commit Graph

165 Commits

Author SHA1 Message Date
Chen Liang
681a57f960 8343064: ClassFormatError: Illegal class name from InnerClassLambdaMetafactory
Reviewed-by: jvernee
2024-11-14 17:55:41 +00:00
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Roberto Castañeda Lozano
0b467e902d 8334060: Implementation of Late Barrier Expansion for G1
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Siyao Liu <siyao.l.liu@oracle.com>
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Sergey Nazarkin <snazarki@openjdk.org>
Reviewed-by: kvn, tschatzl, fyang, ayang, kbarrett
2024-10-03 08:36:33 +00:00
Tobias Hartmann
47c10694c6 8340812: LambdaForm customization via MethodHandle::updateForm is not thread safe
Reviewed-by: liach, shade, jvernee
2024-09-26 06:03:29 +00:00
SendaoYan
2f7ba781bf 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment
Reviewed-by: jpai
2024-08-19 04:44:24 +00:00
Hannes Greule
9fe6e2316a 8335638: Calling VarHandle.{access-mode} methods reflectively throws wrong exception
Reviewed-by: liach
2024-08-01 14:41:25 +00:00
Chen Liang
a9f5e76a65 8335905: CompoundElement API cleanup
Reviewed-by: asotona
2024-07-14 15:01:51 +00:00
Christian Stein
e6c5aa7a6c 8336012: Fix usages of jtreg-reserved properties
Reviewed-by: jjg
2024-07-10 15:12:49 +00:00
Chen Liang
0db9bc57de 8335290: Rename ClassFile::transform to ClassFile::transformClass
Reviewed-by: asotona
2024-07-03 05:03:56 +00:00
Adam Sotona
3ca2bcd402 8335060: ClassCastException after JDK-8294960
Reviewed-by: liach, jpai
2024-07-01 11:51:13 +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
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
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
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
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
Adam Sotona
2b00ac0d02 8308753: Class-File API transition to Preview
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +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
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
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +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
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
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
Mandy Chung
9bfe415f66 8305104: Remove the old core reflection implementation
Reviewed-by: dholmes, alanb
2023-06-13 19:41:38 +00:00
Chen Liang
75dcc4ef94 8307508: IndirectVarHandle.isAccessModeSupported throws NPE
Reviewed-by: mchung
2023-06-13 17:05:52 +00:00
Mandy Chung
74dc50b7f0 8301721: lookup.findSpecial fails on Object method call from interface
Reviewed-by: alanb
2023-06-06 16:19:46 +00:00
Chen Liang
78aa5f3fc1 8299505: findVirtual on array classes incorrectly restricts the receiver type
Reviewed-by: mchung
2023-05-31 16:28:26 +00:00
Mandy Chung
de7fd1c306 8307944: ClassFileDumper should only load java.nio.file.Path if enabled
Reviewed-by: rriggs
2023-05-30 21:01:12 +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
Mandy Chung
dd59471798 8304846: Provide a shared utility to dump generated classes defined via Lookup API
Reviewed-by: jvernee
2023-04-04 18:07:02 +00:00
David M. Lloyd
b527edd338 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
2023-02-27 17:18:44 +00:00
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
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
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
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
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
Vicente Romero
46e6e41b9a 8293051: Further refactor javac after removal of -source/-target/--release 7
Reviewed-by: darcy, mcimadamore
2022-09-08 14:36:19 +00:00
Aleksey Shipilev
6e6202c14d 8292407: Improve Weak CAS VarHandle/Unsafe tests resilience under spurious failures
Reviewed-by: yadongwang, fyang, vkempik, psandoz
2022-09-01 09:22:56 +00:00
Aleksey Shipilev
e8bc87956a 8292443: Weak CAS VarHandle/Unsafe tests should test always-failing cases
Reviewed-by: psandoz
2022-08-17 18:13:49 +00:00
Ryan Ernst
80bd8c3549 8290504: Close streams returned by ModuleReader::list
Reviewed-by: mchung, chegar
2022-07-21 18:01:25 +00:00
Xue-Lei Andrew Fan
82a8bd7e92 8287596: Reorg jdk.test.lib.util.ForceGC
Reviewed-by: rriggs
2022-07-06 14:23:44 +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
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
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
Aleksey Shipilev
73c5e993e1 8286473: Drop --enable-preview from Record related tests
Reviewed-by: alanb, jpai, mchung
2022-05-11 08:52:11 +00:00
Daniel Jeliński
5bafcfdc17 8284444: Sting typo
Reviewed-by: kcr, aivanov, mgronlun
2022-04-07 14:55:05 +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
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