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
5b1a78dc92
8006694: temporarily workaround combo tests are causing time out in several platforms
...
Reviewed-by: jjg
2013-01-23 20:57:40 +00: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
948888218b
8006673: TargetType52 fails because of bad golden file
...
Fix golden file in negative test
Reviewed-by: jjg
2013-01-22 16:23:35 +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
caf667de05
8004182: Add support for profiles in javac
...
Reviewed-by: mcimadamore
2013-01-21 01:27:42 -05:00
Maurizio Cimadamore
00ae27b2cf
8006561: Langtools test failure: missing diags/examples
...
Forgot to hg add tests
Reviewed-by: jjg
2013-01-18 15:38:14 +00: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
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
a2f594bf74
8006119: update javac to follow latest spec for repeatable annotations
...
Reviewed-by: darcy
2013-01-14 13:50:01 -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
Vicente Romero
9d4f6a0ebe
8005167: execution time of combo tests in javac should be improved
...
Reviewed-by: jjg, jjh
2013-01-08 13:47:57 +00:00
Maurizio Cimadamore
c932023b04
8005179: Cleanup Resolve.AmbiguityError
...
Linearize nested ambiguity errors
Reviewed-by: jjg
2013-01-08 10:16:26 +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
Lana Steuck
87a4453583
Merge
2013-01-01 17:50:29 -08:00
Eric Mccorkle
73b497c12e
8004727: Add compiler support for parameter reflection
...
Reviewed-by: jjg
2012-12-29 17:33:17 -08:00
Lana Steuck
f2c7a7867a
Merge
2012-12-28 18:39:09 -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
Joe Darcy
378571e10e
8005282: Use @library tag with non-relative path for javac tests
...
Reviewed-by: jjg
2012-12-21 08:45:43 -08:00
David Katleman
8208c844dd
8004982: JDK8 source with GPL header errors
...
Reviewed-by: ohair
2012-12-20 16:24:18 -08:00
Jonathan Gibbons
aee2457cd0
8004833: Integrate doclint support into javac
...
Reviewed-by: mcimadamore
2012-12-19 11:29:56 +00:00
Maurizio Cimadamore
2296453268
8005193: New regression test test/tools/javac/lambda/BadMethodCall2.java fails
...
Bad golden file in negative test
Reviewed-by: jjh
2012-12-18 22:16:45 +00: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
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
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
Vicente Romero
630bba40bd
8004976: test/tools/javac/7153958/CPoolRefClassContainingInlinedCts.java can fail
...
Reviewed-by: jjg, mcimadamore
2012-12-14 11:16:46 +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
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
01dc08a587
8004360: regression test DefaultMethodRegressionTests fails in langtools
...
Ignore broken failing test
Reviewed-by: jjg
2012-12-04 17:19:42 +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
Maurizio Cimadamore
c76c08e82a
8004101: Add checks for method reference well-formedness
...
Bring method reference type-checking in sync with latest EDR
Reviewed-by: jjg
2012-11-30 15:14:36 +00:00
Maurizio Cimadamore
0db60b7bb2
8004102: Add support for generic functional descriptors
...
Method references are allowed to have a generic functional interface descriptor target
Reviewed-by: jjg
2012-11-30 15:14:25 +00:00
Maurizio Cimadamore
684271da34
8004105: Expression statement lambdas should be void-compatible
...
Fix lambda compatibility rules as per latest EDR
Reviewed-by: jjg
2012-11-30 15:14:12 +00:00
Vicente Romero
ba3ae37ef0
7153958: add constant pool reference to class containing inlined constants
...
Reviewed-by: jjg, mcimadamore
2012-11-29 09:41:48 +00:00
Vicente Romero
9bbd892818
7144981: javac should ignore ignorable characters in input
...
Reviewed-by: jjg, mcimadamore
2012-11-23 15:13:45 +00:00
Robert Field
d1a78e2021
8003639: convert lambda testng tests to jtreg and add them
...
Reviewed-by: mcimadamore
2012-11-20 09:58:55 -08:00
Maurizio Cimadamore
d1eede168b
8003663: lambda test fails on Windows
...
Fix path separator issue in test
Reviewed-by: jjg
2012-11-20 15:43:28 +00:00
Jonathan Gibbons
f0fe027b50
8003649: regression/langtools: tools/javac/doctree
...
Reviewed-by: ksrini
2012-11-20 07:21:07 -08:00
Jonathan Gibbons
5a30b6af0c
8001098: Provide a simple light-weight "plug-in" mechanism for javac
...
Reviewed-by: mcimadamore
2012-11-19 11:38:49 -08:00
Maurizio Cimadamore
a494f0ab86
8003280: Add lambda tests
...
Turn on lambda expression, method reference and default method support
Reviewed-by: jjg
2012-11-17 19:01:03 +00:00