Maurizio Cimadamore
|
d4be9a13c8
|
7192246: Add type-checking support for default methods
Add type-checking support for default methods as per Featherweight-Defender document
Reviewed-by: jjg, dlsmith
|
2012-11-04 10:59:42 +00:00 |
|
Fredrik Öhrström
|
07880728ed
|
7153951: Add new lint option -Xlint:auxiliaryclass
Reviewed-by: jjg, mcimadamore, forax
|
2012-11-01 10:48:36 +01:00 |
|
Maurizio Cimadamore
|
848ec301f2
|
7192245: Add parser support for default methods
Add support for 'default' keyword in modifier position
Reviewed-by: jjg
|
2012-10-17 16:43:26 +01:00 |
|
Maurizio Cimadamore
|
319150fde0
|
7177386: Add attribution support for method references
Add type-checking/lookup routines for method references
Reviewed-by: jjg, dlsmith
|
2012-10-06 10:35:38 +01:00 |
|
Maurizio Cimadamore
|
72f39bf20c
|
7177385: Add attribution support for lambda expressions
Add support for function descriptor lookup, functional interface inference and lambda expression type-checking
Reviewed-by: jjg, dlsmith
|
2012-10-05 14:35:24 +01:00 |
|
Maurizio Cimadamore
|
c0e2ed86c1
|
7177387: Add target-typing support in method context
Add support for deferred types and speculative attribution
Reviewed-by: jjg, dlsmith
|
2012-10-04 13:04:53 +01:00 |
|
Maurizio Cimadamore
|
5f629e503c
|
7188968: New instance creation expression using diamond is checked twice
Unify method and constructor check logic
Reviewed-by: jjg
|
2012-09-26 14:22:41 +01:00 |
|
Maurizio Cimadamore
|
f49f25c60d
|
7177306: Regression: unchecked method call does not erase return type
Spurious extra call to Attr.checkMethod when method call is unchecked
Reviewed-by: jjg, dlsmith
|
2012-09-25 11:56:46 +01:00 |
|
Joel Borggrén-Franck
|
9c23b8bad0
|
7151010: Add compiler support for repeating annotations
Reviewed-by: jjg, mcimadamore
|
2012-08-31 10:37:46 +01:00 |
|
Steve Sides
|
12a8d12863
|
7191449: update copyright year to match last edit in jdk8 langtools repository
Reviewed-by: jjh
|
2012-08-15 13:48:46 -07:00 |
|
Maurizio Cimadamore
|
a39622326e
|
7175538: Integrate efectively final check with DA/DU analysis
Allow generalized effectively-final analysis for all local variables
Reviewed-by: jjg, dlsmith
|
2012-08-02 18:23:21 +01:00 |
|
Maurizio Cimadamore
|
b03ad3ae09
|
7175911: Simplify error reporting API in Check.CheckContext interface
Make error messages generated during Check.checkType more uniform and more scalable
Reviewed-by: jjg, dlsmith
|
2012-08-02 18:22:41 +01:00 |
|
Maurizio Cimadamore
|
7e32f8e585
|
7166552: Inference: cleanup usage of Type.ForAll
Remove hack to callback into type-inference from assignment context
Reviewed-by: dlsmith, jjg
|
2012-05-31 17:42:14 +01:00 |
|
Jan Lahoda
|
9feb7f3e15
|
7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
Reviewed-by: jjg
|
2012-05-10 12:32:58 -07:00 |
|
Maurizio Cimadamore
|
d951098c65
|
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
Remove bound checking rules from recursive subtype visitors in Types.java and replace with centralized bound-checking logic
Reviewed-by: jjg, dlsmith
|
2012-04-11 10:50:11 +01:00 |
|
Jan Lahoda
|
0f0e273e0d
|
7156633: (javac) incorrect errors when parsing variable declaration in block statements
Reviewed-by: jjg
|
2012-04-09 14:31:18 -07:00 |
|
Maurizio Cimadamore
|
51235439c2
|
7133185: Update 292 overload resolution logic to match JLS
Re-implement special overload resolution support for method handles according to the JLS SE 7 definition
Reviewed-by: jjg, dlsmith, jrose
|
2012-03-26 15:28:49 +01:00 |
|
Maurizio Cimadamore
|
9b1e54dae3
|
7151492: Encapsulate check logic into Attr.ResultInfo
ResultInfo class should be used to make attribution code transparent w.r.t. check logic being used
Reviewed-by: jjg, dlsmith
|
2012-03-26 15:28:22 +01:00 |
|
Jonathan Gibbons
|
9f1ffb53dc
|
7150368: javac should include basic ability to generate native headers
Reviewed-by: mcimadamore, darcy, ohrstrom
|
2012-03-13 15:43:40 -07:00 |
|
Maurizio Cimadamore
|
d353146b32
|
7129801: Merge the two method applicability routines
Resolve.java and Infer.java should reuse the same method applicability check routine
Reviewed-by: dlsmith, jjg
|
2012-01-24 17:52:02 +00:00 |
|
Jim Holmlund
|
323665eec5
|
7131308: Three regression tests fail due to bad fix for 7127924
Reviewed-by: jjg
|
2012-01-18 18:26:36 -08:00 |
|
Jim Holmlund
|
3d0da40b0d
|
7127924: langtools regression tests sometimes fail en-masse on windows
Reviewed-by: jjg
|
2012-01-17 17:14:44 -08:00 |
|
Jonathan Gibbons
|
a3f0f7b59c
|
4881269: improve diagnostic for ill-formed tokens
Reviewed-by: mcimadamore
|
2012-01-03 11:37:00 -08:00 |
|
Jonathan Gibbons
|
ea7f040a8e
|
7120736: refactor javac option handling
Reviewed-by: mcimadamore
|
2011-12-13 11:21:28 -08:00 |
|
Maurizio Cimadamore
|
b0a9998899
|
7115052: Add parser support for method references
Add support for parsing method references to JavacParser
Reviewed-by: jjg
|
2011-11-28 16:05:46 +00:00 |
|
Maurizio Cimadamore
|
4ac518143c
|
7115050: Add parser support for lambda expressions
Add support for parsing lambda expressions to JavacParser
Reviewed-by: jjg
|
2011-11-28 15:56:42 +00:00 |
|
Jonathan Gibbons
|
ebe950642c
|
7108669: cleanup Log methods for direct printing to streams
Reviewed-by: mcimadamore
|
2011-11-08 17:06:58 -08:00 |
|
Maurizio Cimadamore
|
1469ebc6da
|
7104618: MessageInfo.java is failing after lexer changes
Two langtools regression tests cannot be built due to a bad import statement
Reviewed-by: jjg
|
2011-10-25 15:40:34 +01:00 |
|
Maurizio Cimadamore
|
7873cba6b2
|
7098660: Write better overload resolution/inference tests
Add overload/inference debug diagnostics - added test harness using annotations to check outcome of overload resolution/inference
Reviewed-by: jjg
|
2011-10-24 13:00:30 +01:00 |
|
Jonathan Gibbons
|
4a8efe66a5
|
7075721: javac should have public enum for exit codes
Reviewed-by: mcimadamore
|
2011-09-22 09:24:01 -07:00 |
|
Jonathan Gibbons
|
ff7362918f
|
7092965: javac should not close processorClassLoader before end of compilation
Reviewed-by: darcy
|
2011-09-21 21:56:53 -07:00 |
|
Maurizio Cimadamore
|
08619c2e9c
|
7086601: Error message bug: cause for method mismatch is 'null'
Inference error during lub() does not set 'cause' for method resolution diagnostic
Reviewed-by: jjg
|
2011-09-13 14:15:39 +01:00 |
|
Maurizio Cimadamore
|
8db2f8de59
|
7086595: Error message bug: name of initializer is 'null'
Implementation of MethodSymbol.location() should take into account static/instance initializers
Reviewed-by: jjg
|
2011-09-13 14:14:57 +01:00 |
|
Jan Lahoda
|
6f70d425f2
|
7073631: (javac) javac parser improvements for error position reporting
JavacParser improvements for NetBeans, improved by LangTools.
Reviewed-by: mcimadamore, jjg
|
2011-09-01 09:14:25 -07:00 |
|
Jonathan Gibbons
|
654ae83d8e
|
7074416: Regression: JSR199: javac doesn't unwrap clientcodewrapper objects
Reviewed-by: mcimadamore
|
2011-08-31 15:39:00 -07:00 |
|
Maurizio Cimadamore
|
5c209a7d2d
|
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
Diamond in array initializer expressions should be rejected
Reviewed-by: jjg
|
2011-07-27 19:01:33 +01:00 |
|
Joe Darcy
|
faf515b31f
|
6575445: Update annotation processor to only use java.util.ServiceLoader
Reviewed-by: jjg
|
2011-06-24 13:52:14 -07:00 |
|
Maurizio Cimadamore
|
fcbd7a77c4
|
7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
Diamond should be disallowed in cases where explicit generic constructor parameters are specified
Reviewed-by: jjg
|
2011-04-30 11:57:46 +01:00 |
|
Maurizio Cimadamore
|
ea2c9e0af0
|
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
Accessing a non-existing enum constant from an annotation whose class is available results in an internal error
Reviewed-by: jjg
|
2011-04-29 16:06:28 +01:00 |
|
Maurizio Cimadamore
|
e7081dbf6a
|
7039937: Improved catch analysis fails to handle a common idiom in the libraries
Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable
Reviewed-by: jjg
|
2011-04-29 16:05:29 +01:00 |
|
Kelly O'Hair
|
39cd646f25
|
Merge
|
2011-04-13 16:57:22 -07:00 |
|
Kelly O'Hair
|
b49579c56c
|
7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
|
2011-04-06 20:33:44 -07:00 |
|
Jonathan Gibbons
|
ce0e6ca247
|
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
Reviewed-by: darcy, mcimadamore
|
2011-03-30 18:18:11 -07:00 |
|
Maurizio Cimadamore
|
acf788aa1f
|
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
Javac should warn about use/declaration of AutoCloseable subclasses that can throw InterruptedException
Reviewed-by: jjg
|
2011-03-29 16:41:18 +01:00 |
|
Maurizio Cimadamore
|
bc3a1c60ef
|
7030606: Project-coin: multi-catch types should be pairwise disjoint
Bring javac in sync with latest Project Coin EDR
Reviewed-by: jjg
|
2011-03-29 16:40:31 +01:00 |
|
Maurizio Cimadamore
|
eb4e1b86cd
|
6558548: The compiler needs to be aligned with clarified specification of throws
Javac should issue unconditional warnings when 'dead' catch clauses are detected
Reviewed-by: jjg
|
2011-03-16 11:12:26 +00:00 |
|
Jonathan Gibbons
|
593927cf2d
|
7010608: the string 'error' should appear in error messages
Reviewed-by: mcimadamore
|
2011-03-14 11:42:15 -07:00 |
|
Jonathan Gibbons
|
f71b78ced3
|
6980021: javac should document @file command line option
Reviewed-by: mcimadamore
|
2011-03-07 13:45:06 -08:00 |
|
Maurizio Cimadamore
|
409b9b8d25
|
7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
Disallow diamond on anonymous innner class creation expression (as per JSR 334's EDR)
Reviewed-by: jjg
|
2011-03-07 14:31:50 +00:00 |
|
Jonathan Gibbons
|
78ebde094c
|
7022310: test/tools/javac/diags/Example: args added twice
Reviewed-by: mcimadamore
|
2011-02-25 12:19:00 -08:00 |
|