Commit Graph

2473 Commits

Author SHA1 Message Date
Jan Lahoda
698882e467 8185426: Jshell crashing on autocompletion
Properly canceling completion on <tab> if needed.

Reviewed-by: rfield
2017-08-25 13:48:49 +02:00
Bhavesh Patel
1b79d09cf9 8182263: Search box and reset button needs to be a11y fixed
Reviewed-by: jjg, ksrini
2017-08-24 12:32:32 -07:00
Robert Field
a908618445 8185108: JShell: NullPointerException when throwing exception with null message under local ExecutionControl
Reviewed-by: jlahoda
2017-08-23 14:06:50 -07:00
Robert Field
1a42e4f2ec 8186636: JShell tests: jtreg_4.2-b08 breaks ComputeFQNsTest.testAddImport()
Reviewed-by: jlahoda
2017-08-22 23:26:28 -07:00
Jan Lahoda
638006a097 8182297: jshell tool: pasting multiple lines of code truncated
Read input needs to be kept across ConsoleReader.readLine invocations unless consumed.

Reviewed-by: rfield, rfield
2017-08-22 13:10:46 +02:00
Vicente Romero
167b313be8 8160396: test for fix for JDK-8159439 can't be included till CODETOOLS-7901710 is fixed
Reviewed-by: jjg
2017-08-21 16:37:17 -04:00
Andrey Nazarov
902efb3cde 8186020: jdk/javadoc/tool/exceptionHandling/TestExceptionHandling.java fails
Reviewed-by: jjg, ksrini
2017-08-18 15:58:17 -07:00
Igor Ignatyev
cfe67231aa 8186095: upgrade to jtreg 4.2 b08
Reviewed-by: rriggs, mchung, dholmes, iklam
2017-08-20 20:36:11 -07:00
Robert Field
6573d94b58 8182270: JShell API: Tools need snippet information without evaluating snippet
8166334: jshell tool: shortcut: expression/statement to method

Reviewed-by: jlahoda
2017-08-16 18:42:11 -07:00
Kumar Srinivasan
1dd6fa2fb6 8173425: Javadoc needs a new tag to specify the summary
Reviewed-by: jjg
2017-08-15 13:16:32 -07:00
Hamlin Li
61548e670e 8185788: langtools test jdk/javadoc/doclet/testModules/TestModuleServicesLink.java fails with compilation error
Reviewed-by: jjg
2017-08-03 18:30:32 -07:00
Priya Lakshmi Muthuswamy
2007e6eda7 8185151: doclet may create a link to a missing anchor/id
Reviewed-by: jjg, ksrini
2017-08-02 15:09:24 -07:00
Priya Lakshmi Muthuswamy
86fb8740de 8185194: Missing anchor for package description in package-summary.html pages
Reviewed-by: bpatel, jjg, ksrini
2017-08-02 12:34:23 -07:00
Priya Lakshmi Muthuswamy
0a3e0dd1cc 8183582: Rationalize doclet -docencoding and -charset options
Reviewed-by: jjg, ksrini
2017-08-02 09:26:35 -07:00
Kumar Srinivasan
d8492f4fcd 8184969: Cannot specify multiple -link to jdk9 javadoc
Reviewed-by: jjg
2017-07-28 15:00:53 -07:00
Amy Lu
135d500fc8 8184894: Mark ExternalEditorTest.java as intermittently failing, demote to tier 2
Reviewed-by: jlahoda
2017-07-28 19:54:26 +08:00
Priya Lakshmi Muthuswamy
c31576193a 8057647: javac parser needs updates to have better error recovery for error cases of new array creation with dimensions
Reviewed-by: jlahoda
2017-07-19 11:44:08 +05:30
Bhavesh Patel
f26667d2a2 8181622: new {@index} tag generates multiple index entries
Reviewed-by: jjg, ksrini
2017-07-15 14:51:42 -07:00
Priya Lakshmi Muthuswamy
0fc53f8797 8177048: javadoc should support -version and/or --version
Reviewed-by: jjg, ksrini
2017-07-15 11:06:32 -07:00
Jan Lahoda
77897a9a41 8182450: javac aborts when generating ct.sym intermittently
Initialize the module system model even in presence of missing/broken module-infos; BadClassFiles should not immediatelly abort compilation anymore, but should be handled as if the classfile did not exist.

Reviewed-by: jjg
2017-07-13 13:37:44 +02:00
Bhavesh Patel
e9043d7740 8182257: Duplicate anchor ids in generated javadoc pages
Reviewed-by: jjg
2017-07-12 18:54:07 -07:00
Bhavesh Patel
2fd189eecd 8170825: Generated index page has a broken link
Reviewed-by: jjg
2017-07-12 17:39:46 -07:00
Priya Lakshmi Muthuswamy
9efc4c1a60 8074364: Update error message for incorrect annotation type declaration
Issue a more direct, specific error when an annotation type is declared where it is disallowed

Reviewed-by: sadayapalam
2017-07-12 12:27:57 +05:30
Lana Steuck
446e215ad6 Merge 2017-07-07 03:13:17 +00:00
Vicente Romero
e5342258d1 8183126: port improvements to analyzers from lvti repo to jdk10
Reviewed-by: mcimadamore, jlahoda
2017-07-05 19:57:47 -07:00
Jonathan Gibbons
86f7b05126 8183505: Update langtools tests to allow for unique test classes directory
Reviewed-by: alanb
2017-07-05 14:36:54 -07:00
Kumar Srinivasan
95784b44db 8179704: doclet crashes with an empty package.html
Reviewed-by: jjg
2017-07-05 13:46:05 -07:00
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
Jonathan Gibbons
e7e662c3bb 8182736: javadoc generates bad names and broken module graph links
Co-authored-by: Bhavesh Patel <bhavesh.patel@oracle.com>
Reviewed-by: jjg, bpatel, darcy, ksrini
2017-06-26 18:48:31 -07:00
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