Joe Darcy
b5a4744f90
8300857: State return value for Types.asElement(NoType) explicitly
...
Reviewed-by: jjg
2023-01-26 02:14:07 +00:00
Jesper Wilhelmsson
81d523d382
Merge
2023-01-24 22:28:07 +00:00
Jan Lahoda
a3ed7e94a2
8300623: Lambda deserialization regression involving Enum method reference
...
Reviewed-by: mcimadamore, vromero
2023-01-24 06:40:06 +00:00
Hannes Wallnöfer
b2d3622115
8299896: Reduce enum values of HtmlLinkInfo.Kind
...
Reviewed-by: jjg
2023-01-20 14:50:35 +00:00
Jesper Wilhelmsson
fc9f8baf56
Merge
2023-01-18 23:29:12 +00:00
Jan Lahoda
c1b4212a53
8300195: Fall-through issue occurs when using record pattern in switch statements
...
Reviewed-by: vromero
2023-01-18 10:43:53 +00:00
Jonathan Gibbons
7071397ed9
8299224: TestReporterStreams.java has bad indentation for legal header
...
Reviewed-by: prappo
2023-01-17 23:43:35 +00:00
Archie L. Cobbs
382fe51b6d
8163229: several regression tests have a main method that is never executed
...
Reviewed-by: vromero
2023-01-17 04:43:40 +00:00
Jesper Wilhelmsson
33f3bd8fad
Merge
2023-01-11 21:50:42 +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
636976ada8
8299849: Revert JDK-8294461: wrong effectively final determination by javac
...
Reviewed-by: vromero
2023-01-11 07:52:18 +00:00
Archie L. Cobbs
679e485838
8043251: Bogus javac error: required: no arguments, found: no arguments
...
Reviewed-by: vromero
2023-01-09 18:38:15 +00:00
Jesper Wilhelmsson
5393dc9a48
Merge
2023-01-07 02:05:59 +00:00
Pavel Rappo
284c94e20d
8298525: javadoc crashes with "UnsupportedOperationException: Not yet implemented" in SeeTaglet.inherit
...
Reviewed-by: jjg
2023-01-05 22:43:20 +00:00
Archie L. Cobbs
44be5edf5a
8219810: javac throws NullPointerException
...
Reviewed-by: vromero
2023-01-04 17:50:32 +00:00
Archie L. Cobbs
4c0f24ef71
8064931: tools/javac/scope/DupUnsharedTest.java needs to be updated to add the bug id
...
Reviewed-by: vromero
2023-01-04 16:00:22 +00:00
Jonathan Gibbons
2294f225c0
8286311: remove boilerplate from use of runTests
...
Reviewed-by: hannesw
2022-12-22 21:20:43 +00:00
Jonathan Gibbons
5d330f5285
8299045: tools/doclint/BadPackageCommentTest.java fails after JDK-8298943
...
Reviewed-by: vromero
2022-12-19 21:09:01 +00:00
Archie L. Cobbs
40cb431fee
8298943: Missing escapes for single quote marks in compiler.properties
...
Reviewed-by: jjg
2022-12-19 19:48:13 +00:00
Jesper Wilhelmsson
3696711efa
Merge
2022-12-16 15:48:24 +00:00
Jan Lahoda
22a6b59102
8298727: Trees.getPath may crash for unnamed package
...
Reviewed-by: vromero
2022-12-15 11:33:56 +00:00
Jesper Wilhelmsson
a130c8a668
Merge
2022-12-14 21:47:29 +00:00
Jan Lahoda
9bcdfc4285
8298425: System.console().readLine() hangs in jshell
...
Reviewed-by: naoto, alanb
2022-12-14 11:36:04 +00:00
Jesper Wilhelmsson
715bf70459
Merge
2022-12-09 22:00:12 +00:00
Jan Lahoda
52fffdd2c8
8298463: tools/javac/modules/EdgeCases.java fails on Windows after JDK-8297988
...
Reviewed-by: jjg
2022-12-09 16:41:26 +00:00
Jan Lahoda
133ad8e173
8297988: NPE in JavacTypes.getOverriddenMethods from doclint
...
Reviewed-by: vromero, jjg
2022-12-09 11:11:46 +00:00
Joe Darcy
175e3d3ff3
8296149: Start of release updates for JDK 21
...
8296150: Add SourceVersion.RELEASE_21
8296151: Add source 21 and target 21 to javac
Reviewed-by: dholmes, iris, erikj, vromero, jlahoda
2022-12-08 16:04:00 +00:00
Jan Lahoda
cf63f2e3ea
8298184: Incorrect record component type in record patterns
...
Reviewed-by: vromero
2022-12-07 12:03:50 +00:00
Christian Stein
2cdc019565
8298178: Update to use jtreg 7.1.1
...
Reviewed-by: erikj
2022-12-06 20:51:06 +00:00
Aggelos Biboudis
1e468320dc
8297602: Compiler crash with type annotation and generic record during pattern matching
...
Reviewed-by: jlahoda
2022-12-06 13:00:10 +00:00
Srikanth Adayapalam
ee9ba74564
8295184: Printing messages with a RecordComponentElement does not include position
...
Reviewed-by: vromero
2022-12-06 04:23:40 +00:00
Hannes Wallnöfer
6a7a0db587
8296619: Upgrade jQuery to 3.6.1
...
Reviewed-by: jjg
2022-12-05 16:23:01 +00:00
Jan Lahoda
2300ed458d
8291769: Translation of switch with record patterns could be improved
...
Reviewed-by: vromero
2022-12-05 12:04:23 +00:00
Jan Lahoda
777fb52ef5
8297974: ClassCastException in com.sun.tools.javac.comp.AttrRecover.doRecovery
...
Reviewed-by: vromero
2022-12-05 09:33:42 +00:00
Julian Waters
a71d91b96f
8298067: Persistent test failures after 8296012
...
Reviewed-by: alanb
2022-12-04 17:32:20 +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
Christian Stein
c70d1e1bd3
8296710: Update to use jtreg 7.1
...
Reviewed-by: erikj, alanb, jjg
2022-12-01 16:49:40 +00:00
Aggelos Biboudis
2cb64a7557
8294943: Implement record patterns in enhanced for
...
8296802: Parse errors when deconstructing a record using the enhanced for loop of JEP 432
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-12-01 12:40:09 +00:00
Jan Lahoda
b60cce6f3b
8297118: Change IncompatibleClassChangeError to MatchException for exhaustive switch statements and switch expressions
...
Reviewed-by: vromero
2022-12-01 10:51:57 +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
Jan Lahoda
756dd5bb0d
8294942: Compiler implementation for Record Patterns (Second Preview)
...
8294945: Compiler implementation for Pattern Matching for switch (Fourth Preview)
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-12-01 08:02:40 +00:00
Jonathan Gibbons
3b513a4f5c
8297802: display of @spec tags should mimic that of @see tags
...
Reviewed-by: prappo
2022-12-01 00:26:27 +00:00
Jan Lahoda
b52611bc36
8295401: Error recovery in module-info.java could be improved
...
Reviewed-by: vromero
2022-11-30 09:49:51 +00:00
Jan Lahoda
9e80cf9c37
8296390: Incremental build failed with a NPE
...
Reviewed-by: vromero
2022-11-30 09:47:48 +00:00
Jaikiran Pai
e10778acce
8297695: Fix typos in test/langtools files
...
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: prappo, jjg, iris
2022-11-30 00:42:40 +00:00
Aggelos Biboudis
7af6b4b54c
8296012: jshell crashes on mismatched record pattern
...
Reviewed-by: vromero
2022-11-29 19:33:18 +00:00
Hannes Wallnöfer
69ede5baed
8293177: Verify version numbers in legal files
...
Reviewed-by: jjg
2022-11-29 14:46:35 +00:00
Bo Zhang
33587ffd35
8292625: jshell crash on "var a = a"
...
Reviewed-by: jlaskey, jlahoda
2022-11-29 13:57:56 +00:00
Weijun Wang
2deb318c9f
8297065: DerOutputStream operations should not throw IOExceptions
...
Reviewed-by: mullan, valeriep
2022-11-29 12:57:46 +00:00