Mikael Vidstedt
cfcd0223a9
Merge
2019-07-12 02:50:43 -07:00
Jonathan Gibbons
27c77d3d29
8227602: Update nroff version of man pages
...
Reviewed-by: mchung
2019-07-11 12:13:52 -07:00
Leo Jiang
8c3e30202b
8227009: JDK 13 L10n resource files update - msgdrop 10
...
Reviewed-by: naoto
2019-07-10 01:19:18 -07:00
Jan Lahoda
32a7e50bee
8220041: NullPointerException at jdk.compiler/com.sun.tools.javac.jvm.Code.emitop0
...
LambdaToMethod must correctly capture local variables inside switch expressions inside local variable initializers.
Reviewed-by: mcimadamore, vromero
2019-07-10 09:04:42 +02:00
Mikael Vidstedt
e9d003926b
Merge
2019-07-10 07:27:58 -07:00
Jan Lahoda
d24296edf4
8223443: Calling Trees.getScope early changes names of local/anonymous classes
...
Ensure Trees.getScope does not affect the rest of the compilation.
Reviewed-by: mcimadamore
2019-07-09 09:20:04 +02:00
Jan Lahoda
c4213848c0
8227010: Error recovery after local variable redeclaration can be improved
...
Entering duplicate local variables into the current scope so that the new variable is used instead of the previous variable.
Reviewed-by: mcimadamore
2019-07-04 16:51:24 +02:00
Mikael Vidstedt
c200fc1f34
Merge
2019-07-03 07:56:41 -07:00
Jesper Wilhelmsson
37599ff955
Merge
2019-06-29 05:26:55 +02:00
Jan Lahoda
e81d3fa8c3
8226510: No compilation error when switch expression has no result expressions
...
Ensure a compile-time error is produced when there are no result expressions in an switch expression.
Reviewed-by: vromero
2019-06-27 10:39:27 +02:00
Joe Darcy
3d4d89b2ae
8226785: MandatoryWarningHandler.java contains implementation of Objects.equals functionality
...
Reviewed-by: jjg
2019-06-25 18:46:51 -07:00
Jonathan Gibbons
a911306343
8226412: Fix command-line help text for javac -target
...
Reviewed-by: vromero
2019-06-20 14:24:13 -07:00
Jesper Wilhelmsson
86ce4e9448
Merge
2019-06-21 04:16:18 +02:00
Jonathan Gibbons
454f9f9fd0
8225748: Use SHA-256 for javap classfile checksum
...
Reviewed-by: mchung
2019-06-18 11:52:57 -07:00
Jesper Wilhelmsson
dc82364e05
Merge
2019-06-18 22:48:27 +02:00
Joe Darcy
51cf24fcc0
8222369: ExecutableElement.getReceiverType returns null instead of NOTYPE
...
Reviewed-by: jjg
2019-06-13 16:39:20 -07:00
Joe Darcy
aeedfd44b0
8164819: Make javac's toString() on annotation objects consistent with core reflection
...
Reviewed-by: jjg, coleenp
2019-06-13 11:50:45 -07:00
Jan Lahoda
1dd6e7a3eb
8226522: No compilation error reported when yield is used in incorrect context
...
Reviewed-by: mcimadamore
2019-07-02 09:14:51 +02:00
Ron Shapiro
a7a5e567df
8224161: Check.checkOverrideClashes n^2 algorithm
...
Caching type's members in Check.checkOverrideClashes to improve performance.
Reviewed-by: mcimadamore, jlahoda
2019-06-13 08:42:49 +02:00
Hannes Wallnöfer
3353016bbc
8225671: Support HTML 5 character references in javadoc
...
Reviewed-by: jjg
2019-06-12 23:21:24 +02:00
Jan Lahoda
d9407ce428
8220018: javac crash when compiling try-catch-finally inside switch expression
...
Correcting handling of finally that yields from a switch expression.
Reviewed-by: mcimadamore, jlahoda
2019-06-12 13:49:43 +02:00
Joe Darcy
4750064828
8214546: Start of release updates for JDK 14
...
8214547: Add SourceVersion.RELEASE_14
8214548: Add source 14 and target 14 to javac
8214549: Bump maximum recognized class file version to 58 for JDK 14
Reviewed-by: jjg, mikael, erikj, jlahoda, dholmes
2019-06-11 16:45:20 -07:00
Joe Darcy
ac1a11dfc6
8225532: Update source enums to describe 12 and 13 language features
...
Reviewed-by: jjg
2019-06-10 15:53:35 -07:00
Jan Lahoda
b34b2d993c
8223305: Compiler support for Switch Expressions
...
Reviewed-by: mcimadamore, vromero
2019-06-10 05:09:52 +02:00
Jim Laskey
08e1ece107
8223967: Implement Text Blocks (Preview) in the Java compiler
...
Reviewed-by: vromero, jlahoda, abuckley
2019-06-06 12:24:44 -03:00
Vicente Romero
d69bc696f2
8223942: Missing methods in ClientCodeWrapper$WrappedJavaFileManager
...
Reviewed-by: jjg
2019-06-05 17:01:43 -04:00
Jonathan Gibbons
45f6ff3894
8223805: DocCommentParser should allow for <main> and </main>
...
Reviewed-by: hannesw
2019-06-04 11:29:29 -07:00
Hannes Wallnöfer
1761b47cd5
8178982: Javadoc search specification
...
Reviewed-by: jjg, erikj
2019-06-04 17:51:14 +02:00
Jonathan Gibbons
d2ad9dabdf
8225134: Update man-page files
...
Reviewed-by: erikj, mchung
2019-05-31 17:27:28 -07:00
Alan Malloy
f573b23f72
8224629: Unnecessary cast in LambdaToMethod
...
Reviewed-by: vromero
2019-05-22 15:30:11 -07:00
Hannes Wallnöfer
f191f6d514
8224982: JDK-8222318 breaks tools/doclint/html/EntitiesTest.java
...
Reviewed-by: sundar
2019-05-29 15:52:12 +02:00
Hannes Wallnöfer
88a3fd3b40
8222318: javadoc does not accept valid HTML5 entity names
...
Reviewed-by: jjg
2019-05-29 12:43:29 +02:00
Jan Lahoda
0112514fde
8220702: compiling in the context of an automatic module disallows --add-modules ALL-MODULE-PATH
...
Allow --add-modules ALL-MODULE-PATH when compiling in the context of an automatic module.
Reviewed-by: jjg
2019-05-24 12:25:18 +02:00
Joe Darcy
4dd6b687ef
8224177: Harden annotation processing framework to irregular behavior from processors
...
Reviewed-by: jjg
2019-05-23 18:47:24 -07:00
Joe Darcy
6930e80c31
8224175: Fix inconsistencies in @jls and @jvms tags
...
Reviewed-by: jjg, rfield
2019-05-20 17:29:44 -07:00
Jonathan Gibbons
2ad2cce6e0
8223663: Update links for tool guides
...
Reviewed-by: alanb, erikj, darcy
2019-05-20 10:57:57 -07:00
Jan Lahoda
08193be19c
8224031: Cannot parse switch expressions after type cast
...
Correctly categorize parentheses followed by the switch keyword as cast.
Reviewed-by: mcimadamore
2019-05-16 16:42:14 +02:00
Jan Lahoda
b32a840e53
8222169: java.lang.AssertionError switch expression in ternary operator - ?
...
Ensure the stack size recoded at the begining of the let expression is the correct one.
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: vromero
2019-05-16 10:52:36 +02:00
Vicente Romero
23278fea38
8215470: Bad EnclosingMethod attribute on classes declared in lambdas
...
Reviewed-by: mcimadamore
2019-05-14 11:28:44 -04:00
Jonathan Gibbons
1772172053
8223654: Clean up @jls references in com.sun.source
...
Reviewed-by: darcy
2019-05-10 13:37:00 -07:00
Vicente Romero
40155b14cd
8222251: preflow visitor is not visiting lambda expressions
...
Reviewed-by: mcimadamore
2019-05-09 10:04:33 -04:00
Vicente Romero
c98fb7d64b
8222949: add condy support to javac's pool API
...
Reviewed-by: mcimadamore
2019-05-08 10:10:54 -04:00
Lance Andersen
5a4cef05d6
8218875: Add new FileSystems.newFileSystem methods
...
Reviewed-by: rriggs, alanb, clanger, dfuchs
2019-05-02 17:08:03 -04:00
Vicente Romero
f9bbbb6e27
8222744: add support for generating method handles from a variable symbol
...
Reviewed-by: mcimadamore
2019-05-01 12:41:26 -04:00
Steve Groeger
7c55d53d66
8218152: [javac] fails and exits with no error if a bad annotation processor provided
...
Handle exceptions thrown while loading annotation processors.
Reviewed-by: jlahoda
2019-04-30 10:39:22 +02:00
Joe Darcy
17466b5a51
8222817: Refactor printing processor to use streams
...
Reviewed-by: jjg
2019-04-23 14:56:39 -07:00
Maurizio Cimadamore
7b7f9a6fd3
8222289: Overhaul logic for reading/writing constant pool entries
...
Rewrite of Pool,ClassReader,ClassWriter to use shared pool helper components
Reviewed-by: vromero
2019-04-17 15:37:20 +01:00
Joe Darcy
7d29dd2172
8222378: Provide mechanism to query preview feature status for annotation processors
...
Reviewed-by: jjg
2019-04-15 15:44:42 -07:00
Jan Lahoda
28dd6d8496
8217047: Provide a way to inject missing parameter names
...
Adding a way to provide parameter names that are missing in the classfiles.
Reviewed-by: darcy, jjg
2019-04-11 17:55:18 +02:00
Jan Lahoda
ae5972a204
8215407: javac should reject class files with bad EnclosingMethod attributes
...
Reject classfiles with broken EnclosingMethod attribute.
Reviewed-by: jjg
2019-04-11 14:49:04 +02:00