Vicente Romero
0f98701e87
8236210: javac generates wrong annotation for fields generated from record components
...
Reviewed-by: mcimadamore
2020-01-23 19:20:11 -05:00
Jonathan Gibbons
9e4830fc30
8237492: Reorganize impl of doclet options
...
8237726: Fix signature of StandardDoclet.getSupportedOptions
Reviewed-by: prappo, hannesw, ksrini
2020-01-23 15:52:54 -08:00
Mikael Vidstedt
eef726a99a
8237601: test/langtools/tools/javac/warnings/MaxDiagsRecompile.java fails after JDK-8237589
...
Reviewed-by: dholmes
2020-01-21 17:37:18 -08:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Jesper Wilhelmsson
b936939454
Merge
2020-01-20 18:05:07 +01:00
Hannes Wallnöfer
5903e20af2
8224052: Javadoc doesn't handle non-public intermediate types well
...
Reviewed-by: jjg
2020-01-16 15:50:23 +01:00
Jan Lahoda
8787b9a66d
8233655: NPE at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply
...
Ensuring that errors reported during speculative attribution that belong to a different file are not lost.
Reviewed-by: mcimadamore
2020-01-15 11:31:16 +01:00
Vicente Romero
5ff1d72185
8236005: local records shouldn't capture any non-static state from any enclosing type
...
Reviewed-by: mcimadamore
2020-01-14 07:07:43 -05:00
Jan Lahoda
a35d087f54
8236670: Conflicting bindings accepted in some cases
...
Reviewed-by: mcimadamore
2020-01-14 11:10:07 +01:00
Jan Lahoda
8e2c1c68f6
8236546: Yield with boolean expression and Object target type crashes javac
...
The whenTrue and whenFalse sets need to be merged for non-boolean expressions.
Reviewed-by: mcimadamore
2020-01-13 10:50:31 +01:00
Jan Lahoda
6fc159f17c
8236715: JShell: Records with errors are not properly corraled
...
Correctly corralling record classes, and providing correct messages to the user.
Reviewed-by: rfield, vromero
2020-01-13 10:49:58 +01:00
Vicente Romero
4692bc58eb
8236841: compact constructor parameters are always final
...
Reviewed-by: mcimadamore
2020-01-10 15:32:04 -05:00
Mandy Chung
fe8e1aacd1
8225773: jdeps --check produces NPE if there are missing module dependences
...
Reviewed-by: alanb
2020-01-10 11:50:54 -08:00
Mandy Chung
b7e74ef62f
8229396: jdeps ignores multi-release when generate-module-info used on command line
...
Reviewed-by: alanb
2020-01-10 11:48:16 -08:00
Vicente Romero
be6b4aab40
8236692: static final fields without initializer are accepted by javac
...
Reviewed-by: mcimadamore
2020-01-08 15:18:58 -05:00
Vicente Romero
50a56141ba
8234445: spurious error message for record constructors with receiver parameters
...
Reviewed-by: mcimadamore
2020-01-07 09:21:07 -05:00
Igor Ignatyev
60073c395c
8235866: bump jtreg requiredVersion to 4.2b16
...
Reviewed-by: dholmes, joehw
2019-12-16 15:45:07 -08:00
Pavel Rappo
5ca3e6334a
8215038: Add a page that lists all system properties
...
Co-authored-by: Priya Lakshmi Muthuswamy <priya.lakshmi.muthuswamy@oracle.com>
Reviewed-by: hannesw, jjg
2019-12-12 13:06:59 +00:00
Jan Lahoda
ad5ea72286
8235541: Extend javax.lang.model to cover binding variables
...
Reviewed-by: darcy
2019-12-09 09:40:09 +01:00
Jonathan Gibbons
d8d4cd6508
8235597: Extend support for -XDaccessInternalAPI to plugin modules
...
Reviewed-by: mcimadamore, jlahoda
2019-12-11 16:32:49 -08:00
Jonathan Gibbons
75acf956f1
Merge
2019-12-11 15:34:19 -08:00
Jonathan Gibbons
93b7d283d8
8214916: SourceLauncherTest fails on exploded image
...
Reviewed-by: ksrini
2019-12-11 15:33:17 -08:00
Robert Field
dca6e34397
8210527: JShell: NullPointerException in jdk.jshell.Eval.translateExceptionStack
...
8232855: jshell missing word in /help help
Reviewed-by: jlahoda
2019-12-11 14:39:04 -08:00
Hannes Wallnöfer
7f10f57834
8235414: Module level doc-files show "unnamed package" as holder
...
Reviewed-by: jjg
2019-12-11 22:29:30 +01:00
Vicente Romero
69c1729e26
8234101: Compilation error thrown when repeating annotation is used on record component
...
Reviewed-by: jlahoda
2019-12-11 15:31:40 -05:00
Jeremy Kuhn
cbe604cf5d
8235457: Crash when reporting a message about an annotation on a module
...
8235458: Problem caused by imports in a module-info.java file
Reviewed-by: jjg
2019-12-11 11:55:50 -08:00
Pavel Rappo
f51595bec2
8234746: Improve indexing of system properties
...
Reviewed-by: hannesw, jjg
2019-12-11 15:16:21 +00:00
Jan Lahoda
ec0fbdc0e9
8235338: test jdk/jshell/CompletenessTest.java fails for records
...
Reviewed-by: rfield
2019-12-11 13:08:45 +01:00
Jan Lahoda
308aea3e0b
8235474: JShell does not handle records properly
...
Reviewed-by: vromero, rfield
2019-12-11 13:08:42 +01:00
Jonathan Gibbons
589f23568a
8234689: facilitate writing additional custom attributes in a class file
...
Reviewed-by: jlahoda
2019-12-09 12:27:57 -08:00
Jonathan Gibbons
45b8d09e1b
8234211: allow discoverable javac plugins to be invoked by default
...
Reviewed-by: jlahoda
2019-12-09 10:44:02 -08:00
Vicente Romero
bf2f855cd7
8235446: confusing error message for records with no parens
...
Reviewed-by: mcimadamore
2019-12-06 14:23:17 -05:00
Jesper Wilhelmsson
51d5164ca2
Merge
2020-01-16 04:09:50 +01:00
Jesper Wilhelmsson
d34f561de0
Merge
2020-01-15 20:41:46 +01:00
Vicente Romero
ff77d06f17
8236597: issues inferring type annotations on records
...
Reviewed-by: mcimadamore
2020-01-15 10:45:03 -05:00
Vicente Romero
ddcac6f066
8236682: Javac generates a redundant FieldRef constant for record fields
...
Reviewed-by: mcimadamore
2020-01-14 21:49:43 -05:00
Hannes Wallnöfer
631b4d2694
8220002: Improve anchor definitions in generated files
...
Reviewed-by: jjg
2020-01-14 21:17:30 +01:00
Jesper Wilhelmsson
913b8702d1
Merge
2020-01-13 15:40:09 +01:00
Jesper Wilhelmsson
943b87ddde
Merge
2020-01-09 20:21:53 +01:00
Jesper Wilhelmsson
257a1bb854
Merge
2020-01-08 16:03:32 +01:00
Vicente Romero
9695ddfffc
8234445: spurious error message for record constructors with receiver parameters
...
Reviewed-by: mcimadamore
2019-12-19 11:46:35 -05:00
Pavel Rappo
026eac269c
8235435: Remove (obsolete) @author info from javadoc source and tests
...
Reviewed-by: jjg
2019-12-06 10:12:51 +00:00
Jim Laskey
945c8d555b
8232681: ArrayIndexOutOfBoundsException with text blocks in javac when using -Xlint
...
Reviewed-by: sundar
2019-12-05 09:22:21 -04:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Jan Lahoda
07be23513b
8234922: No compilation error reported not reported for a binding variable when loop broken with label
...
Any break outside of a loop should confine the binding variables from the loop's condition to the loop
Reviewed-by: mcimadamore
2019-12-04 09:38:32 +01:00
Jan Lahoda
f26bdf8476
8234899: Compiler reports AssertionError for conditional operator ? : and pattern matching for instanceof
...
Reviewed-by: mcimadamore
2019-12-04 09:38:31 +01:00
Jim Laskey
234f326d79
8233116: Escape Sequences For Line Continuation and White Space (Preview)
...
Reviewed-by: vromero, jlahoda, bchristi, mcimadamore
2019-12-03 08:35:21 -04:00
Hannes Wallnöfer
725449932b
8223378: CSS solution for navbar problem with <a> elements is not ideal
...
Reviewed-by: jjg
2019-11-27 13:08:16 +01:00
Jan Lahoda
229e0d1631
8231826: Implement javac changes for pattern matching for instanceof
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Gavin Bierman <gavin.bierman@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: mcimadamore
2019-11-27 09:00:01 +01:00
Srikanth Adayapalam
05ca3218d9
8234729: Javac should eagerly change code generation for method references to avert IllegalAccessError in future
...
Reviewed-by: mcimadamore
2019-11-26 11:13:53 +05:30