135 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
048bffad79 Merge 2022-06-29 23:32:37 +00:00
Joe Darcy
dbc6e11010 8289399: Update SourceVersion to use snippets
Reviewed-by: jjg, iris
2022-06-29 00:14:45 +00:00
Joe Darcy
edff51e5fd 8284858: Start of release updates for JDK 20
8286035: Add source 20 and target 20 to javac
8286034: Add SourceVersion.RELEASE_20

Reviewed-by: dholmes, kcr, iris, erikj, jjg, ihse
2022-06-09 16:16:49 +00:00
Joe Darcy
39ec58b63c 8287886: Further terminology updates to match JLS
Reviewed-by: jjg
2022-06-08 00:56:57 +00:00
Joe Darcy
0b8dd4ac82 8284966: Update SourceVersion.RELEASE_19 description for language changes
Reviewed-by: iris, jjg
2022-05-25 16:25:44 +00:00
Joe Darcy
0a6832b24c 8286617: Improve parameter names in javax.lang.model utility visitors
Reviewed-by: iris, jjg
2022-05-12 16:35:40 +00:00
Joe Darcy
e2e943adcb 8285688: Add links to JEPs and JSRs to SourceVersion
Reviewed-by: vromero, jjg, iris
2022-04-29 01:05:26 +00:00
Joe Darcy
ffdeb32062 8284928: Add links from SourceVersion to specific JLS versions
Reviewed-by: iris
2022-04-18 17:42:23 +00:00
Joe Darcy
6e36c4550a 8284923: Update description of SourceVersion.RELEASE_18
Reviewed-by: jjg, iris
2022-04-18 17:17:29 +00:00
Joe Darcy
e9e3aa7b82 8283730: Improve discussion of modeling of packages and modules
Reviewed-by: jjg, jlahoda
2022-04-05 18:21:54 +00:00
Joe Darcy
1a84d7590a 8283594: Improve docs of ElementScanner classes
Reviewed-by: jjg
2022-03-24 00:57:54 +00:00
Joe Darcy
732d891f9f 8282411: Add useful predicates to ElementKind
Reviewed-by: prappo
2022-03-01 18:48:43 +00:00
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