Commit Graph

1767 Commits

Author SHA1 Message Date
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
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
Vicente Romero
0b9350e8b6 8322992: Javac fails with StackOverflowError when compiling deeply nested synchronized blocks
Reviewed-by: jlahoda
2024-04-22 16:31:32 +00:00
Hannes Wallnöfer
46a2ce4eb4 8330063: Upgrade jQuery to 3.7.1
Reviewed-by: prappo
2024-04-19 10:03:59 +00:00
Jonathan Gibbons
6ee8407758 8324342: Doclet should default @since for a nested class to that of its enclosing class
Reviewed-by: prappo, hannesw
2024-04-18 18:49:08 +00:00
Archie Cobbs
064628471b 8317376: Minor improvements to the 'this' escape analyzer
Reviewed-by: vromero
2024-04-17 17:35:17 +00:00
Archie Cobbs
192ec387bc 8329595: spurious variable "might not have been initialized" on static final field
Reviewed-by: vromero
2024-04-17 14:31:40 +00:00
Maurizio Cimadamore
03e84178eb 8329948: Remove string template feature
Reviewed-by: jlahoda
2024-04-17 14:10:28 +00:00
Joe Darcy
a293bdff91 8330197: Make javac/diags/example release agnostic
Reviewed-by: jlahoda
2024-04-15 15:11:53 +00:00
Pavel Rappo
7c66465763 8325088: Overloads that differ in type parameters may be lost
Reviewed-by: jjg
2024-04-08 09:50:35 +00:00
Aggelos Biboudis
8efe569b8d 8328747: WrongMethodTypeException with pattern matching on switch on sealed classes
Reviewed-by: cushon, vromero
2024-04-05 08:05:53 +00:00
Joe Darcy
5860a48c71 8329624: Add visitors for preview language features
Reviewed-by: vromero, jlahoda
2024-04-05 05:04:48 +00:00
Archie Cobbs
d80d478182 8328649: Disallow enclosing instances for local classes in constructor prologues
Reviewed-by: vromero
2024-04-04 21:13:49 +00:00
Vicente Romero
8dc43aa0fe 8325217: MethodSymbol.getModifiers() returns SEALED for restricted methods
Reviewed-by: jlahoda
2024-04-03 15:56:44 +00:00
Hannes Wallnöfer
d0a265039a 8324774: Add DejaVu web fonts
8327385: Add JavaDoc option to exclude web fonts from generated documentation

Reviewed-by: ihse, jjg
2024-03-27 12:20:55 +00:00
Aggelos Biboudis
4dfcc6df17 8329115: Crash involving return from inner switch
Reviewed-by: jlahoda
2024-03-27 09:38:25 +00:00
Christian Stein
9bc741d04f 8328339: Static import prevents source launcher from finding class with main method
Reviewed-by: jlahoda
2024-03-22 05:29:20 +00:00
Archie Cobbs
46809b396c 8324736: Invalid end positions for EMPTY_STATEMENT
Reviewed-by: vromero
2024-03-21 22:54:15 +00:00
Aggelos Biboudis
a5a2eca155 8327683: Crash with primitive type pattern and generic expression in instanceof
Reviewed-by: vromero
2024-03-21 08:02:54 +00:00
Pavel Rappo
f140eb4c3a 8297879: javadoc link to preview JEP 1000 has grouping character comma
Reviewed-by: jjg, vromero
2024-03-19 15:23:00 +00:00
Jan Lahoda
5b6b514441 8325362: Allow to create a simple in-memory input JavaFileObject
Reviewed-by: jlaskey, darcy
2024-03-19 09:35:25 +00:00
Aggelos Biboudis
fb390d202c 8327839: Crash with unboxing and widening primitive conversion in switch
Reviewed-by: jlahoda
2024-03-18 13:16:29 +00:00