Commit Graph

1846 Commits

Author SHA1 Message Date
Maurizio Cimadamore
8a4ea09fa2 8336492: Regression in lambda serialization
Reviewed-by: vromero
2024-09-13 12:04:31 +00:00
Jan Lahoda
5e822c24bb 8334870: javac does not accept classfiles with certain permitted RuntimeVisibleParameterAnnotations and RuntimeInvisibleParameterAnnotations attributes
Reviewed-by: vromero
2024-09-10 06:13:36 +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
a18d9d84cd 8326616: tools/javac/patterns/Exhaustiveness.java intermittently Timeout signalled after 480 seconds
Reviewed-by: abimpoudis
2024-09-09 05:34:09 +00:00
Jonathan Gibbons
98020e4799 8338133: Cleanup direct use of new HtmlTree
Reviewed-by: hannesw
2024-09-05 15:46:38 +00:00
Jan Lahoda
b8727181f3 8338301: Error recovery and reporting should be improved for erroneous implicitly declared classes
Reviewed-by: cstein, vromero
2024-08-30 08:11:49 +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
ff59532ddd 8338678: Erroneous parameterized type represented as <any>
Reviewed-by: vromero
2024-08-29 06:28:05 +00:00
Jan Lahoda
0b4a7d5342 8324859: Improve error recovery
Reviewed-by: mcimadamore
2024-08-29 06:25:27 +00:00
Hannes Wallnöfer
55851a312b 8281533: Odd "preview" label in link/linkplain
Reviewed-by: jjg
2024-08-19 18:05:37 +00:00
Chen Liang
961e944fa7 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-08-16 15:48:54 +00:00
Jan Lahoda
fbe4f05636 8337976: Insufficient error recovery in parser for switch inside class body
Reviewed-by: vromero
2024-08-14 12:20:17 +00:00
Chen Liang
6af1d6ff21 8335927: Revisit AnnotationConstantValueEntry and AnnotationValue.OfConstant
Reviewed-by: asotona
2024-08-13 15:14:06 +00:00
Liam Miller-Cushon
9e282e5c96 8337998: CompletionFailure in getEnclosingType attaching type annotations
Reviewed-by: vromero
2024-08-13 15:05:49 +00:00
Liam Miller-Cushon
8d08314783 8337795: Type annotation attached to incorrect type during class reading
Reviewed-by: vromero
2024-08-12 17:15:39 +00:00
SendaoYan
04b146a31f 8337334: Test tools/javac/7142086/T7142086.java timeout with fastdebug binary
Reviewed-by: vromero
2024-08-12 15:43:40 +00:00
Vicente Romero
61d1dc5953 8334466: Ambiguous method call with generics may cause FunctionDescriptorLookupError
Reviewed-by: jlahoda
2024-08-12 13:52:57 +00:00
Hannes Wallnöfer
1407160786 8313931: Javadoc: links to type parameters actually generate links to classes
Reviewed-by: jjg
2024-08-09 09:24:50 +00:00
Jonathan Gibbons
7deee74525 8335122: Reorganize internal low-level support for HTML in jdk.javadoc
Reviewed-by: hannesw
2024-08-02 17:53:23 +00:00
Archie Cobbs
a86244f83c 6381729: Javadoc for generic constructor doesn't document type parameter
Reviewed-by: jjg, liach
2024-07-29 19:16:39 +00:00
Vicente Romero
34ee06f511 8332850: javac crashes if container for repeatable annotation is not found
Reviewed-by: darcy
2024-07-25 13:41:32 +00:00
Chen Liang
a2a236f904 8335939: Hide element writing across the ClassFile API
Reviewed-by: asotona
2024-07-23 12:11:47 +00:00
Liam Miller-Cushon
31a85f1744 8336491: Unnecessary boxing conversions in void-returning lambdas
Reviewed-by: mcimadamore
2024-07-22 17:25:42 +00:00
Aggelos Biboudis
c1fdc04ad7 8336781: Erroneous exhaustivity check with boolean switch
Reviewed-by: vromero
2024-07-22 10:29:34 +00:00
Christian Stein
ad498f57fc 8335896: Source launcher should set TCCL
Reviewed-by: alanb
2024-07-21 08:49:16 +00:00
Liam Miller-Cushon
939fe000a9 8336786: VerifyError with lambda capture and enclosing instance references
Reviewed-by: mcimadamore
2024-07-19 21:52:45 +00:00
Vicente Romero
245c086648 8332600: javac uses record components source position during compilation
Reviewed-by: jlahoda
2024-07-18 15:54:41 +00:00
Pavel Rappo
6df7acbc74 8299080: Wrong default value of snippet lang attribute
Reviewed-by: jjg
2024-07-17 12:20:17 +00:00
Maurizio Cimadamore
9dfcd75ec4 8334121: Anonymous class capturing two enclosing instances fails to compile
Reviewed-by: jlahoda, vromero
2024-07-15 15:28:24 +00:00
Maurizio Cimadamore
4635531950 8335159: Move method reference to lambda desugaring before Lower
8336320: NullPointerException: Cannot invoke Type.getTag because type is null after JDK-8334037

