739 Commits

Author SHA1 Message Date
Jonathan Gibbons
99b8ed9dbf 8281217: Source file launch with security manager enabled fails
Reviewed-by: sundar
2022-02-23 16:49:28 +00:00
Pavel Rappo
f5120b764c 8282056: Clean up com.sun.tools.javac.util.GraphUtils
Reviewed-by: jjg, mcimadamore, vromero
2022-02-18 13:09:44 +00:00
Jan Lahoda
e3365041bd 8280866: SuppressWarnings does not work properly in package-info and module-info
Reviewed-by: darcy, vromero
2022-02-18 11:04:11 +00:00
Christian Stein
394ce5f948 8280825: Modules that "provide" ToolProvider should document the name that can be used
Reviewed-by: jjg, lancea, alanb
2022-02-15 17:55:50 +00:00
Joe Darcy
4032fe76dc 8281238: TYPE_USE annotations not printed in correct position in toString output
Reviewed-by: vromero
2022-02-11 21:52:16 +00:00
Jan Lahoda
4ff5824f5b 8281100: Spurious "variable might not have been initialized" with sealed class switch
Reviewed-by: vromero
2022-02-11 12:11:29 +00:00
Pavel Rappo
1f92660937 8281057: Fix doc references to overriding in JLS
Reviewed-by: darcy, iris, dholmes, cjplummer
2022-02-03 14:55:08 +00:00
Angelos Bimpoudis
2b13341500 8036019: Insufficient alternatives listed in some errors produced by the parser
Reviewed-by: vromero
2022-01-24 15:09:17 +00:00
Jan Lahoda
18c9cb0789 8280067: Incorrect code generated for unary - on char operand
Reviewed-by: jlaskey, vromero
2022-01-24 13:52:16 +00:00
Jesper Wilhelmsson
4616c13c2f Merge 2022-01-20 01:18:38 +00:00
Jan Lahoda
be0538d7c8 8278834: Error "Cannot read field "sym" because "this.lvar[od]" is null" when compiling
Reviewed-by: vromero
2022-01-19 19:03:02 +00:00
Vicente Romero
9e3f68d8f4 8279290: symbol not found error, implicit lambdas and diamond constructor invocations
Reviewed-by: jlahoda
2022-01-18 15:50:22 +00:00
Pavel Rappo
f180530935 8279918: Fix various doc typos
Reviewed-by: kevinw, lancea, mullan, sspitsyn, naoto, jlahoda, azvegint, egahlin, jjg
2022-01-14 16:10:14 +00:00
Liam Miller-Cushon
cfee4512f7 8273914: Indy string concat changes order of operations
Reviewed-by: vromero, jlahoda
2022-01-11 15:45:15 +00:00
Jesper Wilhelmsson
d9b1bb5860 Merge 2022-01-10 17:06:23 +00:00
Hannes Wallnöfer
354c904798 8273452: DocTrees.getDocCommentTree should be specified as idempotent
Reviewed-by: jjg
2022-01-10 12:04:01 +00:00
Jan Lahoda
8f969a1362 8278930: javac tries to compile a file twice via PackageElement.getEnclosedElements
Reviewed-by: vromero
2022-01-10 09:30:55 +00:00
Jan Lahoda
642ab34a60 8278373: JavacTrees.searchMethod finds incorrect match
Reviewed-by: vromero, jjg
2022-01-10 08:33:46 +00:00
Aleksey Shipilev
4aefd8b8b6 8279528: Unused TypeEnter.diag after JDK-8205187
Reviewed-by: vromero
2022-01-10 08:30:39 +00:00
Vicente Romero
456bd1ed1c 8211004: javac is complaining about non-denotable types and refusing to generate the class file
Reviewed-by: jlahoda
2022-01-06 05:58:17 +00:00
Vicente Romero
ff2ca4f21b 8205187: javac/javadoc should not crash if no java.lang; crash message obsolete
Reviewed-by: jjg
2021-12-23 19:12:24 +00:00
Andrey Turbanov
022e4f0f1c 8275242: Remove redundant stream() call before forEach in jdk.compiler
Reviewed-by: vromero
2021-12-17 18:52:37 +00:00
Liam Miller-Cushon
068a450954 8278825: Unused variable for diagnostic in Resolve
Reviewed-by: vromero
2021-12-15 00:26:17 +00:00
David Holmes
624f3094b8 8278275: Initial nroff manpage generation for JDK 19
Reviewed-by: erikj, jjg, iris
2021-12-13 21:36:24 +00:00
Christian Stein
23fd9f15da 8271079: JavaFileObject#toUri and multi-release jars
Reviewed-by: jjg, lancea, alanb
2021-12-13 12:00:47 +00:00
Jesper Wilhelmsson
61736f81fb Merge 2021-12-10 18:42:51 +00:00
Jan Lahoda
aed3ea2043 8277634: Incorrect method name in invokedynamic
Reviewed-by: jlaskey
2021-12-10 09:01:58 +00:00
Jonathan Gibbons
ed5d53ae0e 8273179: Update nroff pages in JDK 18 before RC
Reviewed-by: dholmes
2021-12-10 02:50:37 +00:00
Joe Darcy
09831e7aa4 8273146: Start of release updates for JDK 19
8277511: Add SourceVersion.RELEASE_19
8277513: Add source 19 and target 19 to javac

