Commit Graph

180 Commits

Author SHA1 Message Date
Jan Lahoda
c3776db498 8342936: Enhance java.io.IO with parameter-less println() and readln()
Reviewed-by: asotona, jpai, naoto
2024-11-14 08:22:51 +00:00
Jan Lahoda
5ca6698ba4 8341176: Permit access to diagnostics for transient snippets
Reviewed-by: vromero
2024-11-11 09:34:43 +00:00
Matthias Baesken
cb5c60b530 8339591: Mark jdk/jshell/ExceptionMessageTest.java intermittent
Reviewed-by: lucy
2024-09-09 06:42:05 +00:00
Jan Lahoda
8c8b5801fd 8338281: jshell does not run shutdown hooks
Reviewed-by: asotona
2024-08-29 10:06:08 +00:00
Jan Lahoda
99d2bbf767 8334433: jshell.exe runs an executable test.exe on startup
Reviewed-by: jpai
2024-06-28 09:31:14 +00:00
Hannes Greule
3796fdfced 8328536: javac - crash on unknown type referenced in yield statement
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: jlahoda
2024-06-26 23:17:32 +00:00
Jan Lahoda
57bfd0e393 8332065: Calling readLine(null...) or readPassword(null...) on System.console() hangs jshell
Reviewed-by: prappo
2024-05-30 06:02:42 +00:00
Jan Lahoda
9a72068ef0 8332230: jshell throws AssertionError when processing annotations
Reviewed-by: asotona
2024-05-30 06:02:31 +00:00
Nizar Benalla
ae999eae7e 8129418: JShell: better highlighting of errors in imports on demand
Reviewed-by: jlahoda
2024-05-17 06:39:53 +00:00
Jan Lahoda
5a8df4106a 8331535: Incorrect prompt for Console.readLine
8331681: Test that jdk.internal.io.JdkConsole does not interpret prompts