Reviewed-by: jlahoda, vromero
2024-07-15 14:24:27 +00:00
Jan Lahoda
2b0adfc2de 8335817: javac AssertionError addLocalVar checkNull
Reviewed-by: vromero, mcimadamore
2024-07-15 11:26:33 +00:00
Pavel Rappo
4166e53452 8318106: Generated HTML for snippet does not always contain an id
Reviewed-by: liach
2024-07-12 23:11:04 +00:00
Jan Lahoda
559826c292 8332474: Tighten up ToolBox' JavacTask to not silently accept javac crash as a failure
Reviewed-by: vromero
2024-07-12 12:17:21 +00:00
Chen Liang
b3ef2a600c 8336036: Synthetic documentation for a record's equals is incorrect for floating-point types
Reviewed-by: prappo
2024-07-11 20:51:27 +00:00
Liam Miller-Cushon
9eb611e7f0 8334055: Unhelpful 'required: reference' diagnostics after JDK-8043226
Reviewed-by: vromero
2024-07-11 19:53:52 +00:00
Jan Lahoda
537d20afbf 8335766: Switch case with pattern matching and guard clause compiles inconsistently
Reviewed-by: abimpoudis
2024-07-10 09:55:56 +00:00
Liam Miller-Cushon
babf6df7d9 8334757: AssertionError: Missing type variable in where clause
Reviewed-by: jlahoda, vromero
2024-07-08 20:09:07 +00:00
Jorn Vernee
cec222e460 8317611: Add a tool like jdeprscan to find usage of restricted methods
Reviewed-by: alanb, ihse, mcimadamore, jlahoda, jwaters
2024-07-08 12:39:33 +00:00
Jan Lahoda
3e3f83f62c 8335385: javac crash on unattributed piece of AST
Reviewed-by: vromero
2024-07-04 08:36:56 +00:00
Chen Liang
0db9bc57de 8335290: Rename ClassFile::transform to ClassFile::transformClass
Reviewed-by: asotona
2024-07-03 05:03:56 +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
Evemose
f3b69da55a 8335136: Underscore as parameter name in one-parameter functional types fails to compile
Reviewed-by: jlahoda
2024-06-27 07:45:18 +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
Maurizio Cimadamore
4ce8822b6c 8334037: Local class creation in lambda in pre-construction context crashes javac
8333313: NullPointerException in lambda instantiating an inner local class in prologue
8333766: Stack overflow with anonymous class in super() parameter
8334679: Wrong bug number in regression test for JDK-8334252

Co-authored-by: Archie Cobbs <acobbs@openjdk.org>
Reviewed-by: jlahoda, vromero
2024-06-26 09:12:02 +00:00
Chen Liang
7e55ed3b10 8333748: javap crash - Fatal error: Unmatched bit position 0x2 for location CLASS
Reviewed-by: asotona
2024-06-21 22:38:38 +00:00
Nizar Benalla
5cad0b4df7 8322708: Global HTML attributes are not allowed
Reviewed-by: jjg
2024-06-20 11:53:02 +00:00
Archie Cobbs
7b3a96d570 8334488: Improve error for illegal early access from nested class
Reviewed-by: mcimadamore
2024-06-19 10:45:34 +00:00
Archie Cobbs
e227c7e37d 8334258: Compiler erronousely allows access to instance variable in argument expression of a constructor invocation
Reviewed-by: mcimadamore
2024-06-18 23:23:39 +00:00
SendaoYan
472b935b44 8334332: TestIOException.java fails if run by root
Reviewed-by: prappo
2024-06-18 10:24:43 +00:00
Archie Cobbs
d4c1373717 8334043: VerifyError when inner class is accessed in prologue
Reviewed-by: mcimadamore
2024-06-18 08:42:44 +00:00