Vicente Romero
0ace868fe4
8010737: javac, known parameter's names should be copied to automatically generated constructors for inner classes
...
Reviewed-by: mcimadamore
2013-06-01 21:57:56 +01:00
Vicente Romero
06d1d22eb5
7179353: try-with-resources fails to compile with generic exception parameters
...
Reviewed-by: mcimadamore
2013-05-31 10:04:59 +01:00
Vicente Romero
33f5aae0ff
7053059: VerifyError with double Assignment using a Generic Member of a Superclass
...
Reviewed-by: mcimadamore
2013-05-29 10:56:29 +01:00
Vicente Romero
e58031ceba
6970173: Debug pointer at bad position
...
Reviewed-by: mcimadamore
2013-05-28 12:46:10 +01:00
Maurizio Cimadamore
d176f2abdf
8014494: javac crashes when varargs element of a method reference is inferred from the context
...
Varargs element is not refreshed after type-inference
Reviewed-by: jjg, vromero
2013-05-24 15:27:27 +01:00
Maurizio Cimadamore
9d588c1a23
8014649: Regression: bug in Resolve.resolveOperator
...
Missing curly braces causes Resolve.findMethod to be called spuriously
Reviewed-by: jjg, vromero
2013-05-24 15:27:12 +01:00
Maurizio Cimadamore
372fabc476
8014643: Parser regression in JDK 8 when compiling super.x
...
Fixed latent bug in JavacParser.analyzeParens()
Reviewed-by: jjg, vromero
2013-05-24 15:26:57 +01:00
Vicente Romero
5b545ba465
7164114: Two jtreg tests are not run due to no file extension on the test files
...
Reviewed-by: mcimadamore
2013-05-21 14:33:09 +01:00
Vicente Romero
6a02cd46e0
8005207: test has 2 @bug tags
...
Reviewed-by: mcimadamore
2013-05-21 13:50:56 +01:00
Vicente Romero
a24da77752
7060779: test/tools/javac/diags/Example.java leaves directories in tempdir
...
Reviewed-by: mcimadamore
2013-05-21 12:17:18 +01:00
Joel Borggrén-Franck
4a4457b237
8013180: Qualified type reference with annotations in throws list crashes compiler
...
Reviewed-by: jjg
2013-05-21 12:00:29 +02:00
Robert Field
495e78ce52
8010006: NPE in javac with interface super in lambda
...
Reviewed-by: mcimadamore
2013-05-15 06:53:01 -07:00
Maurizio Cimadamore
4b1aa379e5
8013222: Javac issues spurious raw type warnings when lambda has implicit parameter types
...
Bad warnings and position for lambda inferred parameter types
Reviewed-by: jjg, vromero
2013-05-15 14:03:09 +01:00
Maurizio Cimadamore
fc9e870275
8012685: Spurious raw types warning when using unbound method references
...
Spurious raw type warning when unbound method reference qualifier parameter types are inferred from target
Reviewed-by: jjg, vromero
2013-05-15 14:02:37 +01:00
Maurizio Cimadamore
ec458693f7
8012003: Method diagnostics resolution need to be simplified in some cases
...
Unfold method resolution diagnostics when they mention errors in poly expressions
Reviewed-by: jjg, vromero
2013-05-15 14:00:31 +01:00
Jonathan Gibbons
df6136dc9a
8014323: Add VariableTree.getNameExpression
...
Reviewed-by: darcy
2013-05-14 21:08:40 -07:00
Sonali Goel
20c8d5925c
8013163: Convert 4 tools multicatch tests to jtreg format
...
Reviewed-by: jjg
2013-05-14 18:02:48 -07:00
Werner Dietl
54582cab82
8013852: update reference impl for type-annotations
...
Co-authored-by: Steve Sides <steve.sides@oracle.com>
Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Reviewed-by: jjg
2013-05-14 15:04:06 -07:00
Robert Field
c51505263f
8012556: Implement lambda methods on interfaces as static
...
8006140: Javac NPE compiling Lambda expression on initialization expression of static field in interface
Lambdas occurring in static contexts or those not needing instance information should be generated into static methods. This has long been the case for classes. However, as a work-around to the lack of support for statics on interfaces, interface lambda methods have been generated into default methods. For lambdas in interface static contexts (fields and static methods) this causes an NPE in javac because there is no 'this'. MethodHandles now support static methods on interfaces. This changeset allows lambda methods to be generated as static interface methods. An existing bug in Hotspot (8013875) is exposed in a test when the "-esa" flag is used. This test and another test that already exposed this bug have been marked with @ignore.
Reviewed-by: mcimadamore
2013-05-14 11:11:09 -07:00
Jan Lahoda
921bd43131
8012929: Trees.getElement should work not only for declaration trees, but also for use-trees
...
Co-authored-by: Dusan Balek <dbalek@netbeans.org>
Reviewed-by: jjg
2013-05-10 15:15:50 +02:00
Jonathan Gibbons
c037757e7b
8014363: javac test class ToolTester handles classpath incorrectly
...
Reviewed-by: ksrini
2013-05-12 18:18:54 -07:00
Alan Bateman
d4858d53df
8014318: tools/javac/profiles/ProfileOptionTest.java needs modifying now that javax.script is in compact1
...
Reviewed-by: mchung
2013-05-10 16:10:20 +01:00
Joel Borggrén-Franck
d5eeeb875b
8013485: javac can't handle annotations with a <clinit> from a previous compilation unit
...
Reviewed-by: mcimadamore
2013-05-08 14:10:53 +02:00
Jonathan Gibbons
5b3642b5ce
8004082: test/tools/javac/plugin/showtype/Test.java fails on windows: jtreg can't delete plugin.jar
...
Reviewed-by: vromero, mcimadamore
2013-05-07 14:27:30 -07:00
Robert Field
136b4bc9b2
8014023: When a method reference to a local class constructor is contained in a method whose number of parameters matches the number of constructor parameters compilation fails
...
Reviewed-by: mcimadamore
2013-05-07 06:39:34 -07:00
Jan Lahoda
57d8a7fc0f
8009724: Enhance the DocTree API with DocTreePath
...
Adding DocTreePath and DocTreePathScanner similar to TreePath and TreePathScanner, respectively
Co-authored-by: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Reviewed-by: jjg
2013-05-06 16:22:45 +02:00
Jonathan Gibbons
cb5ef8cc5c
8000407: remove @GenerateNativeHeader
...
Reviewed-by: vromero, darcy
2013-05-03 15:08:47 -07:00
Jonathan Gibbons
155bd74411
8012728: Normalize @ignore comments on langtools tests
...
Reviewed-by: vromero, mcimadamore
2013-05-03 09:56:56 -07:00
Robert Field
0ab1bb68cc
8011591: BootstrapMethodError when capturing constructor ref to local classes
...
Reviewed-by: mcimadamore
2013-05-01 08:46:04 -07:00
Vicente Romero
625f8df5f5
8012723: strictfp interface misses strictfp modifer on default method
...
Reviewed-by: mcimadamore
2013-04-26 10:04:01 +01:00
Jonathan Gibbons
2c4b48dced
8013256: javac test failing after Lambda changes to java.util.List
...
Reviewed-by: mduigou
2013-04-25 17:45:36 -07:00
Joel Borggrén-Franck
16bec05e63
8011027: Type parameter annotations not passed through to javax.lang.model
...
Reviewed-by: jjg, darcy
2013-04-22 10:24:19 +02:00
Jan Lahoda
77b43bacfd
8008174: DocTree API should provide start and end positions for tree nodes
...
Adding DocSourcePositions to allow access to DocTree starting/ending position
Co-authored-by: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Reviewed-by: jjg, darcy
2013-04-17 15:54:24 +02:00
Vicente Romero
0e9ad4439a
8011181: javac, empty UTF8 entry generated for inner class
...
Reviewed-by: jjg
2013-04-17 11:11:33 +01:00
Maurizio Cimadamore
8b680bdde2
8011392: Missing checkcast when casting to intersection type
...
Javac should emit a checkcast for each additional target type specified in an intersection type cast
Reviewed-by: jjg
2013-04-15 14:17:30 +01:00
Maurizio Cimadamore
8f2d47cf79
8011028: lang/INFR/infr001/infr00101md/infr00101md.java fails to compile after switch to JDK8-b82
...
Fix bug in Types.removeWildcards
Reviewed-by: jjg
2013-04-15 14:16:05 +01:00
Maurizio Cimadamore
e59fd44a73
8011376: Spurious checked exception errors in nested method call
...
Fallback attribution logic doesn't work properly when lambda throws checked exceptions
Reviewed-by: jjg
2013-04-15 14:15:07 +01:00
Maurizio Cimadamore
2b94dbb504
8011377: Javac crashes when multiple lambdas are defined in an array
...
Wrong attribution environment used by DeferredAttr
Reviewed-by: jjg
2013-04-15 14:12:17 +01:00
Maurizio Cimadamore
efc501257b
8011383: Symbol.getModifiers omits ACC_ABSTRACT from interface with default methods
...
Fixup for default method modifiers erroneously applies to class-level modifiers
Reviewed-by: jjg
2013-04-15 14:11:29 +01:00
Maurizio Cimadamore
3044b19d21
8010659: Javac Crashes while building OpenJFX
...
Reviewed-by: jjg
2013-04-13 12:25:44 +01:00
Joel Borggrén-Franck
6f2f8b14be
7015104: use new subtype of TypeSymbol for type parameters
...
Reviewed-by: jjg, mcimadamore
2013-04-12 12:05:04 +02:00
Vicente Romero
cde5be4904
8011432: javac, compiler regression iterable + captured type
...
Reviewed-by: mcimadamore
2013-04-10 12:31:02 +01:00
Maurizio Cimadamore
da9dd76b20
8010822: Intersection type cast for functional expressions does not follow spec EDR
...
Remove support for marker interfaces; redefine intersection type casts to be order-independent
Reviewed-by: jjg
2013-04-08 15:59:29 +01:00
Maurizio Cimadamore
ea55015155
8009131: Overload: javac should discard methods that lead to errors in lambdas with implicit parameter types
...
Lambdas that have errors in their bodies should make enclosing overload resolution fail
Reviewed-by: jjg
2013-04-08 15:57:10 +01:00
Maurizio Cimadamore
b4b6e4f82e
8010404: Lambda debugging: redundant LineNumberTable entry for lambda capture
...
Ignore indy entries in LineNumberTable
Reviewed-by: jjg
2013-04-08 15:53:08 +01:00
Maurizio Cimadamore
08df98aa3c
8010823: DefaultMethodTest.testReflectCall fails with new lambda VM
...
Fix lambda test
Reviewed-by: jjg
2013-04-08 15:52:05 +01:00
Joe Darcy
3aabe92c92
8011052: Add DEFAULT to javax.lang.model.Modifier
...
Reviewed-by: abuckley, jjg
2013-04-03 12:27:12 -07:00
Vicente Romero
a19d0728ba
4965689: class literal code wastes a byte
...
Reviewed-by: jjg
2013-04-02 10:51:16 +01:00
Jonathan Gibbons
18f48ab46b
8010511: Tests are creating files in /tmp
...
Reviewed-by: darcy
2013-03-28 10:58:45 -07:00
Jonathan Gibbons
84a50dc114
8006346: doclint should make allowance for headers generated by standard doclet
...
Reviewed-by: mcimadamore
2013-03-28 10:49:39 -07:00