rfield [Tue, 14 May 2013 11:11:09 -0700] rev 17575
8012556: Implement lambda methods on interfaces as static
8006140: Javac NPE compiling Lambda expression on initialization expression of static field in interface
Summary: 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
jjg [Tue, 14 May 2013 10:14:57 -0700] rev 17574
8012308: Remove TagletOutput in favor of direct use of Content
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:56 -0700] rev 17573
8012311: Cleanup names and duplicatre code in TagletManager
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:56 -0700] rev 17572
8012295: Cleanup JavaFX features in standard doclet
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:56 -0700] rev 17571
8012180: Speed up removeNonInlineHtmlTags
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:55 -0700] rev 17570
8012183: replace some uses of Configuration.getText with Configuration.getResource
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:55 -0700] rev 17569
8012178: Cleanup use of Util.escapeHtmlChars
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:55 -0700] rev 17568
8012177: HTMLDocletWriter methods should generate Content, not Strings
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:54 -0700] rev 17567
8012176: reduce use of TagletOutputImpl.toString
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:54 -0700] rev 17566
8012175: Convert TagletOutputImpl to use ContentBuilder instead of StringBuilder
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:54 -0700] rev 17565
8012174: {@literal} and {@code} should use \"new\" Taglet, not old.
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:53 -0700] rev 17564
8011288: Erratic/inconsistent indentation of signatures
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:53 -0700] rev 17563
8011668: Allow HTMLWriter.getResource to take Content args
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:53 -0700] rev 17562
8011662: Remove single instance of resource with HTML from doclet resource bundle
Reviewed-by: bpatel, darcy
jjg [Tue, 14 May 2013 10:14:52 -0700] rev 17561
8011651: simplify LinkInfoImpl API
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:52 -0700] rev 17560
8011650: reduce use of RawHtml nodes in doclet
Reviewed-by: darcy
jjg [Tue, 14 May 2013 10:14:52 -0700] rev 17559
8011642: Remove LinkOutput in favor of direct use of Content
Reviewed-by: bpatel, darcy
jjg [Tue, 14 May 2013 10:14:51 -0700] rev 17558
8010440: Replace int constants in LinkInfoImpl with enum
Reviewed-by: bpatel, darcy
jlahoda [Fri, 10 May 2013 15:15:50 +0200] rev 17557
8012929: Trees.getElement should work not only for declaration trees, but also for use-trees
Reviewed-by: jjg
Contributed-by: Dusan Balek <dbalek@netbeans.org>, Jan Lahoda <jlahoda@netbeans.org>
jjg [Sun, 12 May 2013 18:18:54 -0700] rev 17556
8014363: javac test class ToolTester handles classpath incorrectly
Reviewed-by: ksrini
darcy [Fri, 10 May 2013 14:31:42 -0700] rev 17555
8014365: Restore Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: jjg
alanb [Fri, 10 May 2013 16:10:20 +0100] rev 17554
8014318: tools/javac/profiles/ProfileOptionTest.java needs modifying now that javax.script is in compact1
Reviewed-by: mchung
lana [Wed, 08 May 2013 23:54:45 -0700] rev 17553
Merge
jfranck [Wed, 08 May 2013 14:10:53 +0200] rev 17552
8013485: javac can't handle annotations with a <clinit> from a previous compilation unit
Reviewed-by: mcimadamore
jjg [Tue, 07 May 2013 14:27:30 -0700] rev 17551
8004082: test/tools/javac/plugin/showtype/Test.java fails on windows: jtreg can't delete plugin.jar
Reviewed-by: vromero, mcimadamore
rfield [Tue, 07 May 2013 06:39:34 -0700] rev 17550
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
jlahoda [Mon, 06 May 2013 16:22:45 +0200] rev 17549
8009724: Enhance the DocTree API with DocTreePath
Summary: Adding DocTreePath and DocTreePathScanner similar to TreePath and TreePathScanner, respectively
Reviewed-by: jjg
Contributed-by: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>, Jan Lahoda <jlahoda@netbeans.org>
darcy [Sun, 05 May 2013 21:04:41 -0700] rev 17548
8013909: Fix doclint issues in javax.lang.model
Reviewed-by: jjg