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
Christian Stein
99fefec092
8331431: Update to use jtreg 7.4
...
Reviewed-by: ihse, erikj, jpai
2024-06-18 07:25:17 +00:00
Archie Cobbs
dae0bda9d0
8334252: Verifier error for lambda declared in early construction context
...
Reviewed-by: mcimadamore
2024-06-14 14:53:05 +00:00
Joe Darcy
75dc2f8518
8330182: Start of release updates for JDK 24
...
8330183: Add SourceVersion.RELEASE_24
8330184: Add source 24 and target 24 to javac
Reviewed-by: iris, vromero, asotona, dholmes
2024-06-06 16:01:57 +00:00
Jorn Vernee
02f240415c
8333560: -Xlint:restricted does not work with --release
...
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: vromero, mcimadamore
2024-06-06 15:18:18 +00:00
Liam Miller-Cushon
7564949a56
8291643: Consider omitting type annotations from type error diagnostics
...
Reviewed-by: vromero
2024-06-05 19:10:13 +00:00
Hannes Wallnöfer
765ad0e40b
8331947: Preview creates checkbox for JEP-less preview feature
...
Reviewed-by: liach, prappo
2024-06-05 12:39:56 +00:00
Jan Lahoda
1f09467230
8327368: javac crash when computing exhaustiveness checks
...
Reviewed-by: vromero
2024-06-05 05:45:59 +00:00
Hannes Wallnöfer
a706e35b12
8332039: Cannot invoke "com.sun.source.util.DocTreePath.getTreePath()" because "path" is null
...
Reviewed-by: jjg
2024-06-04 17:21:33 +00:00
Liam Miller-Cushon
612b6896d2
8043226: Better diagnostics for non-applicable type annotations
...
Reviewed-by: vromero
2024-06-04 17:18:53 +00:00
Jan Lahoda
8d3de45f4d
8325168: JShell should support Markdown comments
...
Reviewed-by: jjg
2024-06-04 11:54:49 +00:00
Vicente Romero
e650bdf465
8332507: compilation result depends on compilation order
...
Reviewed-by: mcimadamore
2024-05-31 17:34:51 +00:00
Christian Stein
681137cad2
8333131: Source launcher should work with service loader SPI
...
Reviewed-by: jjg
2024-05-31 15:02:55 +00:00
Hannes Wallnöfer
1e04ee6d57
8331579: Reference to primitive type fails without error or warning
...
Reviewed-by: jjg, prappo
2024-05-31 13:19:15 +00:00
Jan Lahoda
32ee252c45
8333169: javac NullPointerException record.type
...
Reviewed-by: vromero
2024-05-31 13:14:44 +00:00
Hannes Wallnöfer
e930bc1fbb
8329537: Nested and enclosing classes should be linked separately in breadcrumb navigation
...
Reviewed-by: jjg
2024-05-31 13:11:23 +00:00
Adam Sotona
a7864af08a
8182774: Verify code in javap
...
Reviewed-by: mcimadamore
2024-05-31 08:48:14 +00:00
Jan Lahoda
2ab8ab5613
8332858: References with escapes have broken positions after they are transformed
...
Reviewed-by: vromero, jjg
2024-05-31 05:54:39 +00:00
Joe Darcy
79f49983d3
8321314: Reinstate disabling the compiler's default active annotation processing
...
Reviewed-by: vromero
2024-05-30 19:57:21 +00:00
Jan Lahoda
4acafb809c
8333107: javac fails with an exception when processing broken lambda
...
Reviewed-by: asotona
2024-05-30 13:53:27 +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
Jan Lahoda
66d9bfce29
8332725: Binding patterns with inferred type have erroneous node in the AST
...
Reviewed-by: asotona
2024-05-30 06:01:18 +00:00
Archie Cobbs
87a06b6ce4
8325805: Compiler Implementation for Flexible Constructor Bodies (Second Preview)
...
Reviewed-by: vromero, jlahoda
2024-05-28 13:15:20 +00:00
Jan Lahoda
08face8c4c
8332890: Module imports don't work inside the same module
...
Reviewed-by: vromero
2024-05-27 14:19:26 +00:00
Evemose
617edf3f0d
8332497: javac prints an AssertionError when annotation processing runs on program with module imports
...
Reviewed-by: liach, vromero, jlahoda
2024-05-27 08:54:20 +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
Pavel Rappo
c099f14f07
8305457: Implement java.io.IO
...
Reviewed-by: naoto, smarks, jpai, jlahoda
2024-05-24 13:37:14 +00:00
Christian Stein
f16265d69b
8332226: "Invalid package name:" from source launcher
...
Reviewed-by: alanb
2024-05-24 12:24:15 +00:00
Jan Lahoda
af056c1676
8332106: VerifyError when using switch pattern in this(...) or super(...)
...
Reviewed-by: abimpoudis, vromero
2024-05-24 06:27:45 +00:00
Jan Lahoda
4e6d851f3f
8325324: Implement JEP 477: Implicitly Declared Classes and Instance Main Methods (Third Preview)
...
Reviewed-by: asotona, vromero, mcimadamore
2024-05-23 09:43:29 +00:00
Aggelos Biboudis
c4557a7b0d
8332463: Byte conditional pattern case element dominates short constant case element
...
Reviewed-by: vromero
2024-05-22 19:48:23 +00:00
Daniel D. Daugherty
b4d1454085
8332740: [BACKOUT] JDK-8331081 'internal proprietary API' diagnostics if --system is configured to an earlier JDK version
...
Reviewed-by: mikael, prr, jlahoda
2024-05-22 19:06:06 +00:00
Liam Miller-Cushon
2170e99cb4
8331081: 'internal proprietary API' diagnostics if --system is configured to an earlier JDK version
...
Reviewed-by: jlahoda
2024-05-22 18:02:37 +00:00
Vicente Romero
9bfae8891e
8332297: annotation processor that generates records sometimes fails due to NPE in javac
...
Reviewed-by: jlahoda
2024-05-21 08:53:26 +00:00
Jonathan Gibbons
6e805127f8
8332545: Fix handling of HTML5 entities in Markdown comments
...
Reviewed-by: prappo, erikj
2024-05-21 00:39:46 +00:00
Jonathan Gibbons
0a58cffe88
8298405: Implement JEP 467: Markdown Documentation Comments
...
8329296: Update Elements for '///' documentation comments
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Reviewed-by: prappo, darcy, hannesw
2024-05-17 17:42:46 +00:00
Vicente Romero
39a55e9779
8324809: compiler can crash with SOE while proving if two recursive types are disjoint
...
Reviewed-by: mcimadamore
2024-05-17 14:16:11 +00:00
Hannes Wallnöfer
9bb6169a1c
8317621: --add-script should support JavaScript modules
...
Reviewed-by: jjg
2024-05-17 12:36:06 +00:00
Chen Liang
d4c2edf2c9
8331855: Convert jdk.jdeps jdeprscan and jdeps to use the Classfile API
...
Reviewed-by: asotona
2024-05-17 12:26:22 +00:00
Chen Liang
beeffd4671
8332109: Convert remaining tests using com.sun.tools.classfile to ClassFile API
...
Reviewed-by: asotona
2024-05-17 12:24:39 +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
Hannes Wallnöfer
fa043aec42
8294880: Review running time of jdk/internal/shellsupport/doc/JavadocHelperTest.java
...
Reviewed-by: jjg
2024-05-15 11:47:49 +00:00
Jan Lahoda
d04ac14bdb
8332236: javac crashes with module imports and implicitly declared class
...
Reviewed-by: vromero
2024-05-15 05:43:18 +00:00
Aggelos Biboudis
ea5eb74a65
8326404: Assertion error when trying to compile switch with fallthrough with pattern
...
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: vromero
2024-05-14 06:41:58 +00:00
Hannes Wallnöfer
1484153c1a
8332080: Update troff man page for javadoc
...
Reviewed-by: jjg
2024-05-13 09:48:23 +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
Aggelos Biboudis
3e3f7cf4bd
8330387: Crash with a different types patterns (primitive vs generic) in instanceof
...
Reviewed-by: vromero
2024-05-13 07:33:42 +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
Chen Liang
c60474b122
8323707: Adjust Classfile API's type arg model to better represent the embodied type
...
Reviewed-by: asotona
2024-05-03 11:08:33 +00:00
Jan Lahoda
8771015d7e
8331027: JDK's ct.sym file packs corrupted module-info classes
...
Reviewed-by: asotona
2024-05-02 14:32:03 +00:00
Christian Stein
4a78906db1
8331537: Test code should not use the "Classpath" exception clause
...
Reviewed-by: jpai
2024-05-02 11:13:41 +00:00
Jan Lahoda
44dc85001d
8331212: Error recovery for broken switch expressions could be improved
...
Reviewed-by: asotona
2024-05-01 12:19:11 +00:00
Hannes Wallnöfer
aee91fbc70
8296175: Output warning if generated docs contain diagnostic markers
...
Reviewed-by: jjg
2024-04-26 19:59:57 +00:00
Jonathan Gibbons
a920af233a
8303689: javac -Xlint could/should report on "dangling" doc comments
...
Reviewed-by: vromero, ihse, prr
2024-04-26 19:47:06 +00:00
Adam Sotona
ffd850f17e
8309881: Qualified name of a type element depends on its origin (source vs class)
...
Reviewed-by: darcy, jlahoda
2024-04-26 08:26:22 +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
Christian Stein
d43654e573
8331030: langtools/tools/javac/tree tests fail with SOE with fastdebug and -Xcomp
...
Reviewed-by: jjg, vromero
2024-04-25 06:49:45 +00:00