Reviewed-by: naoto, asotona
2024-05-13 08:16:30 +00:00
Jan Lahoda
aaa90b3005 8327476: Upgrade JLine to 3.26.1
Reviewed-by: ihse, vromero
2024-05-09 13:54:04 +00:00
Jan Lahoda
f2c4a41304 8328481: Implement JEP 476: Module Import Declarations (Preview)
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Reviewed-by: mcimadamore, vromero
2024-05-06 05:49:28 +00:00
Jan Lahoda
a407dc9cbb 8327512: JShell does not work correctly when a class named Object or Throwable is defined
Reviewed-by: asotona
2024-04-26 07:23:49 +00:00
Jonathan Gibbons
1d52234e19 8330704: Clean up non-standard use of /** comments in some langtools tests
Reviewed-by: iris
2024-04-22 21:52:22 +00:00
Maurizio Cimadamore
03e84178eb 8329948: Remove string template feature
Reviewed-by: jlahoda
2024-04-17 14:10:28 +00:00
Jan Lahoda
48717d63cc 8326333: jshell <TAB> completion on arrays is incomplete
Reviewed-by: vromero
2024-03-18 08:25:06 +00:00
Aggelos Biboudis
e0d98dd301 8325257: jshell reports NoSuchFieldError with instanceof primitive type
Reviewed-by: mcimadamore
2024-02-07 06:59:48 +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
Jan Lahoda
57a65fe436 8322003: JShell - Incorrect type inference in lists of records implementing interfaces
Reviewed-by: vromero
2024-01-08 14:09:27 +00:00
Jan Lahoda
f0cfd361bd 8322532: JShell : Unnamed variable issue
Reviewed-by: asotona
2024-01-05 11:34:03 +00:00
Archie Cobbs
640d7f31b2 8314327: Issues with JShell when using "local" execution engine
Reviewed-by: jlahoda
2023-12-05 17:57:43 +00:00
Jan Lahoda
2fae07f53f 8319311: JShell Process Builder should be configurable
Reviewed-by: asotona
2023-11-28 12:32:23 +00:00
Jan Lahoda
14193a049e 8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"
8312140: jdk/jshell tests failed with JDI socket timeouts

Reviewed-by: asotona
2023-11-23 07:15:43 +00:00
Jan Lahoda
45e68ae207 8319532: jshell - Non-sealed declarations sometimes break a snippet evaluation
Reviewed-by: asotona
2023-11-07 15:27:48 +00:00
Aggelos Biboudis
2bf1863e24 8315588: JShell does not accept underscore from JEP 443 even with --enable-preview
Reviewed-by: jlahoda
2023-10-17 12:55:31 +00:00
Jan Lahoda
3094fd1ac5 8314662: jshell shows duplicated signatures of javap
Reviewed-by: asotona, cstein
2023-09-04 08:36:41 +00:00
Aggelos Biboudis
79a4ac791c 8309235: Unnamed Variables (_) can't be used in JShell
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: asotona
2023-06-08 07:25:25 +00:00
Christian Stein
547a8b40b3 8306560: Add TOOLING.jsh load file
Reviewed-by: jlahoda
2023-05-28 08:14:37 +00:00
Jim Laskey
4aa65cbeef 8285932: Implementation of JEP 430 String Templates (Preview)
Reviewed-by: mcimadamore, rriggs, darcy
2023-05-10 11:34:01 +00:00
Weibing Xiao
746f8d1333 8305714: Add an extra test for JDK-8292755
Reviewed-by: coffeys
2023-05-05 13:19:20 +00:00
Jan Lahoda
4bf1987856 8296454: System.console() shouldn't return null in jshell
Reviewed-by: vromero
2023-04-05 10:35:01 +00:00
Jan Lahoda
4619e8bae8 8297587: Upgrade JLine to 3.22.0
Reviewed-by: vromero
2023-03-02 08:27:44 +00:00
Patricio Chilano Mateo
83bea26df4 8300575: JVMTI support when using alternative virtual thread implementation
Reviewed-by: lmesnik, sspitsyn, alanb
2023-02-22 15:42:53 +00:00
Archie L. Cobbs
8c01b6e66b 8221580: Confusing diagnostic for assigning a static final field in a constructor
Reviewed-by: vromero
2023-02-06 18:22:22 +00:00
Jan Lahoda
522fa13274 8301580: Error recovery does not clear returnResult
Reviewed-by: vromero
2023-02-06 12:25:06 +00:00
Adam Sotona
257f667afb 8296789: <TAB>-completion in jshell fails to expose synthetic bridge methods
Reviewed-by: jlahoda
2023-01-11 09:21:28 +00:00
Adam Sotona
030e88d638 8299829: In jshell, the output of "0".repeat(49999)+"2" ends with a '0'
Reviewed-by: jlahoda
2023-01-11 08:30:48 +00:00
Jan Lahoda
9bcdfc4285 8298425: System.console().readLine() hangs in jshell
Reviewed-by: naoto, alanb
2022-12-14 11:36:04 +00:00
Julian Waters
a71d91b96f 8298067: Persistent test failures after 8296012
Reviewed-by: alanb
2022-12-04 17:32:20 +00:00
Aleksey Shipilev
34fcd83c5e 8297821: jdk/jshell/Test8294583.java fails on some platforms
Reviewed-by: alanb, jlahoda
2022-12-01 08:11:54 +00:00
Aggelos Biboudis
7af6b4b54c 8296012: jshell crashes on mismatched record pattern
Reviewed-by: vromero
2022-11-29 19:33:18 +00:00
Bo Zhang
33587ffd35 8292625: jshell crash on "var a = a"
Reviewed-by: jlaskey, jlahoda
2022-11-29 13:57:56 +00:00
Aggelos Biboudis
4f65570204 8294583: JShell: NPE in switch with non existing record pattern
Reviewed-by: jlahoda
2022-11-25 12:31:47 +00:00
Jan Lahoda
91cd8a0366 8297525: jdk/jshell/ToolBasicTest.java fails after JDK-8295984
Reviewed-by: dcubed
2022-11-23 20:21:31 +00:00
Jan Lahoda
bc59f2a4ac 8295984: Remove unexpected JShell feature
Reviewed-by: cstein, sundar
2022-11-23 14:43:41 +00:00
Adam Sotona
c49e48417d 8294739: jdk/jshell/ToolShiftTabTest.java timed out
Reviewed-by: jlahoda
2022-11-15 12:13:36 +00:00
Adam Sotona
a45c9af124 8295814: jdk/jshell/CommandCompletionTest.java fails with "lists don't have the same size expected [2] but found [1]"
Reviewed-by: jlahoda
2022-11-15 12:09:59 +00:00
Jan Lahoda
8e9cfeb17c 8294431: jshell reports error on initialisation of static final field of anonymous class
Reviewed-by: sundar
2022-10-03 07:23:42 +00:00
Adam Sotona
b4e1e416da 8293000: Review running times of jshell regression tests
Reviewed-by: darcy
2022-09-30 08:57:50 +00:00
Jan Lahoda
fbd8b42d70 8293591: Remove use of Thread.stop from jshell tests
Reviewed-by: alanb
2022-09-15 11:27:15 +00:00