Commit Graph

103 Commits

Author SHA1 Message Date
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
Vicente Romero
e2f5722888 8187805: bogus RuntimeVisibleTypeAnnotations for unused local in a block
Reviewed-by: sadayapalam
2018-01-10 22:52:08 -05:00
Vicente Romero
ae186c5714 8194836: delta apply changesets for JDK-8192885 and JDK-8175883
Reviewed-by: mcimadamore
2018-01-09 22:30:20 -05:00
Joe Darcy
aa4c936f54 8189146: Have use of "var" in 9 and earlier source versions issue a warning for type declarations
Reviewed-by: mcimadamore, jjg
2018-01-16 17:27:06 -08:00
Joe Darcy
edd2c3b6ca 8187951: Update javax.lang.model.SourceVersion for "var" name
Reviewed-by: jjg, mcimadamore
2018-01-08 17:32:54 -08:00
Vicente Romero
a316ab9ef3 8187487: crash with classes with same binary name
Reviewed-by: jjg
2018-01-08 14:06:25 -05:00
Liam Miller-Cushon
3e0afd207d 8193216: Filer should warn if processors redefine symbols from the classpath or sourcepath
Reviewed-by: vromero
2017-12-21 15:58:45 -05:00
Paul Sandoz
038b5f571c 8191913: Bump classfile version number to 55
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: dholmes, darcy
2017-12-20 09:14:06 -08:00
Maurizio Cimadamore
ede41aa311 8057650: uniform error diagnostics for inconsistent inherited method signatures
Consolidate diagnostics for bad overrides

Reviewed-by: vromero
2017-12-20 15:33:31 +00:00
Liam Miller-Cushon
47158e4313 8007720: Names are not loaded correctly for method parameters if the parameters have annotations
8177486: Incorrect handling of mandated parameter names in MethodParameters attributes

Reviewed-by: jlahoda, vromero
2017-12-19 16:24:25 -05:00
Joe Darcy
691eb78732 8173382: Add -source 11 and -target 11 to javac
8193291: Add SourceVersion.RELEASE_11

Reviewed-by: jjg, erikj, psandoz
2017-12-18 18:51:40 -08:00
Jonathan Gibbons
5bcb718441 8178070: duplicate entries in package table
Reviewed-by: bpatel, ksrini
2017-12-13 17:27:43 -08:00
Jonathan Gibbons
be25eb7f0e 8191054: Remove the Native-Header Tool (javah)
Reviewed-by: darcy, mcimadamore, ksrini
2017-12-13 14:49:48 -08:00
Bhavesh Patel
1bf16ef2db 8164407: Add module support for -link and -linkoffline javadoc option
Reviewed-by: jjg, ksrini
2017-12-13 12:45:06 -08:00
Mandy Chung
0b0340fe0f 8193192: jdeps --generate-module-info does not look at module path
Reviewed-by: dfuchs
2017-12-12 11:31:38 -08:00