Commit Graph

1745 Commits

Author SHA1 Message Date
David Katleman
b08f6026b4 8015525: JDK8 b91 source with GPL header errors
Reviewed-by: dholmes, lancea
2013-05-29 10:16:32 -07:00
David Katleman
5982b3ca08 Merge 2013-05-28 17:58:34 -07:00
Erik Joelsson
23431500a0 8012566: Replace find, rm, printf and similar with their proper variables
Reviewed-by: tbell
2013-05-28 08:49:04 +02:00
David Katleman
7fb6c93ec0 Added tag jdk8-b91 for changeset a5e4cac27b50 2013-05-23 10:47:57 -07:00
Lana Steuck
3a3757d756 Merge 2013-05-17 10:13:34 -07:00
David Katleman
04210a7351 Added tag jdk8-b90 for changeset c710c82509ec 2013-05-16 12:16:07 -07:00
Erik Joelsson
31ad82b41b 8006879: Detection of windows in sjavac fails
Reviewed-by: jjg
2013-05-15 10:39:26 -07: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
Joe Darcy
892414e73c 8004133: Provide javax.lang.model.* implementation backed by core reflection
Joint work by darcy and jfranck to provide sample code for JEP 119.

Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Reviewed-by: jjg
2013-05-15 00:00:39 -07: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
Jonathan Gibbons
ac02470255 8014557: Mutable static field in HtmlDocletWriter
Reviewed-by: ksrini
2013-05-14 13:55:35 -07:00
Jonathan Gibbons
8530833747 8014461: genstubs creates default native methods
Reviewed-by: alanb
2013-05-14 12:55:15 -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
Jonathan Gibbons
997db01200 8012308: Remove TagletOutput in favor of direct use of Content
Reviewed-by: darcy
2013-05-14 10:14:57 -07:00
Jonathan Gibbons
2a88c7b71d 8012311: Cleanup names and duplicatre code in TagletManager
Reviewed-by: darcy
2013-05-14 10:14:56 -07:00
Jonathan Gibbons
3cbf2d13c3 8012295: Cleanup JavaFX features in standard doclet
Reviewed-by: darcy
2013-05-14 10:14:56 -07:00
Jonathan Gibbons
100a8ab7e0 8012180: Speed up removeNonInlineHtmlTags
Reviewed-by: darcy
2013-05-14 10:14:56 -07:00
Jonathan Gibbons
760506498b 8012183: replace some uses of Configuration.getText with Configuration.getResource
Reviewed-by: darcy
2013-05-14 10:14:55 -07:00
Jonathan Gibbons
160967e991 8012178: Cleanup use of Util.escapeHtmlChars
Reviewed-by: darcy
2013-05-14 10:14:55 -07:00
Jonathan Gibbons
37eaa21584 8012177: HTMLDocletWriter methods should generate Content, not Strings
Reviewed-by: darcy
2013-05-14 10:14:55 -07:00
Jonathan Gibbons
1631e19242 8012176: reduce use of TagletOutputImpl.toString
Reviewed-by: darcy
2013-05-14 10:14:54 -07:00
Jonathan Gibbons
147bdb8230 8012175: Convert TagletOutputImpl to use ContentBuilder instead of StringBuilder
Reviewed-by: darcy
2013-05-14 10:14:54 -07:00
Jonathan Gibbons
fc641c0bd6 8012174: {@literal} and {@code} should use \"new\" Taglet, not old
Reviewed-by: darcy
2013-05-14 10:14:54 -07:00
Jonathan Gibbons
0ac80e7f93 8011288: Erratic/inconsistent indentation of signatures
Reviewed-by: darcy
2013-05-14 10:14:53 -07:00
Jonathan Gibbons
b2becec2bc 8011668: Allow HTMLWriter.getResource to take Content args
Reviewed-by: darcy
2013-05-14 10:14:53 -07:00
Jonathan Gibbons
1711056efc 8011662: Remove single instance of resource with HTML from doclet resource bundle
Reviewed-by: bpatel, darcy
2013-05-14 10:14:53 -07:00
Jonathan Gibbons
c7eaca84da 8011651: simplify LinkInfoImpl API
Reviewed-by: darcy
2013-05-14 10:14:52 -07:00
Jonathan Gibbons
f7e7f8d1bc 8011650: reduce use of RawHtml nodes in doclet
Reviewed-by: darcy
2013-05-14 10:14:52 -07:00
Jonathan Gibbons
f961eafe35 8011642: Remove LinkOutput in favor of direct use of Content
Reviewed-by: bpatel, darcy
2013-05-14 10:14:52 -07:00
Jonathan Gibbons
f2f747f475 8010440: Replace int constants in LinkInfoImpl with enum
Reviewed-by: bpatel, darcy
2013-05-14 10:14:51 -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
Joe Darcy
8ea0284b13 8014365: Restore Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: jjg
2013-05-10 14:31:42 -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
David Katleman
a8476a7787 Added tag jdk8-b89 for changeset 9336d45f8213 2013-05-09 10:04:34 -07:00
Lana Steuck
bc6e6c4432 Merge 2013-05-08 23:54:45 -07: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
Lana Steuck
23b301d6d8 Merge 2013-05-06 11:53:44 -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
Joe Darcy
d606b9d0d6 8013909: Fix doclint issues in javax.lang.model
Reviewed-by: jjg
2013-05-05 21:04:41 -07:00
Jonathan Gibbons
4b44fd7622 8008768: Using {@inheritDoc} in simple tag defined via -tag fails
Co-authored-by: Mike Duigou <mike.duigou@oracle.com>
Reviewed-by: jjg, mduigou
2013-05-03 17:44:38 -07:00
Jonathan Gibbons
cb5ef8cc5c 8000407: remove @GenerateNativeHeader
Reviewed-by: vromero, darcy
2013-05-03 15:08:47 -07:00
Jonathan Gibbons
ce05f1c8ec 8002387: Improve rendered HTML formatting for {@code}
Reviewed-by: ksrini
2013-05-03 10:17:12 -07:00