Chris Hegarty
9c098465a5
Merge
2013-06-18 09:36:46 +01:00
Maurizio Cimadamore
1839512a15
8013789: Compiler should emit bridges in interfaces
...
Paired with 8015402: Lambda metafactory should not attempt to determine bridge methods
Reviewed-by: vromero
2013-06-17 20:29:31 -07:00
Chris Hegarty
be5d596030
Merge
2013-06-17 11:27:46 +01:00
Vicente Romero
5d4b6cd0d0
8008023: Get rid of utf8 chars in two tests
...
Reviewed-by: jjg
2013-06-14 18:01:52 +01:00
Vicente Romero
3596018eb7
8007907: javap, method com.sun.tools.javap.Main.run returns 0 even in case of class not found error
...
Reviewed-by: jjg
2013-06-11 09:59:34 +01:00
Chris Hegarty
d758772ec0
Merge
2013-06-11 09:25:57 +01:00
Maurizio Cimadamore
80407ef47d
8013576: Add stat support to LambdaToMethod
...
LambdaToMethod should emit info to help diagnose/test lambda metafactory problems
Reviewed-by: jjg, vromero
2013-06-10 15:57:32 +01:00
Vicente Romero
7258bbbfde
7113519: test/tools/javac/VersionOpt.java passes on windows
...
Reviewed-by: jjg
2013-06-10 15:18:47 +01:00
Chris Hegarty
8bb77f2674
Merge
2013-06-10 09:52:54 +01:00
Bhavesh Patel
3f6b61d75e
8015997: Additional improvement in Javadoc framing
...
Reviewed-by: jjg
2013-06-07 16:12:04 -07:00
Maurizio Cimadamore
dc899fbbed
Merge
2013-06-06 15:38:42 +01:00
Maurizio Cimadamore
459b2cba93
8015648: Duplicate variable in lambda causes javac crash
...
Missing flag in synthetic lambda blog is causing duplicates symbol to go undetected
Reviewed-by: jjg, vromero
2013-06-06 15:37:23 +01:00
Maurizio Cimadamore
abaf1a5c51
8015432: javac crashes with stack overflow when method called recursively from nested generic call
...
Check.checkMethod should only be called after inference has completed
Reviewed-by: jjg, vromero
2013-06-06 15:35:05 +01:00
Maurizio Cimadamore
07baf8072a
8008627: Compiler mishandles three-way return-type-substitutability
...
Compiler should not enforce an order in how ambiguous methods should be resolved
Reviewed-by: jjg, vromero
2013-06-06 15:33:40 +01:00
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
Eric McCorkle
c58691dc6f
8015701: MethodParameters are not filled in for synthetic captured local variables
...
Synthetic parameters for captured local variables in an anonymous inner class are not added to MethodParameters attributes
Reviewed-by: mcimadamore
2013-06-06 08:48:23 -04:00
Alexander Zuev
63c141c512
7186887: Test T6567415.java can fail on a slow machine
...
Reviewed-by: jjg, ksrini
2013-06-05 16:58:10 +04: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
1c6a680e66
8008160: Five lambda TargetType tests have @ignore
...
Remove @ignore flags from tests that now pass
Reviewed-by: jjg
2013-06-04 11:31:12 +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
Lana Steuck
8c25e96e5a
Merge
2013-06-03 16:56:54 -07:00
Jonathan Gibbons
c594d824a4
8013405: DocLint should support <LI value="value">
...
Reviewed-by: ksrini
2013-06-03 16:22:27 -07:00
Lana Steuck
ba0fc64a03
Merge
2013-06-03 16:10:18 -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
Chris Hegarty
2252b22e09
Merge
2013-05-31 10:28:30 +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
David Katleman
b08f6026b4
8015525: JDK8 b91 source with GPL header errors
...
Reviewed-by: dholmes, lancea
2013-05-29 10:16:32 -07: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
Chris Hegarty
6bfa9213b2
Merge
2013-05-23 12:50:40 +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