123 Commits

Author SHA1 Message Date
Pavel Rappo
31b61f982c 8282311: Fix a typo in javax.lang.model.type.NullType
Reviewed-by: jjg
2022-03-01 15:21:19 +00:00
Joe Darcy
1f89acd849 8282464: Remove author tags from java.compiler
Reviewed-by: jjg
2022-02-28 23:28:21 +00:00
Joe Darcy
9d9618a3dd 8282462: Remove unnecessary use of @SuppressWarnings("preview")
Reviewed-by: vromero
2022-02-28 22:14:14 +00:00
Jesper Wilhelmsson
ec0a5ac8fe Merge 2021-12-09 23:24:40 +00:00
Jonathan Gibbons
918b3505e1 8278516: Typos in snippet for java.compiler
Reviewed-by: darcy
2021-12-09 21:47:50 +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
d1706828fb 8278466: "spurious markup" warnings in snippets when building docs-reference
Reviewed-by: darcy
2021-12-09 02:53:52 +00:00
Jonathan Gibbons
fb11d8faf2 8272945: Use snippets in java.compiler documentation
Reviewed-by: erikj, alanb
2021-12-08 19:48:05 +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
890700320a 8272234: Pass originating elements from Filer to JavaFileManager
Reviewed-by: jjg
2021-12-03 07:40:34 +00:00
Joe Darcy
22f12ac429 8277522: Make formatting of null consistent in Elements
Reviewed-by: jlahoda
2021-11-22 16:59:23 +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
Joe Darcy
007ad7c77c 8277303: Terminology mismatch between JLS17-3.9 and SE17's javax.lang.model.SourceVersion method specs
Reviewed-by: iris, jjg
2021-11-17 20:23:43 +00:00
Joe Darcy
a7dedb5f47 8276772: Refine javax.lang.model docs
Reviewed-by: iris, vromero
2021-11-08 22:19:55 +00:00
Magnus Ihse Bursie
0616d868c7 8276635: Use blessed modifier order in compiler code
Reviewed-by: darcy
2021-11-05 12:05:22 +00:00
Joe Darcy
48f3fcab51 8275308: Add valueOf(Runtime.Version) factory to SourceVersion
Reviewed-by: jjg
2021-10-28 22:11:03 +00:00
Joe Darcy
426bcee927 8275360: Use @Override in javax.annotation.processing
Reviewed-by: iris
2021-10-18 16:11:16 +00:00
Joe Darcy
fb8e5cf4ec 8275368: Correct statement of kinds of elements Processor.process operates over
Reviewed-by: jlahoda
2021-10-18 15:48:59 +00:00
Pavel Rappo
5ec1cdcaf3 8274321: Standardize values of @since tags in javax.lang.model
Reviewed-by: darcy
2021-09-25 21:04:17 +00:00
Pavel Rappo
0fc47e99d2 8266666: Implementation for snippets
Co-authored-by: Jonathan Gibbons <jjg@openjdk.org>
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: jjg
2021-09-21 15:53:35 +00:00
Pavel Rappo
f42b92790a 8273609: Fix trivial doc typos in the compiler area
Reviewed-by: rriggs, vromero, iris
2021-09-10 19:33:54 +00:00
Joe Darcy
2f01a6f8b6 8273157: Add convenience methods to Messager
Reviewed-by: jjg
2021-09-01 20:28:05 +00:00
Joe Darcy
57ae9fbe77 8140442: Add getOutermostTypeElement to javax.lang.model utility class
Reviewed-by: jlahoda
2021-08-10 16:49:49 +00:00
Jonathan Gibbons
1f995e52b2 8265888: StandardJavaFileManager::setLocationForModule specification misses 'Implementation Requirements:'
Reviewed-by: jlahoda
2021-07-15 16:06:40 +00:00
Jonathan Gibbons
5a74291013 8266565: Spec of ForwardingJavaFileManager/ForwardingFileObject/ForwardingJavaFileObject methods should mention delegation instead of being copied
Reviewed-by: vromero
2021-07-09 14:52:37 +00:00
Jesper Wilhelmsson
b6cfca8a89 Merge 2021-06-23 01:05:44 +00:00
Jan Lahoda
01f12fba64 8266631: StandardJavaFileManager: getJavaFileObjects() impl violates the spec
8266596: StandardJavaFileManager: default impls of setLocationFromPaths(), getJavaFileObjectsFromPaths() methods don't throw IllegalArgumentException as specified
8266591: StandardJavaFileManager::getJavaFileObjectsFromPaths() methods contain a typo in their spec
8266590: StandardJavaFileManager::setLocationFromPaths() spec contains an error

