2445 Commits

Author SHA1 Message Date
Priya Lakshmi Muthuswamy
9797f94e75 8068836: Error message should be updated when Override is used with static methods
Issue a more direct, specific error when @Override annotation is used with a static method

Reviewed-by: sadayapalam
2017-07-03 12:58:30 +05:30
Jan Lahoda
6cc1fadb9a 8183021: JShell tests: Fix failing tests on Windows
Reviewed-by: jjg, rfield
2017-06-30 20:03:07 +02:00
Vicente Romero
b081062f1c 8182047: javac compile error on type-parameter-exceptions in lambda expressions
Reviewed-by: mcimadamore
2017-06-30 05:47:35 -07:00
Joe Darcy
c00b47cf6e 8183255: Fix langtools TEST.groups file after fix for JDK-8177511
Reviewed-by: jjg
2017-06-29 14:32:39 -07:00
Vicente Romero
ce13d717f4 8182649: Unable to integrate due to compilation error
Reviewed-by: mcimadamore
2017-06-29 08:24:25 -07:00
Vicente Romero
dacae3939b 8182747: javac crashes on bad annotation value
Reviewed-by: mcimadamore
2017-06-29 07:19:44 -07:00
Priya Lakshmi Muthuswamy
965530668b 8058408: Compiler should emit a clearer message for invalid parenthesized expression
Reviewed-by: sadayapalam
2017-06-27 15:30:21 +05:30
Robert Field
feee226151 8177847: jshell tool: retain delete of non-retained mode does not locally delete
Reviewed-by: jlahoda
2017-06-26 18:43:00 -07:00
Robert Field
f2484da32c 8182268: JShell: CompletionInfo.source() for CONSIDERED_INCOMPLETE missing semicolon
Reviewed-by: jlahoda
2017-06-26 14:16:34 -07:00
Robert Field
d07b9fdfde 8176110: JShell: completions with package results should, in most cases, be dot terminated
Reviewed-by: jlahoda
2017-06-25 13:42:31 -07:00
Robert Field
2fb3b40b40 8182489: jshell tool: rerun multiline snippet from history corrupts history
Reviewed-by: jlahoda
2017-06-25 13:38:26 -07:00
Lana Steuck
01d2ec7fcd Merge 2017-06-24 00:32:07 +00:00
Kumar Srinivasan
33ab1995fb 8177511: Remove the old standard doclet
Reviewed-by: jjg
2017-06-21 19:39:51 -07:00
Joe Darcy
43ffee89aa 8182566: Including missing test update for JDK-8163989
Reviewed-by: jjg
2017-06-19 17:13:42 -07:00
Joe Darcy
cd5a336735 8163989: Clarify ModuleElement spec
Reviewed-by: abuckley, jjg
2017-06-19 15:06:01 -07:00
Jan Lahoda
dfaf30bc4c 8181911: Lambda Analyzer causes compile-time error
When copying Env<AttrContext> for Analyzer, detach returnResult from the outer context.

Reviewed-by: mcimadamore
2017-06-19 11:41:21 +02:00
Jan Lahoda
06cf2f81e7 8182162: Remove -XD-Xmodule
Removing the undocumented -XD-Xmodule: option.

Reviewed-by: jjg
2017-06-19 05:56:49 +02:00
Alan Bateman
6dc7b17106 8181087: Module system implementation refresh (6/2017)
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2017-06-16 09:21:38 -07:00
Liam Miller-Cushon
6c04ae3d71 8144185: javac produces incorrect RuntimeInvisibleTypeAnnotations length attribute
Reviewed-by: sadayapalam
2017-06-12 12:25:40 -07:00
Robert Field
08148506c2 8180510: jshell tool: crash on entering pseudo-commands: /<id> or /-<n>
Reviewed-by: jlahoda
2017-06-16 10:32:46 -07:00
Jan Lahoda
75831b7be2 8170326: Inconsistencies between code, compiler.properties and comments
Converting uses of Log and JCDiagnostic.Factory methods to use CompilerProperties instead of plain Strings, fixing inconsistencies, adding crules analyzer to ensure CompilerProperties are used whenever possible.

Reviewed-by: mcimadamore
2017-06-15 13:44:42 +02:00
Robert Field
efb4e963d6 8180306: jshell tool: /help -- confusing identifier in feedback mode examples
8179048: jshell tool: /help -- references to "/reset or /reload" should add /env
8179046: jshell tool: /help /edit is missing -all and -start
8181950: jshell tests: longer help documentation breaks tests because of paging

