Michael Ernst
659a96edf9
8006775: JSR 308: Compiler changes in JDK8
...
Co-authored-by: Werner Dietl <wmdietl@cs.washington.edu>
Co-authored-by: Matt Papi <mpapi@csail.mit.edu>
Co-authored-by: Mahmood Ali <mahmood@notnoop.com>
Reviewed-by: jjg
2013-01-23 13:27:24 -08:00
Maurizio Cimadamore
eb646f3c09
8006692: jdk/test/java/util/Collections/BigBinarySearch.java fails to compile
...
Missing boxing cause spurious inference failure
Reviewed-by: jjg
2013-01-23 15:08:03 +00:00
Maurizio Cimadamore
1f8b2abf80
8006684: Compiler produces java.lang.VerifyError: Bad type on operand stack
...
Lambda desugaring generates spurious references to 'this' in static contexts
Reviewed-by: jjg
2013-01-22 16:39:51 +00:00
Maurizio Cimadamore
3054ea5580
8005166: Add support for static interface methods
...
Support public static interface methods
Reviewed-by: jjg
2013-01-21 20:19:53 +00:00
Maurizio Cimadamore
a6fc182d40
8005851: Remove support for synchronized interface methods
...
Synchronized default methods are no longer supported
Reviewed-by: jjg
2013-01-21 20:15:16 +00:00
Maurizio Cimadamore
422c8bd914
8006566: Remove transient lambda-related guards from JavacParser
...
Remove transitional internal flag for allowing intersection types in cast
Reviewed-by: jjg
2013-01-21 20:14:39 +00:00
Maurizio Cimadamore
442154dcf9
8005244: Implement overload resolution as per latest spec EDR
...
Add support for stuck expressions and provisional applicability
Reviewed-by: jjg
2013-01-21 20:13:56 +00:00
Jonathan Gibbons
f251cc24ca
8006251: doclint: incorrect position for diagnostic for illegal text in tags
...
Reviewed-by: mcimadamore
2013-01-21 10:07:37 -08:00
Peter Jensen
7967c92db0
8006263: Supplementary test cases needed for doclint
...
Reviewed-by: mcimadamore
2013-01-21 10:00:46 -08:00
Fredrik Öhrström
3d5f55b851
8004658: Add internal smart javac wrapper to solve JEP 139
...
Reviewed-by: jjg
2013-01-18 00:16:21 +01:00
Maurizio Cimadamore
0a95b1d28c
8005852: Treatment of '_' as identifier
...
Warn when '_' is found in an identifier position
Reviewed-by: jjg
2013-01-17 18:15:20 +00:00
Jonathan Gibbons
7b493a180e
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
...
Reviewed-by: darcy
2013-01-16 20:41:14 -08:00
Joe Darcy
e942cdde81
8006283: Change to Class.cast() in javax.lang.model implementation for repeating annotations
...
Reviewed-by: jjg
2013-01-16 13:22:09 -08:00
Jonathan Gibbons
17ebfc350d
8006236: doclint: structural issue hidden
...
Reviewed-by: darcy
2013-01-16 10:29:52 -08:00
Maurizio Cimadamore
5a60f56dbe
8005964: Regression: difference in error recovery after ambiguity causes JCK test failure
...
Wrong implementation of ResolveError.access in AmbiguityError
Reviewed-by: jjh
2013-01-16 17:40:28 +00:00
Maurizio Cimadamore
3b3feb3853
8005299: Add FunctionalInterface checking to javac
...
Javac should check that types annotated with @FunctionalInterface are indeed functional interfaces
Reviewed-by: jjg
2013-01-16 16:30:11 +00:00
Maurizio Cimadamore
d19bc80ca1
8005854: Add support for array constructor references
...
Support constructor references of the kind int[]::new
Reviewed-by: jjg
2013-01-16 16:27:01 +00:00
Jonathan Gibbons
f8b61f9b0c
8006224: Doclint NPE for attribute with no value
...
Reviewed-by: darcy
2013-01-15 13:03:11 -08:00
Jonathan Gibbons
a2f594bf74
8006119: update javac to follow latest spec for repeatable annotations
...
Reviewed-by: darcy
2013-01-14 13:50:01 -08:00
Joel Borggrén-Franck
9e3a121357
7193719: Support repeating annotations in javax.lang.model
...
Reviewed-by: jjg
2013-01-14 19:52:36 +01:00
Jonathan Gibbons
7518dede81
8004834: Add doclint support into javadoc
...
Reviewed-by: darcy
2013-01-10 19:38:57 -08:00
Jonathan Gibbons
80a7fb0bb4
8006033: bug in Pretty.toSimpleString
...
Reviewed-by: darcy
2013-01-10 15:48:46 -08:00
Jonathan Gibbons
ca5da47efc
8006037: extra space in javac -help for -J and @ options
...
Reviewed-by: darcy
2013-01-10 14:09:33 -08:00
Jonathan Gibbons
4779676ac1
8005644: set default max errs and max warns
...
Reviewed-by: darcy
2013-01-09 10:26:58 -08:00
Maurizio Cimadamore
5ee942d5a8
8005184: Restructure DeferredAttr to allow pluggable deferred type completers
...
Add hooks to generalize deferred type completion via custom helper objects
Reviewed-by: jjg
2013-01-08 10:17:29 +01:00
Maurizio Cimadamore
c932023b04
8005179: Cleanup Resolve.AmbiguityError
...
Linearize nested ambiguity errors
Reviewed-by: jjg
2013-01-08 10:16:26 +01:00
Maurizio Cimadamore
159b251085
8005243: Restructure method check code to allow pluggable checkers
...
Add interface to perform a method check - to be implemented by helper classes
Reviewed-by: jjg
2013-01-08 10:15:30 +01:00
Jim Holmlund
259f5d7cc8
8005647: langtools/test/tools/javap/MethodParameters.java fails on windows
...
Fix javap to not output \r\r\n
Reviewed-by: jjg
2013-01-07 17:51:05 +00:00
Bhavesh Patel
d0ff55ec00
8005092: javadoc should check for synthesized bit on an annotation
...
Reviewed-by: jjg
2013-01-05 00:55:53 -08:00
Bhavesh Patel
1dbfb160ba
8004891: Check for abstract method in javadoc does not conform to the language model
...
Reviewed-by: jjg
2013-01-04 23:06:05 -08:00
Eric Mccorkle
73b497c12e
8004727: Add compiler support for parameter reflection
...
Reviewed-by: jjg
2012-12-29 17:33:17 -08:00
Mandy Chung
e8ce882d43
8003562: Provide a CLI tool to analyze class dependencies
...
Reviewed-by: jjg, alanb, ulfzibis, erikj
2012-12-28 22:25:21 -08:00
Bhavesh Patel
8a40619e4d
8004893: the javadoc/doclet needs to be updated to accommodate lambda changes
...
Reviewed-by: jjg
2012-12-25 17:23:59 -08:00
Martin Buchholz
1d3157ac87
8003512: javac doesn't work with jar files with >64k entries
...
Reviewed-by: jjg, ksrini
2012-12-21 15:27:55 +00:00
Joel Borggrén-Franck
72cbbd7f3b
8005098: Provide isSynthesized() information on Attribute.Compound
...
Reviewed-by: jjg
2012-12-16 11:09:36 +01:00
Jonathan Gibbons
aee2457cd0
8004833: Integrate doclint support into javac
...
Reviewed-by: mcimadamore
2012-12-19 11:29:56 +00:00
Fredrik Öhrström
d61f7ca328
8004657: Add hooks to javac to enable reporting dependency information
...
Reviewed-by: jjg, mcimadamore
2012-12-18 10:23:40 +01:00
Joe Darcy
da02d4f3d5
8005046: Provide checking for a default method in javax.lang.model
...
Reviewed-by: jjg
2012-12-18 00:24:54 -08:00
Mandy Chung
9f039ad8bd
8005137: Rename DocLint.call to DocLint.init which overrides Plugin.init
...
Reviewed-by: darcy, jjh
2012-12-17 15:19:38 -08:00
Jonathan Gibbons
3ce1d65326
8004961: rename Plugin.call to Plugin.init
...
Reviewed-by: mcimadamore
2012-12-17 10:55:40 -08:00
Maurizio Cimadamore
08823b6103
8004099: Bad compiler diagnostic generated when poly expression is passed to non-existent method
...
Some code paths in resolve do not use methodArguments to correctly format actuals
Reviewed-by: jjg
2012-12-17 16:13:01 +00:00
Jonathan Gibbons
4a3e904c6e
8004832: Add new doclint package
...
Reviewed-by: mcimadamore
2012-12-17 07:47:05 -08:00
Maurizio Cimadamore
c5acce4569
8004814: javadoc should be able to detect default methods
...
Reviewed-by: jjg
2012-12-17 14:54:42 +00:00
Vicente Romero
c1804d6409
8000518: Javac generates duplicate name_and_type constant pool entry for class BinaryOpValueExp.java
...
Reviewed-by: jjg, mcimadamore
2012-12-15 13:54:51 +00:00
Joel Borggrén-Franck
e4c3d2d727
8001114: Container annotation is not checked for semantic correctness
...
Reviewed-by: jjg
2012-12-03 11:16:32 +01:00
Jan Lahoda
9537c44ca5
8004504: ListBuffer could reuse List.nil() as the sentinel element
...
ListBuffer.last now points to the last elements with client data, or null if none.
Reviewed-by: jjg, mcimadamore
2012-12-12 20:26:56 +01:00
Jonathan Gibbons
1c8e65a20e
8004828: refactor init of *DocImpl classes
...
Reviewed-by: darcy
2012-12-11 15:05:55 -08:00
Vicente Romero
8fc2d739bd
8003967: detect and remove all mutable implicit static enum fields in langtools
...
Reviewed-by: jjg
2012-12-10 16:21:26 +00:00
Maurizio Cimadamore
5c0bff8f21
8004094: Javac compiler error - synthetic method accessor generated with duplicate name
...
Method clash check logic should skip methods marked with ACC_SYNTHETIC
Reviewed-by: jjg
2012-12-10 12:10:50 +00:00
Maurizio Cimadamore
d7884e5ae2
8002099: Add support for intersection types in cast expression
...
Add parser and type-checking support for intersection types in cast expressions
Reviewed-by: jjg
2012-11-30 15:14:48 +00:00