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
Joe Darcy
dff176cc84
8196627: Update MultiReleaseJarAwareSJFM.java to be version agnostic
...
Reviewed-by: vromero
2018-02-02 10:31:05 -08:00
Joe Darcy
80f4b22956
8196623: Update JavaBaseTest.java to be version agnostic
...
Reviewed-by: vromero
2018-02-02 10:29:25 -08:00
Vicente Romero
5f7d996632
8196403: remove the remaining use of string keys for errors and warnings in the compiler
...
Reviewed-by: mcimadamore, jlahoda
2018-02-02 07:43:54 -05:00
Joe Darcy
69287b5b99
8196551: Update TestSourceVersion.java to be robust across version changes
...
Reviewed-by: vromero
2018-02-01 09:16:03 -08:00
Jesper Wilhelmsson
c2735a15d7
Merge
2018-02-01 02:05:35 +01:00
Liam Miller-Cushon
8641dcffca
8194268: Incorrect parameter names for synthetic methods
...
Reviewed-by: jlahoda, vromero
2018-01-26 11:27:53 -08:00
Liam Miller-Cushon
81a51d8c45
8179373: javac -verbose logs the class path multiple times
...
Reviewed-by: martin
2018-01-25 15:18:13 -08:00
Lana Steuck
8f528fba93
Merge
2018-01-18 18:58:46 +00:00
Maurizio Cimadamore
60764aee2a
8195598: Reference to overloaded method is ambiguous with 3 methods but works with 2
...
Pertinent to applicability bit set on argument expression even if only one method is not pertinent
Reviewed-by: vromero
2018-01-18 11:46:33 +00:00
Goetz Lindenmaier
22762d1cdc
8189102: All tools should support -?, -h and --help
...
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
2018-01-16 08:48:34 +01:00
Lana Steuck
aad1a3592c
Merge
2018-01-16 22:24:20 +00:00
Jesper Wilhelmsson
fb8bca78ee
Merge
2018-01-05 22:02:20 +01:00
Maurizio Cimadamore
989b326949
8194932: no ambuguity error is emitted if classfile contains two identical methods with different return types
...
Add recovery logic when classfile contains two signature-equivalent methods
Reviewed-by: jlahoda, vromero
2018-01-12 16:49:58 +00:00
Jonathan Gibbons
a34fdd1809
8194893: javac -verbose prints wrong paths for output files
...
Reviewed-by: vromero
2018-01-11 15:06:55 -08:00
Lana Steuck
459909ddf3
Merge
2018-01-06 01:13:32 +00:00
Jonathan Gibbons
b1c9eceaf5
8191637: Interface with defaults invalid compiler warning for Serializable
...
Reviewed-by: vromero
2018-01-05 16:49:50 -08:00
Jonathan Gibbons
528109a976
8188649: javadoc -encoding doesn't work when using the old doclet API
...
Reviewed-by: ksrini
2018-01-05 12:41:28 -08:00
Jonathan Gibbons
a553dc6d76
8194069: doclint throws missing comment warnings on lines which can't even have javadoc
...
Reviewed-by: ksrini
2018-01-04 12:55:06 -08:00
Jonathan Gibbons
7030f25abd
8194141: Remove JDK9Wrappers
...
Reviewed-by: erikj, alanb
2018-01-04 10:14:50 -08:00
Lana Steuck
c8c8cd7238
Merge
2018-01-04 04:22:28 +00:00
Jonathan Gibbons
b5fa820c6e
8193125: javac should not compile a module if it requires java.base with modifiers
...
Reviewed-by: vromero
2018-01-03 11:10:56 -08:00
Jonathan Gibbons
8f93cb3651
8183964: Bad lexing of javadoc comments (change in parsing/rendering of backslashes in javadoc)
...
Reviewed-by: vromero, cushon
2018-01-02 16:07:47 -08:00
Vicente Romero
d1750de1fc
8187487: crash with classes with same binary name
...
Reviewed-by: jjg
2018-01-02 16:35:04 -05:00
Jonathan Gibbons
372bc7a281
8194955: Warn when default HTML version is used
...
Reviewed-by: ksrini, bpatel
2018-01-12 11:41:32 -08:00
Jonathan Gibbons
f811ca50b3
8181878: javadoc should support/ignore --add-opens
...
Reviewed-by: ksrini
2018-01-11 15:38:57 -08:00