Reviewed-by: jlahoda
2017-06-13 12:31:28 -07:00
Vicente Romero
bfe58ed881 8181464: Invalid lambda in annotation causes NPE in Lint.augment
Reviewed-by: mcimadamore
2017-06-13 11:21:09 -07:00
Vicente Romero
9c237e549c 8175794: Type inference regression after JDK-8078093
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2017-06-09 11:27:03 -07:00
Bhavesh Patel
5262fc6612 8181215: Links incorrectly appear bold in some javadoc generated tables
Reviewed-by: jjg, ksrini
2017-06-08 00:11:29 -07:00
Bhavesh Patel
13625f3e7d 8147881: Javadoc search box watermark text issue
Reviewed-by: jjg, ksrini
2017-06-07 22:58:37 -07:00
Kumar Srinivasan
afbde4b351 8177848: Rename Configuration(Impl) classes
Reviewed-by: jjg
2017-06-05 13:45:34 -07:00
Vicente Romero
b30409ae05 7170058: Confusing error message from javac when overriding a method from a raw supertype
Reviewed-by: mcimadamore
2017-06-01 12:51:26 -07:00
Jan Lahoda
98b63e6826 8172880: Incorrect line number for NPE generated by instance-bound method reference
Synthetic null checks should have a LineNumberTable entry.

Reviewed-by: mcimadamore
2017-05-31 14:51:02 +02:00
Vicente Romero
32e18391c5 8180660: missing LNT entry for finally block
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, vromero
2017-05-22 12:49:05 -07:00
Lana Steuck
e7d1ee0e49 Merge 2017-05-19 04:59:51 +00:00
Robert Field
08a3a23043 8167554: jshell tool: re-execute a range and/or sequence of snippets
8180508: jshell tool: support id ranges in all commands with id arguments

Reviewed-by: jlahoda
2017-05-18 14:16:25 -07:00
Bhavesh Patel
d1a9610d05 8178043: Support grouping modules in unified javadoc
Reviewed-by: jjg, ksrini
2017-05-12 18:05:40 -07:00
Christian Tornqvist
e2420ab119 8180084: A few javac tests fail on Windows when the source and jtreg work dir are not on the same drive
Reviewed-by: jlahoda
2017-05-12 15:14:16 -07:00
Christian Tornqvist
ea16a476ae 8180304: Add tests to ProblemList that fails on Windows when running with subst or different drive than source code is on
Reviewed-by: ksrini, gtriantafill
2017-05-12 15:07:29 -07:00
Vicente Romero
5fddd8a1bb 8180141: Missing entry in LineNumberTable for break statement that jumps out of try-finally
Reviewed-by: mcimadamore
2017-05-12 08:11:50 -07:00
Jan Lahoda
f417779f87 8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
--release 9 should only allow documented modules; --add-exports/--add-reads/--patch-module should not be allowed on system modules when --release 9 is used.

Reviewed-by: jjg, erikj, ihse
2017-05-12 06:42:37 +02:00
Lana Steuck
9c1da041ce Merge 2017-05-11 20:24:00 +00:00
Magnus Ihse Bursie
10678fd999 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:55:07 +02:00
Jan Lahoda
229653fcd0 8179531: JShell: fails to provide bytecode for dynamically created lambdas
Adding support for getResource(s) to the JShell's ClassLoader

Reviewed-by: psandoz, rfield
2017-05-09 12:22:15 +02:00
Lana Steuck
20e2e38b96 Merge 2017-05-05 04:47:36 +00:00
Maurizio Cimadamore
6758f48244 8178437: remove tools/javac/lambda/speculative/T8177933.java
Remove test from test folder and from problem list

Reviewed-by: jlahoda
2017-04-28 11:06:51 +01:00
Amy Lu
9bbedc0169 8179000: Reversion of langtools test changes for limited win32 address space
Reviewed-by: darcy
2017-04-28 13:22:44 +08:00
Stuart Marks
15098a44ad 8169203: (jdeprscan) eliminate duplicate "can't find class" errors
Reviewed-by: jjg
2017-04-26 15:49:33 -07:00
Bhavesh Patel
0a6bfe2343 8166306: Broken link for All Packages in java.jnlp module
Reviewed-by: jjg, ksrini
2017-04-26 08:15:40 -07:00
Stuart Marks
d6bf03fe8e 8168444: (jdeprscan) improper handling of primitives and primitive array types
Reviewed-by: psandoz, jjg
2017-04-25 16:14:35 -07:00
Jonathan Gibbons
4a269851c9 8176327: javac produces wrong module-info
8178518: Add method JavaFileManager.contains

Reviewed-by: jlahoda
2017-04-24 14:59:43 -07:00
Jan Lahoda
b60b8e2c9b 8179002: jdk/jshell/MergedTabShiftTabExpressionTest.java fails intermittently
Handle incomming byte arrays in batches, to avoid unnecessary matching.

Reviewed-by: rfield
2017-04-24 18:58:50 +02:00
Lana Steuck
f08e4ba1b8 Merge 2017-04-22 00:21:51 +00:00
Jonathan Gibbons
27f5ce975c Merge 2017-04-21 13:58:57 -07:00