Maurizio Cimadamore
8c1621ee38
8008293: Declared bounds not considered when functional interface containing unbound wildcards is instantiated
...
Wildcards inference should re-use some of the bounds info generated during capture conversion
Reviewed-by: jjg
2013-02-21 15:25:03 +00:00
Maurizio Cimadamore
5bbf5f39fc
8005183: Missing accessor for constructor reference pointing to private inner class ctor
...
Compiler should add bridges when translating private constructor reference
Reviewed-by: jjg
2013-02-21 15:23:48 +00:00
Maurizio Cimadamore
937b7d2fba
8008276: assertion error in com.sun.tools.javac.comp.TransTypes.visitApply
...
DiagnosticFilter used during speculative attribution is too broad
Reviewed-by: jjg
2013-02-21 15:21:38 +00:00
Maurizio Cimadamore
eb68b33185
8008227: Mixing lambdas with anonymous classes leads to NPE thrown by compiler
...
Disentangle cyclic dependency between static-ness of synthetic lambda method and static-ness of classes nested within lambdas
Reviewed-by: jjg
2013-02-21 15:19:29 +00:00
Eric Mccorkle
bfe1255adc
8006948: Update javac for MethodParameters format change
...
Reviewed-by: ksrini, forax
2013-02-19 17:19:01 -08:00
Vicente Romero
68a3295c8b
8006212: javac, convert jtreg tests from shell script to java
...
Reviewed-by: jjg
2013-02-19 17:53:16 +00:00
Joe Darcy
6e097b8776
8008267: Add @Supported annotation to com.sun.source types
...
Reviewed-by: jjg
2013-02-19 00:31:45 -08:00
Vicente Romero
e6b61ae08a
6563143: javac should issue a warning for overriding equals without hashCode
...
Reviewed-by: jjg, mcimadamore
2013-02-18 14:33:25 +00:00
Robert Field
b2a3c762ff
8004969: Generate $deserializeLambda$ method
...
8006763: super in method reference used in anonymous class - ClassFormatError is produced
8005632: Inner classes within lambdas cause build failures
8005653: Lambdas containing inner classes referencing external type variables do not correctly parameterize the inner classes
Reviewed-by: mcimadamore
2013-02-15 18:40:38 -08:00
Maurizio Cimadamore
b9a88adb02
Merge
2013-02-15 16:37:19 +00:00
Sonali Goel
30058417e1
8007427: Annotation element as '_' gives compiler error instead of a warning
...
8007401: Write test to check for generation of warnings when '_' is used as an identifier
Extended identifier production not used in annotation values
Reviewed-by: jjg
2013-02-15 16:31:19 +00:00
Maurizio Cimadamore
f5df2a2562
8007535: Compiler crashes on @FunctionalInterface used on interface with two inherited methods with same signatures
...
Bad check in Types.interfaceCandidates
Reviewed-by: jjg
2013-02-15 16:30:31 +00:00
Maurizio Cimadamore
b496912ee1
8007462: Fix provisional applicability for method references
...
Add speculative arity-based check to rule out potential candidates when stuck reference is passed to method
Reviewed-by: jjg
2013-02-15 16:29:58 +00:00
Maurizio Cimadamore
e88e06a5e0
8007285: AbstractMethodError instead of compile-time error when method reference with super and abstract
...
Missing abstractness check on super rmethod references
Reviewed-by: jjg
2013-02-15 16:28:57 +00:00
Jonathan Gibbons
a695bef890
8007052: javap should include the descriptor for a method in verbose mode
...
Reviewed-by: mcimadamore
2013-02-15 08:28:42 -08:00
Maurizio Cimadamore
f8f9896cc7
8006749: compiler does not allow Object protected methods to be used in lambda
...
Check.checkFunctionalInterface should take into account 'fake' override
Reviewed-by: jjg
2013-02-15 16:28:07 +00:00
Mandy Chung
ee65d32c20
8006225: tools/jdeps/Basic.java failes with AssertionError
...
Reviewed-by: alanb
2013-02-14 09:43:00 -08:00
Eric Mccorkle
8ccde1a96e
8006345: Report Synthesized Parameters in java.lang.reflect.Parameter API
...
8006896: ClassReader doesn't see MethodParameters attr for method of anon inner class
8007098: Output Synthesized Parameters to MethodParameters Attributes
Correctly report synthesized and mandated parameters
Reviewed-by: mcimadamore, jjg
2013-02-13 17:04:21 +00:00
Joel Borggrén-Franck
14c0c8eed8
8007279: Rename javax.l.model.element.Element.getAnnotations(Class) to getAnnotationsByType(Class)
...
Reviewed-by: darcy, abuckley
2013-02-13 10:33:13 +01:00
Werner Dietl
464abcb4fa
8008077: update reference impl for type-annotations
...
Reviewed-by: jjg
2013-02-12 17:15:29 -08:00
Maurizio Cimadamore
1ec5dfafe0
8007464: Add graph inference support
...
Add support for more aggressive type-inference scheme
Reviewed-by: jjg
2013-02-12 19:25:09 +00:00
Vicente Romero
9bdfca5e56
8006334: javap, JavapTask constructor breaks with null pointer exception if parameter options is null
...
Reviewed-by: jjg
2013-02-12 13:36:56 +00:00
Joe Darcy
44e3518c32
8007574: Provide isFunctionalInterface in javax.lang.model
...
Reviewed-by: jjg
2013-02-11 13:37:41 -08:00
Jonathan Gibbons
b30e5c6313
8007610: javadoc doclint does not work with -private
...
Reviewed-by: darcy
2013-02-08 17:35:16 -08:00
Vicente Romero
59318f1b2e
7167125: Two variables after the same operation in a inner class return different results
...
Reviewed-by: jjg, mcimadamore
2013-02-08 09:21:19 +00:00
Vicente Romero
561631ea44
8005931: javac doesn't set ACC_STRICT for classes with package access
...
Reviewed-by: mcimadamore
2013-02-08 09:15:27 +00:00
Vicente Romero
bba9417038
7166455: javac doesn't set ACC_STRICT bit on <clinit> for strictfp class
...
Reviewed-by: mcimadamore
2013-02-08 09:12:37 +00:00
Jonathan Gibbons
305cf1f98b
8007566: DocLint too aggressive with not allowed here: <p>
...
Reviewed-by: mcimadamore
2013-02-06 07:49:31 -08:00
Maurizio Cimadamore
681e6c377e
8007479: Refactor DeferredAttrContext so that it points to parent context
...
Move DeferredAttrNode out of DeferredAttrContext; add support for nested deferred contexts
Reviewed-by: jjg
2013-02-06 14:04:43 +00:00
Maurizio Cimadamore
0336a57511
8007463: Cleanup inference related classes
...
Make Infer.InferenceContext an inner class; adjust bound replacement logic in Type.UndetVar
Reviewed-by: jjg
2013-02-06 14:03:39 +00:00
Jonathan Gibbons
05a047b442
8007492: DocumentationTool cannot locate standard doclet when invoked from JRE
...
Reviewed-by: darcy
2013-02-04 18:14:24 -08:00
Jonathan Gibbons
4d8014cefa
8007490: NPE from DocumentationTool.run
...
Reviewed-by: darcy
2013-02-04 15:30:10 -08:00
Vicente Romero
a4a897ce52
7199823: javac generates inner class that can't be verified
...
Reviewed-by: jjg, mcimadamore
2013-02-03 02:31:30 +00:00
Vicente Romero
a9f424c887
8005075: Pool.Method, and Pool.Variable redundant Symbol field should be removed
...
Reviewed-by: jjg
2013-02-02 21:04:56 +00:00
Joe Darcy
c2e77030a1
8001614: Include annotation type to documented supported-ness
...
Reviewed-by: alanb, jjg, tbell
2013-02-01 13:01:26 -08:00
Jonathan Gibbons
8f90cd0025
8007344: javac may not make tree end positions and/or doc comments available to processors and listeners
...
Reviewed-by: darcy
2013-02-01 12:01:03 -08:00
Roger Riggs
9bf4d2f978
8004353: Generated html is wrong for overview.html; content has incorrect css footer class
...
Reviewed-by: jjg
2013-01-31 19:31:37 -08:00
Jonathan Gibbons
64ef3bfccc
8007329: minor issues in impl class hierarchry for DCTree.* classes
...
Reviewed-by: darcy
2013-01-31 19:19:40 -08:00
Jonathan Gibbons
ebc0ebf54d
8007096: DocLint parsing problems with some comments
...
Reviewed-by: mcimadamore
2013-01-30 09:40:54 -08:00
Joe Darcy
6b27e06701
8006264: Add explanation of why default methods cannot be used in JDK 8 javax.lang.model
...
Reviewed-by: jjg
2013-01-23 20:11:07 -08:00
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