Reviewed-by: vromero, jjg
2021-06-22 07:34:30 +00:00
Joe Darcy
b018c450e5 8267630: Start of release updates for JDK 18
8267632: Add source 18 and target 18 to javac
8267631: Add SourceVersion.RELEASE_18

Reviewed-by: iris, erikj, dholmes
2021-06-10 16:22:14 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Joe Darcy
00c7aeee00 8267861: Update SourceVersion with new language features in 16 and 17
Reviewed-by: jjg
2021-06-02 00:33:17 +00:00
Vicente Romero
31b98e129e 8265319: implement Sealed Classes as a standard feature in Java, javax.lang.model changes
Reviewed-by: darcy, jlahoda
2021-05-20 09:08:30 +00:00
Joe Darcy
ccefa5e378 8261625: Add Elements.isAutomaticModule(ModuleElement)
Reviewed-by: vromero, jlahoda
2021-04-08 21:25:17 +00:00
Jan Lahoda
235488215b 8250768: javac should be adapted to changes in JEP 12
Reviewed-by: mcimadamore, erikj, jjg, ihse
2021-01-11 10:10:47 +00:00
Jesper Wilhelmsson
11bd7a814f Merge 2020-12-17 03:04:19 +00:00
Jonathan Gibbons
6b4b676550 8241353: NPE in ToolProvider.getSystemJavaCompiler
Reviewed-by: vromero
2020-12-16 22:21:54 +00:00
Jesper Wilhelmsson
381021aebf Merge 2020-12-15 03:40:30 +00:00
Joe Darcy
a280182956 8258060: Update @jls tags for renamed/renumbered sections
Reviewed-by: jjg, abuckley
2020-12-11 18:38:45 +00:00
Joe Darcy
6be1f5671e 8257450: Start of release updates for JDK 17
8257451: Add SourceVersion.RELEASE_17
8257453: Add source 17 and target 17 to javac

Reviewed-by: dholmes, erikj, iris, mikael, jjg, jlahoda, jwilhelm, mchung, ihse
2020-12-10 16:46:28 +00:00
Joe Darcy
d2f9e31ae4 8257638: Update usage of "type" terminology in javax.lang.model
Reviewed-by: jjg
2020-12-10 02:59:26 +00:00
Joe Darcy
2a62d5d34f 8256917: Use combo @returns tag in java.compiler javadoc
Reviewed-by: jjg, iris
2020-12-09 02:37:30 +00:00
Joe Darcy
6937d9f9dd 8257799: Update JLS cross-references in java.compiler
Reviewed-by: jjg
2020-12-07 20:46:22 +00:00
Jan Lahoda
18bc95ba51 8250625: Compiler implementation of Pattern Matching for instanceof (Final)
Reviewed-by: vromero
2020-11-05 08:01:33 +00:00
Jan Lahoda
d05df7c17a 8236842: Surprising 'multiple elements' behaviour from getTypeElement when cross-compiling with --release
Reviewed-by: vromero
2020-11-02 10:15:16 +00:00
Vicente Romero
8ad7f383c1 8255014: Record Classes javax.lang.model changes, follow-up
Reviewed-by: jlahoda
2020-10-28 17:34:10 +00:00
Jonathan Gibbons
0aa3c92577 8255262: Remove use of legacy custom @spec tag
Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
2020-10-22 19:42:01 +00:00
Joe Darcy
44f9271dc2 8254974: Fix stutter typo in TypeElement
Reviewed-by: shade, redestad
2020-10-20 14:44:38 +00:00
Vicente Romero
1da28de82f 8255009: delta apply fixes for JDK-8246774 and JDK-8253455, pushed too soon
Reviewed-by: jlahoda
2020-10-19 15:55:54 +00:00
Vicente Romero
272bb5d580 8253455: Record Classes javax.lang.model changes
Reviewed-by: darcy
2020-10-19 02:03:10 +00:00
Pavel Rappo
e6a493ab88 8252882: Clean up jdk.javadoc and the related parts of jdk.compiler
Reviewed-by: vromero
2020-09-14 17:21:42 +00:00
Joe Darcy
d1d17200c5 8249632: remove no-arg constructor from ToolProvider
Reviewed-by: jjg
2020-07-17 16:38:44 -07:00