Commit Graph

143 Commits

Author SHA1 Message Date
Jan Lahoda
da7b11ca15 8169561: jshell tool: double shift-tab on variable crashes tool
Avoid crashe for unknown HTML tags; avoid crash for non-existing documentation; fix signature for JShell variables

Reviewed-by: rfield
2016-11-16 17:48:43 +01:00
Kumar Srinivasan
9b43eda24c 8167967: javadoc should identify the ordinal value of enum constants
Reviewed-by: jjg
2016-11-14 16:33:48 -08:00
Kumar Srinivasan
acae42fd30 8166379: IAE while invoking javadoc with --patch-module
Reviewed-by: jjg
2016-11-08 12:56:17 -08:00
Robert Field
907f7c2d7e 8161983: JShell API: Clean-up following 8160127 et. al
Reviewed-by: jlahoda
2016-11-06 22:50:46 -08:00
Robert Field
d292468c51 8129559: JShell: compilation fails if class, method or field is annotated and has modifiers
8080354: JShell: Runtime visible annotations cannot be retrieved

Reviewed-by: jlahoda
2016-11-04 14:47:25 -07:00
Robert Field
836024d6f9 8161969: jshell tool: /var value is not truncated per feedback setting
8166637: jshell tool: confusing truncation of long result values
8154513: JShell tool: welcome message should match feedback mode
8167552: jshell tool: Typo in jshell command '/? /reload' description

Reviewed-by: jlahoda
2016-11-03 09:12:02 -07:00
Robert Field
02e5b77101 8167636: jshell tool: Edit Pad should be in its own module
Reviewed-by: jlahoda
2016-11-02 16:29:50 -07:00
Jan Lahoda
5d215e5425 8131019: jshell tool: access javadoc from tool
Adding internal support to resolve {@inheritDoc} and format javadoc to plain text for use by jdk.jshell and jdk.scripting.nashorn.shell, enhancing Shift-<tab> documentation in JShell with ability to show javadoc.

Reviewed-by: jjg, rfield
2016-11-02 07:38:37 +01:00
Robert Field
70d8f3c7b4 8167643: JShell: silently ignore access modifiers (as semantically irrelevant)
Reviewed-by: jlahoda
2016-10-27 17:11:16 -07:00
Robert Field
ac9d25d027 8166649: jshell tool: missing --add-modules and --module-path
8167462: jshell tool: /help /reload is wrong about re-executing commands

Reviewed-by: jlahoda
2016-10-24 19:59:35 -07:00
Robert Field
5be06e9de2 8167637: jshell tool: /edit should use EDITOR setting
8167640: jshell tool: external editor temp file should be *.java

Reviewed-by: jlahoda
2016-10-24 17:06:10 -07:00
Robert Field
f601bcb76e 8163840: jshell tool: provide way to display configuration settings
Reviewed-by: jlahoda
2016-10-20 12:53:11 -07:00
Kumar Srinivasan
647a1f019f 8168368: Add missing bug id for JDK-8167383
Reviewed-by: bpatel
2016-10-19 16:58:09 -07:00
Kumar Srinivasan
7ef07fcf9a 8167383: Javadoc does not handle packages correctly when used with module option
Reviewed-by: bpatel, jjg
2016-10-19 14:51:20 -07:00
Bhavesh Patel
af3d6a8409 8151921: Improved page resolution
Reviewed-by: jjg, ksrini, ahgross
2016-07-14 13:35:35 -07:00
Jan Lahoda
7ac8bf6c75 8167461: jshell tool: Scanner#next() hangs tool
PipeInputStream.read(byte[]...) should only read available bytes; properly resending exceptions for snippet's System.in and properly closing it; more reliable way to cancel user input while waiting in System.in.

Reviewed-by: rfield
2016-10-18 16:00:32 +02:00
Shinya Yoshida
e3b0b0192b 8145263: JShell: Fix the format of SourceCodeAnalysis#documentation
Reviewed-by: rfield, jlahoda
2016-10-17 23:23:11 +09:00
Bhavesh Patel
1b3ae71f98 8141636: Javadoc search should support camelCase search
Reviewed-by: jjg
2016-10-13 10:48:09 -07:00
Robert Field
8b2ace697c 8167128: JShell: /drop of statement gives confusing output
Reviewed-by: jlahoda
2016-10-10 18:41:12 -07:00
Bhavesh Patel
0ce6fba428 4649116: Add option to include full package description at top, before interface table
Reviewed-by: jjg
2016-10-10 15:17:02 -07:00
Kumar Srinivasan
f4df89b00c 8165991: Fix DocTreeFactory newDocCommentTree
8154349: New doclet incorrectly shows entire text body for JavaFX properties in summary section

