Jan Lahoda
de6472c441
8267459: Pasting Unicode characters into JShell does not work.
...
Reviewed-by: vromero
2021-06-02 09:55:06 +00:00
Jan Lahoda
2c8e94f680
8247403: JShell: No custom input (e.g. from GUI) possible with JavaShellToolBuilder
...
Reviewed-by: vromero
2021-05-31 09:25:16 +00:00
Jan Lahoda
f632254943
8267221: jshell feedback is incorrect when creating method with array varargs parameter
...
Reviewed-by: vromero
2021-05-26 11:12:22 +00:00
Jan Lahoda
8072ea5628
8238173: jshell - switch statement with a single default not return cause syntax error
...
Reviewed-by: vromero
2021-04-29 14:54:39 +00:00
Jan Lahoda
325eecbccb
8255273: jshell crashes with UnsupportedOperationException: Should not get here.
...
Reviewed-by: vromero
2021-04-15 16:17:35 +00:00
Jan Lahoda
e43aee58e1
8262900: ToolBasicTest fails to access HTTP server it starts
...
Reviewed-by: sundar, vromero
2021-04-15 15:16:11 +00:00
Jan Lahoda
6c0fbf70e8
8254196: jshell infinite loops when startup script contains System.exit call
...
Reviewed-by: sundar
2021-03-24 10:34:31 +00:00
Jan Lahoda
0675473486
8252409: JShell: Intersection types cause NoSuchFieldError
...
Reviewed-by: vromero
2021-01-29 09:19:14 +00:00
Jan Lahoda
0ec2c969df
8259820: JShell does not handle -source 8 properly
...
Reviewed-by: sundar
2021-01-15 12:45:22 +00:00
Jan Lahoda
77ca1031a0
8257236: can't use var with a class named Z
...
Reviewed-by: sundar
2021-01-13 11:27:52 +00:00
Dan Smith
48d8650ae1
8257845: Integrate JEP 390
...
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Mandy Chung
56b15fbbcc
8159746: (proxy) Support for default methods
...
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: darcy, alanb, plevart
2020-12-01 17:23:07 +00:00
Jan Lahoda
cdef186c11
8232856: jshell crashes when pressing up arrow after /!
...
Reviewed-by: psandoz
2020-11-05 09:12:07 +00:00
Vicente Romero
8bde2f4e3d
8255013: implement Record Classes as a standard feature in Java, follow-up
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: jlahoda
2020-10-28 17:18:46 +00:00
Vicente Romero
1da28de82f
8255009: delta apply fixes for JDK-8246774 and JDK-8253455, pushed too soon
...
Reviewed-by: jlahoda
2020-10-19 15:55:54 +00:00
Vicente Romero
c17d58516f
8246774: implement Record Classes as a standard feature in Java
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: coleenp, jlahoda, sspitsyn, chegar
2020-10-18 18:54:33 +00:00
Jan Lahoda
68da63dcde
8240658: Code completion not working for lambdas in method invocations that require type inference
...
Reviewed-by: vromero
2020-09-14 08:13:10 +00:00
Jan Lahoda
c98417ebca
8250840: some tests use --enable-preview unnecessarily
...
Reviewed-by: vromero
2020-09-09 07:51:43 +00:00
Robert Field
261eb76ea2
8247456: JShell: Handling of top-level final, abstract, and static modifiers
...
Reviewed-by: jlahoda
2020-09-02 09:37:25 -07:00
Robert Field
9390446081
8249566: jshell tool: retained modes from JDK-13 or prior cause confusing messages to be generated for records
...
Reviewed-by: jlahoda
2020-08-01 14:18:06 -07:00
Robert Field
6e198fec0b
8249197: JShell: variable declaration with unicode type name gets garbled result
...
8249199: JShell: Consistent representation of unicode
Reviewed-by: jlahoda
2020-07-23 10:37:06 -07:00
Robert Field
f6c537f8bc
8247438: JShell: When FailOverExecutionControlProvider fails the proximal cause is not shown
...
8237743: test/langtools/jdk/jshell/FailOverExecutionControlTest.java fails No ExecutionControlProvider with name 'nonExistent' and parameter keys: []
8199646: JShell tests: jdk/jshell/FailOverDirectExecutionControlTest.java failed with java.lang.UnsupportedOperationException
Reviewed-by: jlahoda
2020-06-26 11:56:21 -07:00
Jan Lahoda
61e44cdb6a
8247932: JShell crashes when typing text block
...
Setting up Log before running javac's scanner, so that errors reported from the scanner are properly ignored.
Reviewed-by: rfield
2020-06-22 12:03:11 +02:00
Goetz Lindenmaier
bf1e6903a2
8233014: Enable ShowCodeDetailsInExceptionMessages by default
...
Reviewed-by: coleenp, stuefe, dholmes
2020-06-18 22:03:18 +02:00
Jan Lahoda
358714bcd0
8246353: Sealed types not supported by jshell
...
Reviewed-by: rfield, vromero
2020-06-08 16:59:43 +02:00
Jan Lahoda
3beee2cd93
8242919: Paste locks up jshell
...
Not waiting until the full block is available while reading from input.
Reviewed-by: rfield
2020-05-08 09:16:12 +02:00
Jan Lahoda
1a35219f01
8243557: Inconvenient span for multi-catch error diagnostics
...
Reviewed-by: vromero
2020-05-04 12:28:35 +02:00
Jan Lahoda
f08b5a8006
8241950: JShell could support auto-indent
...
Reviewed-by: rfield
2020-04-20 12:36:09 +02:00
Athijegannathan Sundararajan
b09a8ee657
8242931: Few more tests that use nashorn have been missed
...
Reviewed-by: dfuchs, dholmes
2020-04-17 09:50:02 +05:30
Jan Lahoda
e44dcf09c0
8234896: Tab completion does not work for method references in jshell
...
Reviewed-by: rfield
2020-03-04 13:43:28 +01:00
Jan Lahoda
acd2d32913
8239536: Can't use java.util.List
object after importing java.awt.List
...
Using full qualified names for synthetic types; ensuring the user is warned when a variable becomes undefined due to a dependency change.
Reviewed-by: rfield
2020-02-24 11:43:04 +01:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Jan Lahoda
6fc159f17c
8236715: JShell: Records with errors are not properly corraled
...
Correctly corralling record classes, and providing correct messages to the user.
Reviewed-by: rfield, vromero
2020-01-13 10:49:58 +01:00
Robert Field
dca6e34397
8210527: JShell: NullPointerException in jdk.jshell.Eval.translateExceptionStack
...
8232855: jshell missing word in /help help
Reviewed-by: jlahoda
2019-12-11 14:39:04 -08:00
Jan Lahoda
308aea3e0b
8235474: JShell does not handle records properly
...
Reviewed-by: vromero, rfield
2019-12-11 13:08:42 +01:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Robert Field
6fe98143bc
8200701: jdk/jshell/ExceptionsTest.java fails on Windows, after JDK-8198801
...
8159740: JShell: corralled declarations do not have correct source to wrapper mapping
8212167: JShell : Stack trace of exception has wrong line number
Build corralled (recoverable undeclared definitions) declarations from position translating wraps....
Reviewed-by: jlahoda
2019-06-14 20:30:10 -07:00
Toshio Nakamura
0f42d9870e
8224184: jshell got IOException at exiting with AIX
...
Reviewed-by: rfield, jlahoda
2019-06-13 08:42:47 +02:00
Jan Lahoda
1d050ec2e9
8223782: jshell parser should handle Text Blocks
...
Completion analysis should detect text blocks properly.
Reviewed-by: jlaskey, rfield
2019-06-07 10:09:41 +02:00
Robert Field
4bc1fdf83c
8199623: JShell: corralling not restored on drop
...
Reviewed-by: jlahoda
2019-06-03 08:21:04 -07:00
Robert Field
0be741c70b
8223688: JShell: crash on the instantiation of raw anonymous class
...
Reviewed-by: jlahoda
2019-06-01 14:09:59 -07:00
Robert Field
50971d6ea7
8080353: JShell: Better error message on attempting to add default method
...
Special handling for errors with "default" modifier
Reviewed-by: jlahoda
2019-06-01 13:41:01 -07:00
Jan Lahoda
55e1da1813
8221759: Crash when completing \"java.io.File.path\"
...
Do not provide documentation for inaccessible elements.
Reviewed-by: rfield
2019-05-09 11:58:26 +02:00
Jim Laskey
11b29c8de1
8215681: Remove compiler support for Raw String Literals from JDK 12
...
Reviewed-by: mcimadamore, jlahoda, sundar
2019-01-09 11:13:00 -04:00
Jan Lahoda
c526b4b225
8215438: jshell tool: Ctrl-D causes EOF
...
Properly handling EndOfFileException so that jshell can be closed with Ctrl-D.
Reviewed-by: rfield
2019-01-08 16:31:27 +01:00
Robert Field
2ebc9f99e5
8215099: jshell tool: /help representation of ctrl/meta characters inconsistent
...
Reviewed-by: jlahoda
2018-12-15 17:13:39 -08:00
Jan Lahoda
cc116b1259
8214491: Upgrade to JLine 3.9.0
...
Upgrading JLine to 3.9.0 and updating jshell and jjs to the new JLine.
Reviewed-by: rfield, sundar
2018-12-11 11:29:28 +01:00
Vicente Romero
9846588b31
8210031: implementation for JVM Constants API
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, mcimadamore, darcy, mchung, rriggs, dholmes, forax
2018-12-09 12:36:24 -05:00
Robert Field
020877da03
8213725: JShell NullPointerException due to class file with unexpected package
...
Reviewed-by: jlahoda
2018-11-29 17:45:29 -08:00
Robert Field
37ef084d73
8210808: jshell tool: only considers the first snippet of the external editor
...
Reviewed-by: jlahoda, sundar
2018-10-29 08:34:33 -07:00