Jan Lahoda
c3cdecd32b
8198315: Incomplete classpath causes NPE in TransTypes
...
Avoid symbol completion while constructing error message.
Reviewed-by: mcimadamore
2018-05-22 12:26:17 +02:00
Maurizio Cimadamore
47d634e453
8203436: javac should fail early when emitting illegal signature attributes
...
Check that signature attributes do not contain non-denotable types
Reviewed-by: vromero
2018-05-22 13:37:05 +01:00
Vicente Romero
088dbd5ce8
8203486: skip type inference for non functional interface components of intersection types
...
Reviewed-by: mcimadamore
2018-05-21 12:27:21 -07:00
Vicente Romero
ec167413f9
8148354: Errors targeting functional interface intersection types
...
Reviewed-by: mcimadamore, dlsmith
2018-05-18 09:22:31 -07:00
Bernard Blaser
b416d3915e
8203398: Test test/langtools/tools/javac/options/release/ReleaseOptionCurrent.java writes into the source directory
...
Reviewed-by: jjg, jlahoda
2018-05-18 12:48:09 +02:00
Bhavesh Patel
7c66a1d6a2
8196201: Generate pages to list all classes and all packages in javadoc output
...
Reviewed-by: jjg
2018-05-17 12:59:53 -07:00
Vicente Romero
74b151103e
8194998: broken error message for subclass of interface with private method
...
Reviewed-by: mcimadamore
2018-05-11 10:39:04 -07:00
Vicente Romero
3b13b81625
8202597: javac is not inducing a notional interface if Object appears in an intersection type
...
Reviewed-by: mcimadamore
2018-05-08 17:12:54 -07:00
Jan Lahoda
81bad1fe6b
8202387: javac --release 11 not supported
...
Adding historical data for JDK 10; adding ability to produce the historical data incrementally.
Reviewed-by: erikj, forax, jjg
2018-05-07 10:37:46 +02:00
Jonathan Gibbons
cf20cdd06c
8194968: problem list actions for tools/javac/jvm/VerboseOutTest
...
Reviewed-by: vromero
2018-05-03 12:56:53 -07:00
Bernard Blaser
7dc011ccca
8202372: Diagnostic with incorrect line info generated when compiling lambda expression
...
Add tree position to speculative lambda tree
Reviewed-by: vromero, jlahoda
2018-05-02 15:29:55 +01:00
Joe Darcy
15ef60b350
8200478: For boxing conversion javac uses Long.valueOf which does not guarantee caching according to its javadoc
...
Reviewed-by: bpb
2018-04-25 22:12:06 -07:00
Bernard Blaser
fa434f6934
8202141: Unique symbols for .class
...
Reviewed-by: vromero, jlahoda
2018-04-25 09:45:45 -07:00
Kumar Srinivasan
3dfa260af9
8025091: VisibleMemberMap.java possible performance improvements
...
8198890: The standard doclet incorrectly produces wrong method signatures in certain cases
Reviewed-by: jjg
2018-04-24 11:54:03 -07:00
Vicente Romero
f69402ef44
8201281: Truncated error message with Incompatible : null
...
Reviewed-by: mcimadamore
2018-04-24 08:13:30 -07:00
Vicente Romero
03a10ec7b2
8196433: use the new error diagnostic approach at javac.Main
...
Reviewed-by: jjg
2018-04-18 16:02:53 -04:00
Maurizio Cimadamore
85fbf32898
8201554: Disable failing tier1 test for JDK-8201498
...
Reviewed-by: jjg
2018-04-13 11:14:49 -07:00
Maurizio Cimadamore
19581edca2
8201498: test/langtools/tools/javac/diags/CheckExamples.java 6 errors occurred
...
Remove duplicate class names in diagnostic examples.
Reviewed-by: jlahoda
2018-04-13 16:23:56 +01:00
Maurizio Cimadamore
d9440e4e39
8199194: Add javac support for preview features
...
Add support for preview features and related command line options.
Reviewed-by: jjg
2018-04-12 13:55:20 +01:00
Jan Lahoda
594fb594ce
8189765: Improve error reporting for compiling against package not visible due to modules
...
When looking in other modules for an undefined Symbol, also look into the unnamed module.
Reviewed-by: mcimadamore
2018-04-12 09:23:34 +02:00
Bernard Blaser
9c570aaf85
8201440: javac should create unique DynamicMethodSymbols at LambdaToMethod
...
Reviewed-by: mcimadamore
2018-04-11 14:52:32 -04:00
Liam Miller-Cushon
999296bab2
8201251: The tests for JDK-8187247 should be under test/langtools
...
Reviewed-by: darcy
2018-04-06 08:58:22 -07:00
Vicente Romero
92ec4c52a8
8199744: Incorrect compiler message for ReceiverParameter in inner class constructor
...
Reviewed-by: mcimadamore
2018-04-06 09:15:09 -04:00
Liam Miller-Cushon
5acbe5ff92
8201194: Handle local variable declarations in lambda deduplication
...
Reviewed-by: vromero
2018-04-05 14:39:04 -07:00
Martin Buchholz
5c8c67c523
8200128: Fix some "annoations" typos
...
Reviewed-by: alanb
2018-04-05 09:36:01 -07:00
Vicente Romero
6a2e0a5a01
8198314: javac hidden options violate standard syntax for options
...
Reviewed-by: jjg
2018-04-03 23:58:52 -04:00
Maurizio Cimadamore
484ec0738e
8200355: local variable inference regression test generates classfile in test folder
...
LVTI harness should generate files in jtreg scratch dir
Reviewed-by: vromero
2018-03-28 14:24:17 +01:00
Maurizio Cimadamore
b7e53c1204
8200199: javac suggests to use var even when var is used
...
Local var analyzer should use synthetic var type position to decide if analysis is needed
Reviewed-by: jlahoda, vromero
2018-03-28 14:08:26 +01:00
Liam Miller-Cushon
debaf13f38
8200301: deduplicate lambda methods
...
Reviewed-by: vromero, mcimadamore
2018-03-27 13:48:16 -04:00
Jan Lahoda
5bff39c04f
8196519: Incomplete classpath causes infinite recursion in Resolve.isAccessible
...
ErrorType.getEnclosingType returns noType rather than self.
Reviewed-by: mcimadamore, cushon
2018-03-26 11:42:17 +02:00
Shinya Yoshida
ae2d2c8ff5
8199910: Compiler crashes with -g option and variables of intersection type inferred by var
...
Javac should skip non-denotable types in the LocalVariableTypeTable attribute
Reviewed-by: jlahoda
2018-03-23 16:53:54 +00:00
Jan Lahoda
01509e5b5e
8194978: Javac produces dead code for try-with-resource
...
For try-with-resources, using simplified distinct close code for try body and catch clause, to avoid creating multiple copies of the full finally code.
Reviewed-by: mcimadamore
2018-03-22 15:28:33 +01:00
Jan Lahoda
7b9d38622b
8198552: Multiple javac plugins do not work at the same time
...
Fixing handling of multiple -Xplugin, -Xdoclint: and -Xdoclint/packages: parameters.
Reviewed-by: jjg, vromero
2018-03-22 12:13:08 +01:00
Jan Lahoda
b0b8a51be1
8187950: javax.lang.model APIs throws CompletionFailure or a subtype of CompletionFailure
...
Catching CompletionFailures that would be thrown to API clients, and re-completing the symbols again when javac itself needs it.
Reviewed-by: cushon, jjg
2018-03-09 09:42:10 +01:00
Vicente Romero
c866d037bc
8199327: nuke var type name after a lambda has been accepted
...
Reviewed-by: mcimadamore
2018-03-08 10:28:46 -05:00
Bhavesh Patel
1780fdeae7
8182765: HTML5 must be the default javadoc codegen mode in the near future
...
Reviewed-by: jjg
2018-03-06 10:45:47 -08:00
Lance Andersen
9995861868
8197533: Move javax.transaction.xa to its own module
...
Reviewed-by: darcy, alanb, psandoz, ihse
2018-03-04 17:05:29 -05:00
Jonathan Gibbons
62ec6e6d1d
8186688: javax.lang.model.util.Elements.hides does not work correctly with interfaces
...
Reviewed-by: vromero, mcimadamore
2018-02-23 13:42:04 -08:00
Vicente Romero
25da45e26f
8198512: compiler support for local-variable syntax for lambda parameters
...
Reviewed-by: mcimadamore
2018-02-22 15:49:32 -05:00
Jan Lahoda
fc9a7d12a8
8198563: Test langtools/tools/javac/analyzer/AnonymousInAnonymous.java failing after JDK-8198502
...
Convert to lambda warning should not be provided for the tools/javac/analyzer/AnonymousInAnonymous.java test.
Reviewed-by: mcimadamore
2018-02-22 18:53:28 +01:00
Srinivas Dama
90b572b0c9
8198502: Exception at runtime due to lambda analyzer reattributes live AST
...
Create a deep copy of the original tree before conversion to lambda node
Reviewed-by: mcimadamore, vromero
2018-02-23 01:54:09 +05:30
Jan Lahoda
ddf6846500
8197439: Crash with -XDfind=lambda for anonymous class in anonymous class
...
Ensuring unresolvable anonymous classes are attributed.
Reviewed-by: mcimadamore, sadayapalam
2018-02-21 17:07:12 +01:00
Vicente Romero
4b6ab35c85
8198479: JDK build is broken by 8194892
...
Reviewed-by: sundar
2018-02-21 00:29:04 -05:00
Vicente Romero
2591c21c01
8194892: add compiler support for local-variable syntax for lambda parameters
...
Reviewed-by: mcimadamore
2018-02-20 11:45:16 -05:00
Lance Andersen
987c3a2d87
8190378: Removal of CORBA and Java EE modules
...
Reviewed-by: rriggs, alanb, mchung, erikj, goetz
2018-02-10 07:06:16 -05:00
Jesper Wilhelmsson
d7dd9d1027
Merge
2018-02-05 23:12:03 +01:00
Lana Steuck
845f7823de
Merge
2018-02-09 02:23:34 +00:00
Jan Lahoda
d5ec9dbfb5
8194764: javac incorrectly flags deprecated for removal imports
...
Fixing source range for the Source.Feature.DEPRECATE_ON_IMPORT
Reviewed-by: mcimadamore
2018-02-07 16:49:24 +01:00
Srinivas Dama
6ff900807d
8152616: com.sun.tools.javac.tree.Pretty generates nested comments for enum
...
Fixed nested comments for enum
Reviewed-by: mcimadamore
2018-02-06 23:49:10 +05:30
Liam Miller-Cushon
24ae32f082
8190452: javac should not add MethodParameters attributes to v51 and earlier class files
...
Reviewed-by: vromero, jjg
2018-02-05 10:43:31 -05:00