Maurizio Cimadamore
4cb585609d
7139681: Enhanced for loop: local variable scope inconsistent with JLS
...
For-each loop variable is incorrectly visible from the for-each expression
Reviewed-by: jjg, vromero
2013-06-06 15:32:41 +01:00
Maurizio Cimadamore
884ad14bdf
6360970: javac erroneously accept ambiguous field reference
...
Clash between ambiguous fields in superinterface and unambiguous field in subinterface is erroneously marked as unambiguous
Reviewed-by: jjg, vromero
2013-06-06 15:30:14 +01:00
Jonathan Gibbons
bdfb93ee25
8004643: Reduce javac space overhead introduced with compiler support for repeating annotations
...
Reviewed-by: mcimadamore, jfranck
2013-06-04 14:17:50 -07:00
Vicente Romero
aeb1c4b67e
7165659: javac incorrectly sets strictfp access flag on inner-classes
...
Reviewed-by: jjg, mcimadamore
2013-06-04 13:21:41 +01:00
Maurizio Cimadamore
5d6029baac
8015505: Spurious inference error when return type of generic method requires unchecked conversion to target
...
Use check context compatibility during 15.12.2.8 check (only when JDK 8 inference is enabled)
Reviewed-by: jjg
2013-06-04 11:34:31 +01:00
Maurizio Cimadamore
f0112464e0
7116676: RichDiagnosticFormatter throws NPE when formatMessage is called directly
...
Fix NPE in RichDiagnosticFormatter.formatMessage
Reviewed-by: jjg
2013-06-04 11:30:51 +01:00
Jonathan Gibbons
a282ed3923
8007687: javadoc -X does not include -Xdoclint
...
Reviewed-by: darcy
2013-06-03 17:24:47 -07:00
Jonathan Gibbons
a850ba134d
8006615: [doclint] move remaining messages into resource bundle
...
Reviewed-by: mcimadamore, vromero
2013-06-03 17:09:26 -07:00
Jonathan Gibbons
c594d824a4
8013405: DocLint should support <LI value="value">
...
Reviewed-by: ksrini
2013-06-03 16:22:27 -07:00
Vicente Romero
7ab7587227
6695379: Copy method annotations and parameter annotations to synthetic bridge methods
...
Reviewed-by: mcimadamore
2013-06-01 22:09:18 +01:00
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
bbae50582f
8012333: javac, ClassFile should have a read(Path) method
...
Reviewed-by: jjg
2013-05-28 17:39:41 +01:00
Vicente Romero
e58031ceba
6970173: Debug pointer at bad position
...
Reviewed-by: mcimadamore
2013-05-28 12:46:10 +01:00
Vicente Romero
fb25dcbb05
7030476: Fix conflicting use of JCTree/JCExpression
...
Reviewed-by: mcimadamore
2013-05-27 13:44:14 +01:00
Joe Darcy
b4854e299c
8014836: Have GenericDeclaration extend AnnotatedElement
...
Reviewed-by: jfranck
2013-05-24 11:26:17 -07: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
Joe Darcy
59c9296f63
8010680: Clarify "present" and annotation ordering in javax.lang.model
...
Reviewed-by: abuckley, jjg
2013-05-22 13:34:03 -07:00
Vicente Romero
a95cb95e1f
7177168: Redundant array copy in UnsharedNameTable
...
Reviewed-by: mcimadamore
2013-05-21 11:41:21 +01:00
Jonathan Gibbons
f5bda14b93
6885876: add comments to javac/util/Convert.java
...
Reviewed-by: mduigou
2013-05-17 13:48:41 -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
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
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