Reviewed-by: jjg
2016-10-10 11:21:00 -07:00
Kumar Srinivasan
6f16c4713d 8151102: Cleanup javadoc exception handling
Reviewed-by: jjg
2016-10-10 06:47:47 -07:00
Shinya Yoshida
a53b8b8a5d 8167343: JShell: Completeness analysis infers an incomplete declaration as COMPLETE_WITH_SEMI, which is a first line of Allman style
Reviewed-by: rfield
2016-10-11 00:28:49 +09:00
Jonathan Gibbons
6fef223c3f 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:39 -07:00
Jonathan Gibbons
799f344fcc 8166144: New javadoc options don't conform to JEP 293 (GNU style options)
Reviewed-by: ksrini, bpatel
2016-09-30 13:15:22 -07:00
Shinya Yoshida
20a821ae7c 8166744: JShell: java.lang.IndexOutOfBoundsException for legal history access
Reviewed-by: rfield, jlahoda
2016-09-29 17:36:22 +09:00
Shinya Yoshida
b9ad123afa 8154714: jshell tool: add exports support
Reviewed-by: jlahoda, rfield
2016-09-28 16:36:10 +09:00
Andrey Nazarov
4c6cbab8ba 8166127: Develop new tests to cover javadoc module options which are passed to underlying javac
Reviewed-by: jjg, ksrini
2016-09-23 09:57:24 -07:00
Robert Field
1e18e0dc9f 8166400: JShell: friendlier representation of array values
Reviewed-by: sundar, jlahoda
2016-09-21 23:46:06 -07:00
Bhavesh Patel
ed209e2a48 8162363: Tables in javadoc documentation missing row headers
Reviewed-by: jjg
2016-09-21 18:18:50 -07:00
Jan Lahoda
835354dfa6 8131025: JShell: crash on tab-complete reference to bad class file
Catching CompletionFailure when iterating through Scope.

Reviewed-by: rfield
2016-09-08 15:48:28 +02:00
Robert Field
426f1d9d47 8080352: jshell tool: Error message for using "package" should be more descriptive than "Failed"
Reviewed-by: jlahoda
2016-09-07 12:15:22 -07:00
Robert Field
4017bf5f7a 8165211: JShell: Fix completion analysis problems
Reviewed-by: jlahoda
2016-09-01 13:21:52 -07:00
Jan Lahoda
8302f64ee6 8164952: JShell tests: jdk/jshell/CompletionSuggestionTest.testUncompletedDeclaration(): failure
Avoiding conflict between the CompletionSuggestionTest.testUncompletedDeclaration test and ClassPathTest

Reviewed-by: rfield
2016-09-01 21:25:33 +02:00
Robert Field
7a3d0498d3 8133507: JShell: StackTraceElement#getFileName of EvalException does not use custom id generator
Reviewed-by: jlahoda
2016-09-01 12:13:13 -07:00
Jan Lahoda
74e01787b3 8131023: JShell: System.in does not work
Pass user input to snippets/remote agent

Reviewed-by: rfield
2016-09-01 10:30:50 +02:00
Shinya Yoshida
11de22e133 8164825: jshell tool: Completion for subcommand
Reviewed-by: jlahoda
2016-09-01 11:07:00 +09:00
Robert Field
7dceb3e785 8164518: JShell: Add failover case of explicitly listening to "localhost"
Reviewed-by: jlahoda
2016-08-31 10:35:51 -07:00
Mandy Chung
2a62da3a63 8165109: langtools/test switches to use new CLI options
Reviewed-by: jjg, amlu
2016-08-30 20:49:41 -07:00
Kumar Srinivasan
2df08320de 8157349: Missing doc-files in javadoc documentation
Reviewed-by: jjg
2016-08-29 07:46:37 -07:00
Nadeesh TV
7cafba7a11 8153897: jshell tool: "not active" must be pulled from resource file
Not active error msg pulled from resource file

Reviewed-by: rfield
2016-08-29 11:13:48 +00:00
Jonathan Gibbons
1386ffb4f2 8164887: update tests to remove use of old-style options
Reviewed-by: mchung
2016-08-26 15:54:36 -07:00
Robert Field
0b92f87233 8158738: jshell tool: Save does not affect jshell if started from another editor
Reviewed-by: jlahoda
2016-08-26 11:36:08 -07:00
Jonathan Gibbons
486c59283b 8164747: allclasses-frame broken after JDK-8162353
Reviewed-by: bpatel
2016-08-24 15:40:35 -07:00
Sandeep Konchady
865b439a69 8163991: Fix license and copyright headers under test/jdk/javadoc/ and test/tools/javac/
Reviewed-by: anazarov, iris, jjg, shurailine
2016-08-23 10:19:49 +01:00
Robert Field
f39e912857 8160089: jshell tool: use new double-dash long-form command-line options
Reviewed-by: jlahoda
2016-08-22 19:31:37 -07:00
Jonathan Gibbons
20e0d40bc1 8164130: Simplify doclet IOException handling
Reviewed-by: bpatel, ksrini
2016-08-22 16:32:40 -07:00
Robert Field
f03ea9c497 8154374: JShell: setContextClassLoader() for remote Snippet class loader
8080347: jshell tool: /vars when the status is other than Active

Reviewed-by: jlahoda
2016-08-22 09:12:11 -07:00
Robert Field
6a0075c86e 8164277: JShell API: Snippets are immutable and should be available for post-mortem analysis
Reviewed-by: jlahoda
2016-08-22 08:18:18 -07:00
Robert Field
9f44318ef9 8158906: JShell: crashes with extremely long result value
Reviewed-by: jlahoda, shinyafox
2016-08-19 13:55:26 -07:00