Robert Field
749916b897
8210923: JShell: support for switch expressions
...
Reviewed-by: jlahoda
2018-10-22 08:30:39 -07:00
Priya Lakshmi Muthuswamy
4e1c510215
8211901: javadoc generates broken links on deprecated items page
...
Reviewed-by: jjg
2018-10-17 15:28:36 +05:30
Jonathan Gibbons
f8d8a72a27
8211407: Bad links to non-existent entries on serialized-form page
...
Reviewed-by: jlahoda
2018-10-08 11:14:59 -07:00
Vicente Romero
1ed6b88a99
8209407: VerifyError is thrown for inner class with lambda
...
Reviewed-by: mcimadamore
2018-10-08 06:52:41 -07:00
Vicente Romero
609d90e98a
8210789: langtools/tools/javac/T8152616.java missing @modules
...
Reviewed-by: jjg
2018-10-04 10:19:01 -07:00
Vicente Romero
2589e9733e
8211148: var in implicit lambdas shouldn't be accepted for source < 11
...
Reviewed-by: mcimadamore
2018-10-04 08:37:08 -07:00
Priya Lakshmi Muthuswamy
5cfc3bbdd4
8208531: -javafx mode should be on by default when JavaFX is available
...
Reviewed-by: jjg
2018-10-03 11:43:39 +05:30
Mikael Vidstedt
8e53d1b5dc
8211350: Remove jprt support
...
Reviewed-by: dholmes, erikj, mchung, alanb, jjg
2018-10-02 22:36:08 -07:00
Jim Laskey
c30dffb388
8211080: RawStringLiteralLangAPI.java test times out by default
...
Reviewed-by: jjg
2018-09-27 15:47:33 -03:00
Jan Lahoda
17c3d1c333
8211102: Crash with -XDfind=lambda and -source 7
...
Disabling analyzers that cannot run in the given source level; lambdas in standalone positions should have erroneous type rather than the recovery type; avoiding crash in Flow for broken code.
Reviewed-by: mcimadamore
2018-09-27 10:24:12 +02:00
Priya Lakshmi Muthuswamy
54f929e9d6
8202628: javadoc generates bad links in TestModules.java
...
Reviewed-by: jjg
2018-09-27 10:10:47 +05:30
Jonathan Gibbons
db6295f8a2
8209963: source file mode for JVM should provide a hook to locate the source file
...
Reviewed-by: darcy
2018-09-26 16:23:31 -07:00
Jonathan Gibbons
065fdac559
8210555: create --source --target synonyms for -source -target
...
Reviewed-by: hannesw
2018-09-26 15:14:17 -07:00
Jonathan Gibbons
25ca76b4f9
8211180: SourceLauncherTest.java fails in JDK12 CI on Win*
...
Reviewed-by: mchung, darcy
2018-09-26 14:54:38 -07:00
Jonathan Gibbons
cad60d14a6
8210274: Source Launcher should work with a security manager
...
Reviewed-by: mchung, alanb
2018-09-26 11:41:08 -07:00
Liam Miller-Cushon
9c60728a28
8211138: Missing Flag enum constants
...
Reviewed-by: mcimadamore, vromero
2018-09-25 21:33:51 -07:00
Joe Darcy
9d95755584
8211127: TestNewLanguageFeatures.java fails after JDK-8173730
...
Reviewed-by: jjg
2018-09-25 13:31:51 -07:00
Jonathan Gibbons
59fd35292e
8210839: Improve interaction between source launcher and classpath
...
Reviewed-by: alanb, mchung
2018-09-25 10:30:32 -07:00
Priya Lakshmi Muthuswamy
f8ba78868d
8202462: {@index} may cause duplicate labels
...
Reviewed-by: jjg
2018-09-25 13:58:54 +05:30
Priya Lakshmi Muthuswamy
4b47d2c9e7
8205593: Javadoc -link makes broken links if module name matches package name
...
Reviewed-by: jjg
2018-09-25 12:36:45 +05:30
Jonathan Gibbons
8edf8e2b03
8210275: Source Launcher should fail if --source is used without a source file
...
Reviewed-by: mchung, alanb, mcimadamore
2018-09-21 15:38:43 -07:00
Jan Lahoda
3f43390b8b
8209058: Cannot find annotation method 'value()' in type 'Profile+Annotation'
...
Correct detection of the Profile+Annotation synthetic annotation for classes that are not from the java.base module.
Reviewed-by: jjg
2018-09-21 12:29:46 +02:00
Jan Lahoda
c1033edca8
8209865: Incorrect 'multiple elements' notes with Elements#getTypeElement and --release
...
Changing ct.sym to be module-path oriented, rather than class-path oriented.
Reviewed-by: jjg
2018-09-21 12:29:31 +02:00
Vicente Romero
29fec64583
8209022: Missing checkcast when casting to type parameter bounded by intersection type
...
Reviewed-by: mcimadamore
2018-09-20 12:49:58 -07:00
Jan Lahoda
52ba129b0a
8207954: Data for --release 11
...
Adding support for --release 11
Reviewed-by: erikj, ihse, jjg
2018-09-19 10:50:25 +02:00
Priya Lakshmi Muthuswamy
a17816f881
8210047: some pages contain content outside of landmark region
...
Reviewed-by: jjg
2018-09-19 12:14:53 +05:30
Robert Field
f4e1502e03
8210596: jshell does not support raw string literals
...
Reviewed-by: jlahoda, jlaskey
2018-09-17 08:37:47 -07:00
Jan Lahoda
ee0ac147a2
8193561: Cyclic hierarchy causes a NullPointerException when setting DEFAULT flag
...
When marking interface as having default methods, use .owner as it is always defined.
Reviewed-by: mcimadamore
2018-09-17 11:49:20 +02:00
Bernard Blaser
8ef50b1dc3
8183548: Comma-expressions shouldn't use any temporary variable
...
Uses enhanced let-expressions allowing multiple statements
Reviewed-by: vromero
2018-09-15 22:16:16 +02:00
Liam Miller-Cushon
8b3c1810d2
8193037: package-info annotations are not reported when annotation processing is enabled
...
Reviewed-by: jjg
2018-09-13 15:29:44 -07:00
Jim Laskey
734a258afb
8210674: Need to add examples for use of javac properties introduced by Raw String Literals
...
Reviewed-by: vromero, jjg
2018-09-13 14:15:27 -03:00
Liam Miller-Cushon
7afa8e42b6
8210483: AssertionError in DeferredAttr at setOverloadKind caused by JDK-8203679
...
Reviewed-by: mcimadamore, vromero
2018-09-10 16:59:41 -07:00
Vicente Romero
cf26c4cc5c
8207160: ClassReader::adjustMethodParams can potentially return null if the args list is empty
...
Reviewed-by: mcimadamore, cushon
2018-09-12 16:28:06 -07:00
Jim Laskey
d2b04cb964
8210671: CheckExamples.java fail after Raw String Literals checkin
...
Reviewed-by: vromero, darcy
2018-09-12 17:14:08 -03:00
Jim Laskey
2065ebd890
8206981: Compiler support for Raw String Literals
...
Reviewed-by: mcimadamore, briangoetz, abuckley, jjg, vromero, jlahoda
2018-09-12 14:19:36 -03:00
Mandy Chung
cfb0662ff6
8210502: jdeps does not handle properly on analyzing a mixture of MR JARs and non-MR JARs
...
Reviewed-by: alanb
2018-09-10 12:48:57 -07:00
Maurizio Cimadamore
c0d51dc514
8210495: compiler crashes because of illegal signature in otherwise legal code
...
Disable strict verification of compiler signatures when they do not affect generated bytecode
Reviewed-by: vromero
2018-09-07 15:56:21 +01:00
Jonathan Gibbons
84cf73f2a5
8210009: Source Launcher classloader should support getResource and getResourceAsStream
...
Reviewed-by: mchung, plevart
2018-09-06 16:15:32 -07:00
Vicente Romero
d0f7d4e374
8210435: don't add local variable spots if they are DCE'ed by the compiler
...
Reviewed-by: mcimadamore
2018-09-06 05:44:47 -07:00
Jonathan Gibbons
c8d641d148
8208608: Update --module-source-path to allow explicit source paths for specific modules
...
Reviewed-by: jlahoda
2018-08-31 14:54:42 -07:00
Jan Lahoda
b3b644438e
8206986: Compiler support for Switch Expressions (Preview)
...
8207405: Compiler Tree API support for Switch Expressions (Preview)
Support for switch expression, switch with rules and multiple constants for cases.
Reviewed-by: jjg, mcimadamore, vromero
2018-08-29 09:36:17 +02:00
Vicente Romero
b2ebbe6460
8209173: javac fails with completion exception while reporting an error
...
Reviewed-by: mcimadamore
2018-08-24 13:30:56 -07:00
Priya Lakshmi Muthuswamy
f1173ad06c
8203792: Remove "compatibility" features from Head.java
...
Reviewed-by: jjg, sundar
2018-08-21 11:41:54 +05:30
Jan Lahoda
19a7a3b69e
8208269: Javadoc does not support module-info in a multi-release jar
...
Ensuring correct version is set when reading multi-release jars.
Reviewed-by: jjg
2018-08-16 15:00:23 +02:00
Vicente Romero
efa05e1c62
8207320: Wrong type order for intersection lambdas with multiple abstract methods
...
Reviewed-by: mcimadamore
2018-08-15 13:39:32 -07:00
Priya Lakshmi Muthuswamy
38f91617c5
8203791: Remove "compatibility" features from Table.java
...
Reviewed-by: jjg
2018-07-30 11:52:05 +05:30
Jonathan Gibbons
f0e9643542
8208227: tools/jdeps/DotFileTest.java fails on Win-X64
...
Reviewed-by: darcy
2018-07-25 17:26:35 -07:00
Joe Darcy
ac5685e827
8190886: package-info handling in RoundEnvironment.getElementsAnnotatedWith
...
Reviewed-by: vromero, jlahoda
2018-07-25 12:32:59 -07:00
Jonathan Gibbons
955ce37d60
8207214: Broken links in JDK API serialized-form page
...
Reviewed-by: hannesw
2018-07-24 11:37:43 -07:00
Vicente Romero
8e61321b6c
8205493: OptionSmokeTest.java uses hard-coded release values
...
Reviewed-by: darcy
2018-07-20 14:48:41 -07:00
Joe Darcy
fafd1b7536
8193462: Fix Filer handling of package-info initial elements
...
Reviewed-by: vromero
2018-07-18 00:23:06 -07:00
Joe Darcy
19c364592c
8193214: Incorrect annotations.without.processors warnings with JDK 9
...
Reviewed-by: vromero
2018-07-18 00:16:37 -07:00
Vicente Romero
898e0f8607
8206874: Evaluate LoadClassFromJava6CreatedJarTest.java after dropping -source 6
...
Reviewed-by: darcy
2018-07-19 15:13:10 -07:00
Phil Race
28e828130d
Merge
2018-07-19 10:17:22 -07:00
Jan Lahoda
66025558bb
8207229: Trees.getScope crashes for broken lambda
...
8207230: Trees.getScope runs Analyzers
Reviewed-by: vromero
2018-07-17 14:28:56 +02:00
Joe Darcy
a376d5dab4
8207248: Reduce incidence of compiler.warn.source.no.bootclasspath in javac tests
...
Reviewed-by: vromero
2018-07-16 21:53:49 -07:00
Jan Lahoda
fe80e55647
8189747: JDK9 javax.lang.model.util.Elements#getTypeElement regressed 1000x in performance
...
Caching the results of Elements.getTypeElement/getPackageElement
Reviewed-by: darcy
2018-07-16 12:35:25 +02:00
Joe Darcy
90518f0635
8028563: Remove javac support for 6/1.6 source and target values
...
Reviewed-by: jjg, erikj, henryjen
2018-07-12 14:13:15 -07:00
Joe Darcy
e18f343141
8207055: Make javac -help output for -source and -target more informative
...
Reviewed-by: jjg
2018-07-11 16:12:18 -07:00
Jesper Wilhelmsson
dafb3af62d
Merge
2018-07-11 21:41:43 +02:00
Joe Darcy
03597d010c
8206439: Remove javac -source/-target 6 from langtools regression tests
...
Reviewed-by: mcimadamore
2018-07-06 10:28:56 -07:00
Joe Darcy
da22bf8a17
8206114: Refactor langtools/tools/javac/classfiles/ClassVersionChecker.java
...
Reviewed-by: jjg
2018-07-03 16:14:46 -07:00
Joe Darcy
28e2dea71d
8206085: Refactor langtools/tools/javac/versions/Versions.java
...
Reviewed-by: jjg, forax, plevart, mcimadamore
2018-07-03 15:59:09 -07:00
Jonathan Gibbons
2214cd06a8
8185740: The help-doc.html generated by the doclet is outdated
...
Reviewed-by: sundar
2018-07-09 13:26:59 -07:00
Liam Miller-Cushon
1fc1f68c3d
8204630: Generating an anonymous class with Filer#createClassFile causes an NPE in JavacProcessingEnvironment
...
Reviewed-by: jlahoda
2018-07-06 12:10:43 -07:00
Jan Lahoda
eaf0364068
8205418: Assorted improvements to source code model
...
Improving tree positions, better error recovery, fixing Trees.getScope for possibly erroneous lambdas.
Reviewed-by: jjg, mcimadamore, vromero
2018-06-29 10:41:10 +02:00
Joe Darcy
69191fc4cc
8206083: Make tools/javac/api/T6265137.java robust to JDK version changes
...
Reviewed-by: jjg
2018-06-28 17:49:13 -07:00
Jonathan Gibbons
3ae58c7fdc
8202959: Rearrange the top and bottom navigation bar in the javadoc generated pages
...
Co-authored-by: Bhavesh Patel <bhavesh.x.patel@oracle.com>
Reviewed-by: darcy, jjg
2018-06-28 15:46:27 -07:00
Joe Darcy
e56162b43d
8205615: Start of release updates for JDK 12
...
8205621: Increment JDK version for JDK 12
8193292: Add SourceVersion.RELEASE_12
8193290: Add source 12 and target 12 to javac
8205619: Bump maximum recognized class file version to 56 for JDK 12
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com>
Reviewed-by: alanb, smarks, jjg, mr, erikj, psandoz, dholmes
2018-06-27 21:01:12 -07:00
Jan Lahoda
b5f1b1e0a3
8205985: Remove tools/javac/options/release/ReleaseOptionUnsupported.java from problem list
...
Reviewed-by: vromero
2018-06-28 15:18:17 +02:00
Jan Lahoda
152488eeee
8205913: Inconsistent source code model
...
Ensuring variable declarations have non-null modifiers and names.
Reviewed-by: mcimadamore
2018-06-28 10:05:43 +02:00
Jan Lahoda
2183a72fe3
8195986: Incorrect javac -h output with annotation processing and missing classes
...
When clearing out symbols for a new annotation processing round, preserve types when possible.
Reviewed-by: vromero
2018-06-28 10:05:39 +02:00
Hannes Wallnöfer
7d73d3cbf1
8190876: javadoc search on "java.se" shows "java.se" the last one among other modules
...
Reviewed-by: jjg
2018-06-28 01:46:03 +02:00
Priya Lakshmi Muthuswamy
6dca162699
8187288: bad (no) wrapping for modifier and type column
...
Reviewed-by: jjg
2018-06-27 12:56:21 +05:30
Stuart Marks
3e7196c114
8205455: jdeprscan issues annotation processor warning regarding RELEASE_10
...
Reviewed-by: jjg
2018-06-25 18:49:30 -07:00
Jonathan Gibbons
e2064980ff
8205563: modules/AnnotationProcessing.java failed testGenerateSingleModule
...
Reviewed-by: darcy
2018-07-02 17:54:36 -07:00
Jan Lahoda
af4bf0927b
8203814: javac --release=8 \"cannot find symbol\" for NashornException.getEcmaError()
...
Updating ct.sym data for jdk.scripting.nashorn to JDK8u102 version of the API.
Reviewed-by: hannesw
2018-06-25 12:44:52 +02:00
David Holmes
95bf19563b
8010319: Implementation of JEP 181: Nest-Based Access Control
...
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Jan Lahoda
51c3a9d4d1
8195077: [Testbug] tools/javac/processing/model/completionfailure/NoAbortForBadClassFile.java - AccessDeniedException
...
Use a new working directory for each sub-test.
Reviewed-by: vromero
2018-06-22 11:26:55 +02:00
Jonathan Gibbons
820a5618c4
8205442: Avoid hard-coding --source value in SourceLauncherTest.java
...
Reviewed-by: darcy
2018-06-21 14:33:15 -07:00
Jonathan Gibbons
f0b244a4ac
8196425: tools/javac/modules/AnnotationProcessing.java failed
...
Reviewed-by: jlahoda
2018-06-21 13:29:44 -07:00
Bernard Blaser
07012c9753
8203338: Unboxing in return from lambda miscompiled to throw ClassCastException
...
Reviewed-by: mcimadamore, vromero
2018-06-20 10:01:49 -07:00
Maurizio Cimadamore
43248585b4
8195293: Issue more comprehensive warnings for use of \"var\" in earlier source versions
...
Issue warnings when 'var' used as a type name in type argument positions
Reviewed-by: jlahoda
2018-06-20 11:47:07 +01:00
Priya Lakshmi Muthuswamy
aefa5d6fbe
8202624: javadoc generates references to enum constructors, which are not documented
...
Reviewed-by: sundar
2018-06-20 14:52:32 +05:30
Vicente Romero
58f944b75e
8205052: No compilation error thrown when no valid parameterization exists for functional interface type
...
Reviewed-by: mcimadamore
2018-06-19 05:22:07 -07:00
Jonathan Gibbons
4d47f2e0a6
8204330: Javadoc IllegalArgumentException: HTML special chars in constant value
...
Reviewed-by: ksrini
2018-06-18 13:52:30 -07:00
Jonathan Gibbons
b75d70e381
8149565: -locale option issues
...
Reviewed-by: hannesw
2018-06-18 13:40:16 -07:00
Mandy Chung
1a4997b484
8205116: jdeps --system $java.home fails with IAE
...
Reviewed-by: alanb, lancea
2018-06-15 13:08:32 -07:00
Priya Lakshmi Muthuswamy
0c633885f1
8204666: javadoc should be updated to use jQuery 3.3.1
...
Reviewed-by: sundar
2018-06-15 10:48:56 +05:30
Bernard Blaser
c97262c785
8203813: javac accepts an illegal name as a receiver parameter name
...
Reviewed-by: vromero
2018-06-14 05:50:21 -07:00
Jan Lahoda
5bf8a6f44b
8196618: Create API to list supported values for javac --release option
...
8194308: jdeprscan will need updates to deal with the removal of the Java EE modules
Generalizing tests to run over all supported --release keys; fixing jdeprscan to work with --release 11.
Reviewed-by: smarks, vromero
2018-06-14 13:16:21 +02:00
Maurizio Cimadamore
da3ff94812
8178150: Regression in logic for handling inference stuck constraints
...
Fix broken logic for input/output inference variable dependency
Reviewed-by: vromero, bsrbnd
2018-06-14 11:13:39 +01:00
Jan Lahoda
78b7362c97
8193302: Javac AssertionError: typeSig ERROR on usage of @Generated
...
Importing from an invisible package whose name is a prefix of a visible package is not allowed.
Reviewed-by: vromero
2018-06-13 12:52:21 +02:00
Liam Miller-Cushon
669c2f3951
8203679: AssertionError in DeferredAttr with parenthesized method reference
...
Reviewed-by: mcimadamore
2018-06-11 14:06:50 -07:00
Jan Lahoda
62a6e04db0
8204674: Inconsistent lambda parameter span
...
Correcting parameter spans for lambda parameters.
Reviewed-by: mcimadamore
2018-06-12 12:14:46 +02:00
Jonathan Gibbons
48d64563d2
8204588: Test failures after "Launch Single-File Source-Code Programs"
...
Reviewed-by: mchung
2018-06-08 15:24:51 -07:00
Maurizio Cimadamore
824b2d53ac
8204610: Compiler confused by parenthesized "this" in final fields assignments
...
Parenthesis are not skipped consistently in DA/DU, forward reference analysis
Reviewed-by: vromero
2018-06-08 16:33:40 +01:00
David Holmes
12815851ce
8204589: ProblemList failing launcher tests
...
Reviewed-by: darcy
2018-06-07 22:26:02 -04:00
Jonathan Gibbons
fe24730ed9
8201274: Launch Single-File Source-Code Programs
...
Reviewed-by: mcimadamore, jlahoda, ksrini, mchung, ihse, alanb
2018-06-07 16:06:49 -07:00
Jonathan Gibbons
d59da4a4b7
8204303: Add redirect for overview-summary.html
...
Reviewed-by: sundar, hannesw
2018-06-06 15:10:12 -07:00