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
Jonathan Gibbons
155bd74411
8012728: Normalize @ignore comments on langtools tests
...
Reviewed-by: vromero, mcimadamore
2013-05-03 09:56:56 -07:00
David Katleman
4cb79dcf34
Added tag jdk8-b88 for changeset a072db97da9b
2013-05-02 13:35:55 -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
Lana Steuck
1cc57f6d39
Merge
2013-04-30 17:53:30 -07:00
Mandy Chung
dc74edc516
8013531: Provide a utility class in com.sun.tools.classfile to find field/method references
...
Reviewed-by: alanb
2013-04-30 15:43:00 -07:00
Vicente Romero
4c481aa87c
8010304: javac should detect all mutable implicit static fields in langtools using a plugin
...
Reviewed-by: jjg
2013-04-26 15:59:39 +01:00
Vicente Romero
a20460d6cb
8008562: javac, a refactoring to Bits is necessary in order to provide a change history
...
Reviewed-by: mcimadamore
2013-04-26 10:17:01 +01: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
David Katleman
080fcf080e
Added tag jdk8-b87 for changeset c4b5ab25b20c
2013-04-25 09:24:40 -07:00
Lana Steuck
cdf9c2dc11
Merge
2013-04-23 15:09:12 -07:00
Lana Steuck
aff559a660
Merge
2013-04-23 09:27:28 -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
Jonathan Gibbons
2e806d1c3e
8012661: remove langtools Makefile-classic
...
Reviewed-by: erikj, tbell
2013-04-19 11:10:40 -07:00
Joel Borggrén-Franck
51d2ddd790
8012681: Commit for JDK-8012656 breaks tl build
...
Reviewed-by: vromero, chegar, alanb
2013-04-19 11:57:46 +02:00
Jonathan Gibbons
3c7d12fc05
8012656: cache frequently used name strings for DocImpl classes
...
Reviewed-by: darcy
2013-04-18 20:00:14 -07:00
Jonathan Gibbons
66dde86ad0
8012658: Change default langtools source level to 7
...
Reviewed-by: darcy
2013-04-18 19:58:45 -07:00
David Katleman
b88db65011
Added tag jdk8-b86 for changeset 29071bf3de15
2013-04-18 10:30:32 -07:00
Lana Steuck
0285880f3d
Merge
2013-04-17 21:50:43 -07: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
David Katleman
bae256e87f
Merge
2013-04-16 15:00:49 -07:00
Lana Steuck
2775a21b88
Merge
2013-04-16 08:16:07 -07:00
David Katleman
64059dd1e1
Merge
2013-04-15 14:21:06 -07:00
Maurizio Cimadamore
8ab167f0ed
8010923: Avoid redundant speculative attribution
...
Add optimization to avoid speculative attribution for certain argument expressions
Reviewed-by: jjg
2013-04-15 14:18:30 +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
Bhavesh Patel
56d97d6507
8009686: Generated javadoc documentation should be able to display type annotation on an array
...
Reviewed-by: jjg
2013-04-13 18:48:29 -07:00
Maurizio Cimadamore
3044b19d21
8010659: Javac Crashes while building OpenJFX
...
Reviewed-by: jjg
2013-04-13 12:25:44 +01:00
David Katleman
9261edec97
8012048: JDK8 b85 source with GPL header errors
...
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:47 -07: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
Lana Steuck
91a3ea7554
Merge
2013-04-11 19:15:56 -07:00
David Katleman
965bf390d4
Added tag jdk8-b85 for changeset 575b651b1b3c
2013-04-11 09:40:22 -07:00
Vicente Romero
cde5be4904
8011432: javac, compiler regression iterable + captured type
...
Reviewed-by: mcimadamore
2013-04-10 12:31:02 +01:00
Bhavesh Patel
b82442a565
8005091: javadoc should be able to return the receiver type
...
Reviewed-by: jjg
2013-04-09 14:18:22 -07:00
Jonathan Gibbons
a45f8e0ef9
8011677: EndPosTables should avoid hidden references to Parser
...
Reviewed-by: mcimadamore
2013-04-08 11:57:37 -07:00
Jonathan Gibbons
876df30973
8011676: Instances of Tokens.Comment should not be defined in inner classes
...
Reviewed-by: mcimadamore
2013-04-08 11:54:26 -07: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
Maurizio Cimadamore
f298073f33
8010922: Cleanup: add support for ad-hoc method check logic
...
Support pluggable method checkers
Reviewed-by: jjg
2013-04-08 15:51:41 +01:00
Lana Steuck
2736fc31a9
Merge
2013-04-05 14:51:55 -07:00
David Katleman
f4cf1435ed
Added tag jdk8-b84 for changeset 5e63bda2ec36
2013-04-04 19:05:42 -07:00
Joe Darcy
3aabe92c92
8011052: Add DEFAULT to javax.lang.model.Modifier
...
Reviewed-by: abuckley, jjg
2013-04-03 12:27:12 -07:00
Lana Steuck
5db557f689
Merge
2013-04-02 12:00:48 -07:00
Vicente Romero
a19d0728ba
4965689: class literal code wastes a byte
...
Reviewed-by: jjg
2013-04-02 10:51:16 +01:00
Lana Steuck
2288704f7f
Merge
2013-04-01 21:42:15 -07:00
Jonathan Gibbons
18f48ab46b
8010511: Tests are creating files in /tmp
...
Reviewed-by: darcy
2013-03-28 10:58:45 -07:00
David Katleman
e4d9e1a5e7
Added tag jdk8-b83 for changeset fd242a461861
2013-03-28 10:55:14 -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
Maurizio Cimadamore
059c4839bc
8010490: FindBugs: double assignments in LambdaToMethod.visitIdent
...
Remove dead code from LambdaToMethod
Reviewed-by: jjg
2013-03-28 11:39:04 +00:00
Maurizio Cimadamore
b67623d272
8010469: Bad assertion in LambdaToMethod
...
Add assertion in LambdaToMethod.serializedLambdaName
Reviewed-by: jjg
2013-03-28 11:38:38 +00:00
Joe Darcy
4d16263250
7059170: Assume availablility of URLClassLoader.close
...
Reviewed-by: jjg
2013-03-26 18:15:24 -07:00
Joe Darcy
af36b14fdb
7041251: Use j.u.Objects utility methods in langtools
...
Reviewed-by: jjg
2013-03-26 17:17:14 -07:00
Lana Steuck
86f5cb2773
Merge
2013-03-26 12:07:45 -07:00
Michael Fang
1a25595a25
Merge
2013-03-25 18:08:47 -07:00
Michael Fang
fa35aeb6eb
8010521: jdk8 l10n resource file translation update 2
...
Reviewed-by: naoto, yhuang
2013-03-25 16:55:14 -07:00
Joe Darcy
d54accaf5c
7080464: langtools regression test failures when assertions are enabled
...
Reviewed-by: jjg
2013-03-22 10:08:46 -07:00
Maurizio Cimadamore
7ee4846b45
8010387: Javac crashes when diagnostic mentions anonymous inner class' type variables
...
Rich formatter doesn't preprocess supertypes of an anonymous inner class
Reviewed-by: jjg
2013-03-22 12:44:48 +00:00
Maurizio Cimadamore
2b66afe14d
8010303: Graph inference: missing incorporation step causes spurious inference error
...
Multiple equality constraints on inference vars are not used to generate new inference constraints
Reviewed-by: jjg
2013-03-22 12:43:09 +00:00