Reviewed-by: dholmes, alanb, erikj, iris, mikael, ihse
2021-12-09 17:01:59 +00:00
Jonathan Gibbons
5a80abf706 8272944: Use snippets in jdk.javadoc documentation
Reviewed-by: hannesw
2021-12-08 19:50:14 +00:00
Vicente Romero
3c2951f738 8275771: JDK source code contains redundant boolean operations in jdk.compiler and langtools
Reviewed-by: jlahoda
2021-12-07 23:31:09 +00:00
Pavel Rappo
061017a9f4 8273175: Add @since tags to the DocTree.Kind enum constants
Reviewed-by: darcy
2021-12-07 18:56:58 +00:00
Liam Miller-Cushon
d7c283a081 8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression
Reviewed-by: jlahoda
2021-12-07 18:44:39 +00:00
Jonathan Gibbons
f148e3e462 8278318: Create {@index} entries for key LangTools terms
Reviewed-by: darcy
2021-12-07 00:41:11 +00:00
Jan Lahoda
ab781874b2 8277105: Inconsistent handling of missing permitted subclasses
Reviewed-by: vromero
2021-12-06 15:43:42 +00:00
Jan Lahoda
194cdf4e28 8277864: Compilation error thrown while doing a boxing conversion on selector expression
Reviewed-by: jlaskey, vromero
2021-12-06 08:42:26 +00:00
Srikanth Adayapalam
104aa1f7f9 8268575: Annotations not visible on model elements before they are generated
Reviewed-by: mcimadamore
2021-12-06 06:24:56 +00:00
Jan Lahoda
890700320a 8272234: Pass originating elements from Filer to JavaFileManager
Reviewed-by: jjg
2021-12-03 07:40:34 +00:00
Tim Prinzing
b8ac0d20ce 8276681: Additional malformed Javadoc inline tags in JDK source
Reviewed-by: lancea
2021-12-02 21:22:43 +00:00
Liam Miller-Cushon
4f15be2cd4 8277965: Enclosing instance optimization affects serialization
Reviewed-by: darcy
2021-12-02 19:17:09 +00:00
Adam Sotona
8d9cb2efe6 8278078: Cannot reference super before supertype constructor has been called
Reviewed-by: mcimadamore
2021-12-02 15:29:26 +00:00
Jonathan Gibbons
2942646957 8276683: Malformed Javadoc inline tags in JDK source in com/sun/tools/javac/util/RawDiagnosticFormatter.java
Reviewed-by: darcy, prappo, iris
2021-11-30 22:07:07 +00:00
Andrey Turbanov
077b2de088 8274161: Cleanup redundant casts in jdk.compiler
Reviewed-by: vromero
2021-11-24 18:47:50 +00:00
Adam Sotona
951247c8cb 8235876: Misleading warning message in java source-file mode
Reviewed-by: vromero
2021-11-24 17:03:53 +00:00
Christian Stein
663e33de13 8272728: javac ignores any -J option in @argfiles silently
Reviewed-by: jjg
2021-11-24 16:50:25 +00:00
Jan Lahoda
d085c2b8a7 8273328: Compiler implementation for Pattern Matching for switch (Second Preview)
Reviewed-by: vromero, mcimadamore
2021-11-24 10:07:49 +00:00
Liam Miller-Cushon
ea85e01a4c 8271623: Omit enclosing instance fields from inner classes that don't use it
Reviewed-by: vromero, jlahoda
2021-11-23 18:14:47 +00:00
Joe Darcy
4ff43010bb 8224922: Access JavaFileObject from Element(s)
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: jjg
2021-11-21 20:42:37 +00:00
Jan Lahoda
2f20b0d8da 8273039: JShell crashes when naming variable or method "abstract" or "strictfp"
Reviewed-by: vromero
2021-11-19 07:49:58 +00:00
Jan Lahoda
0c2d00bff7 8275097: Wrong span of the 'default' tag
Reviewed-by: vromero
2021-11-08 13:21:40 +00:00