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
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
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
Stuart Marks
3e7196c114
8205455: jdeprscan issues annotation processor warning regarding RELEASE_10
...
Reviewed-by: jjg
2018-06-25 18:49:30 -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
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
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
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
Athijegannathan Sundararajan
f2a30dcb3e
8204321: javadoc tests fail after JDK-8203780
...
Reviewed-by: jjg
2018-06-05 23:10:54 +05:30
Jan Lahoda
8afe86a2fe
8200166: Repeating annotations refering to to-be-generated classes don't work
...
Reviewed-by: jjg
2018-06-05 14:55:13 +02:00
Bernard Blaser
8d24eeb394
8189335: javac exception when referencing private inner class with same name as normal class with dollar_1
...
Reviewed-by: vromero
2018-06-04 10:12:40 -07:00
Jan Lahoda
4dec1a457f
8198378: javac crash when checking imports and a broken class is present
...
Properly handling bad classfile while processing imports.
Reviewed-by: vromero
2018-06-04 12:54:13 +02:00
Jonathan Gibbons
8589446792
8196202: Javadoc should not generate frames by default
...
Reviewed-by: ksrini
2018-05-29 11:20:04 -07:00
Vicente Romero
539b18eba0
8203892: Target interface added as marker interface in calls to altMetafactory
...
Reviewed-by: mcimadamore
2018-05-29 09:12:39 -07:00
Jan Lahoda
6776b453e0
8193717: Import resolution performance regression in JDK 9
...
Avoiding iteration through all sub-scopes of single import scope when looking up by name by only using those that may contain the given name.
Reviewed-by: mcimadamore
2018-05-29 13:17:03 +02:00
Jan Lahoda
5635d6f937
8202832: cycle detection depends on ordering of requires directives
...
Ensuring cyclic dependencies among modules produce a compile-time error.
Reviewed-by: vromero
2018-05-29 10:53:55 +02:00
Srinivas Dama
080269eb20
8202178: type.getKind() for var is None instead of Error
...
Make sure var kind != None for instance variables without initialization
Reviewed-by: mcimadamore
2018-05-27 12:00:16 +05:30
Maurizio Cimadamore
d10e29af44
8203488: Remove error generation from TransTypes
...
Bridge clash errors should noty be reported in TransTypes (as they are already reported in the frontend); cleanup polysig call code.
Reviewed-by: vromero, cushon, forax
2018-05-24 11:13:42 +01:00
Jonathan Gibbons
d27d4d8df4
8202947: Fix minor issues with taglets
...
Reviewed-by: ksrini
2018-05-23 11:49:57 -07:00
Vicente Romero
3b38d1b418
8196048: thrown type variables should be roots in the minimum inference graph
...
Reviewed-by: mcimadamore
2018-05-22 09:01:44 -07:00
Jan Lahoda
c3cdecd32b
8198315: Incomplete classpath causes NPE in TransTypes
...
Avoid symbol completion while constructing error message.
Reviewed-by: mcimadamore
2018-05-22 12:26:17 +02:00
Maurizio Cimadamore
47d634e453
8203436: javac should fail early when emitting illegal signature attributes
...
Check that signature attributes do not contain non-denotable types
Reviewed-by: vromero
2018-05-22 13:37:05 +01:00
Vicente Romero
088dbd5ce8
8203486: skip type inference for non functional interface components of intersection types
...
Reviewed-by: mcimadamore
2018-05-21 12:27:21 -07:00
Vicente Romero
ec167413f9
8148354: Errors targeting functional interface intersection types
...
Reviewed-by: mcimadamore, dlsmith
2018-05-18 09:22:31 -07:00
Bernard Blaser
b416d3915e
8203398: Test test/langtools/tools/javac/options/release/ReleaseOptionCurrent.java writes into the source directory
...
Reviewed-by: jjg, jlahoda
2018-05-18 12:48:09 +02:00
Bhavesh Patel
7c66a1d6a2
8196201: Generate pages to list all classes and all packages in javadoc output
...
Reviewed-by: jjg
2018-05-17 12:59:53 -07:00
Vicente Romero
74b151103e
8194998: broken error message for subclass of interface with private method
...
Reviewed-by: mcimadamore
2018-05-11 10:39:04 -07:00
Vicente Romero
3b13b81625
8202597: javac is not inducing a notional interface if Object appears in an intersection type
...
Reviewed-by: mcimadamore
2018-05-08 17:12:54 -07:00
Jan Lahoda
81bad1fe6b
8202387: javac --release 11 not supported
...
Adding historical data for JDK 10; adding ability to produce the historical data incrementally.
Reviewed-by: erikj, forax, jjg
2018-05-07 10:37:46 +02:00
Jonathan Gibbons
cf20cdd06c
8194968: problem list actions for tools/javac/jvm/VerboseOutTest
...
Reviewed-by: vromero
2018-05-03 12:56:53 -07:00