Commit Graph

760 Commits

Author SHA1 Message Date
Chris Yin
7166041796 8202690: jdk/jshell/ToolBasicTest.java failed in testOpenFileOverHttp() and testOpenLocalFileUrl()
Reviewed-by: rfield, jlahoda
2018-05-08 09:51:42 +08:00
Joe Darcy
42c3c3b5f7 8202599: Mark intermittently failing jshell tests
Reviewed-by: rfield
2018-05-05 09:34:01 -07:00
Michal Vala
1e0c45b250 8199912: jshell tool: /open from URI
Reviewed-by: rfield
2018-05-04 23:19:10 -07:00
Jonathan Gibbons
f7ac53e5e9 8201817: Taglet.init should be called with the "primary" doclet
Reviewed-by: ksrini
2018-05-02 11:11:06 -07:00
Kumar Srinivasan
3dfa260af9 8025091: VisibleMemberMap.java possible performance improvements
8198890: The standard doclet incorrectly produces wrong method signatures in certain cases

Reviewed-by: jjg
2018-04-24 11:54:03 -07:00
Priya Lakshmi Muthuswamy
c1f5adbe18 8207190: JDK 11 javadoc generates bad code example
Reviewed-by: sundar
2018-07-17 16:49:55 +05:30
Robert Field
ac44a19694 8199193: jshell tool: Add support for preview features
Reviewed-by: sundar
2018-04-23 09:01:03 -07:00
Vicente Romero
03a10ec7b2 8196433: use the new error diagnostic approach at javac.Main
Reviewed-by: jjg
2018-04-18 16:02:53 -04:00
Jonathan Gibbons
e371d95422 8201396: fix broken links generated by javadoc doclet
Reviewed-by: ksrini
2018-04-10 15:05:10 -07:00
Bhavesh Patel
40998ce018 8196200: Implement a navigation builder in javadoc
Reviewed-by: jjg, ksrini
2018-04-09 09:45:51 -07:00
Amit Sapre
2f100464ea 8071367: JMX: Remove SNMP support
Drop jdk.snmp module.

Reviewed-by: alanb, mchung, dfuchs
2018-04-06 17:27:24 +05:30
Robert Field
4ecc488704 8198801: JShell: user exception chained cause not retained
Reviewed-by: jlahoda
2018-04-03 13:27:58 -07:00
Bhavesh Patel
9569a57298 8199278: Javadoc search results does not link to anchors on a page
Reviewed-by: jjg, ksrini
2018-03-26 18:07:24 -07:00
Shinya Yoshida
4b6cd06e3d 8199762: JShell API: Failed to detect override when snippet to be overridden has been changed before
Reviewed-by: rfield
2018-03-24 14:43:04 +09:00
Bhavesh Patel
1780fdeae7 8182765: HTML5 must be the default javadoc codegen mode in the near future
Reviewed-by: jjg
2018-03-06 10:45:47 -08:00
Phil Race
d381c82162 Merge 2018-03-01 08:52:52 -08:00
Phil Race
d2e6289c0b Merge 2018-02-26 10:36:34 -08:00
Jesper Wilhelmsson
1739105160 Merge 2018-02-25 04:59:43 +01:00
Robert Field
4aa85f9489 8196133: JShell crashes when attempting to use bad source file in class path
Reviewed-by: jlahoda
2018-02-16 16:18:55 -08:00
Robert Field
b2ed2bda60 8198573: JShell: class replace loses instances
Reviewed-by: jlahoda
2018-02-23 10:49:56 -08:00
Robert Field
f23f23fc76 8166232: jshell tool: cannot access previous history
Reviewed-by: jlahoda
2018-02-23 10:25:22 -08:00
Robert Field
004b22e401 8176474: test/jdk/jshell/JdiBogusHostListenExecutionControlTest.java fails with java.net.BindException
Reviewed-by: jlahoda
2018-02-22 12:26:01 -08:00
Jan Lahoda
ddf6846500 8197439: Crash with -XDfind=lambda for anonymous class in anonymous class
Ensuring unresolvable anonymous classes are attributed.

Reviewed-by: mcimadamore, sadayapalam
2018-02-21 17:07:12 +01:00
Sangheon Kim
98a4315c72 8193909: Obsolete(remove) Co-operative Memory Management (CMM)
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Reviewed-by: dholmes, jwilhelm, mchung, tschatzl
2018-02-20 12:54:26 -08:00
Bhavesh Patel
4932677ba4 8198522: Javadoc search broken after output files organization for modules
Reviewed-by: jjg
2018-02-26 17:18:15 -08:00
Jonathan Gibbons
e7f7bcdb06 8195795: Organize output files by module/package, not just package
Reviewed-by: ksrini, mchung, erikj
2018-02-07 11:28:23 -08:00
Bhavesh Patel
999168d66b 8196027: Remove "Prev" and "Next" links from the javadoc navigation
Reviewed-by: jjg, ksrini
2018-02-06 18:28:23 -08:00
Jonathan Gibbons
c0cb471231 8195805: Doclet incorrectly updates all attributes in <a> tags when relocating links
Reviewed-by: ksrini
2018-01-22 11:28:32 -08:00
Jonathan Gibbons
8550a5c92d 8195796: Reduce the size of relative URLs in generated docs
Reviewed-by: ksrini
2018-01-22 11:15:51 -08:00
Jan Lahoda
46051a71c6 8195789: Building of test/langtools/jdk/jshell/VariablesTest.java may fail
Adding proper @modules tag.

Reviewed-by: vromero
2018-01-19 21:05:23 +01:00
Jan Lahoda
e332323760 8191842: JShell: Inferred type information is lost when assigning types to a \"var\"
For vars, upgrading all anonymous classes to member classes; stripping intersection types from fields before writing.

Reviewed-by: rfield
2018-01-19 17:11:52 +01:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Goetz Lindenmaier
22762d1cdc 8189102: All tools should support -?, -h and --help
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
2018-01-16 08:48:34 +01:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Lana Steuck
459909ddf3 Merge 2018-01-06 01:13:32 +00:00
Jonathan Gibbons
528109a976 8188649: javadoc -encoding doesn't work when using the old doclet API
Reviewed-by: ksrini
2018-01-05 12:41:28 -08:00
Kumar Srinivasan
fd34cd5262 8193671: Default Methods tab under Method Summary includes static methods
Reviewed-by: jjg
2018-01-04 13:32:10 -08:00
Robert Field
ec203d777d 8179858: jshell tool: sync nomenclature from reference to online /help
Reviewed-by: dlsmith, jjg
2018-01-04 12:24:56 -08:00
Bhavesh Patel
a0d37d92df 8192007: javadoc @uses and @provides tags in the modules documentation appears before the first-sentence summary of the service type
Reviewed-by: jjg, ksrini
2018-01-04 09:22:17 -08:00
Kumar Srinivasan
64e992633f 8193671: Default Methods tab under Method Summary includes static methods
Reviewed-by: jjg
2018-01-03 15:16:46 -08:00
Jonathan Gibbons
372bc7a281 8194955: Warn when default HTML version is used
Reviewed-by: ksrini, bpatel
2018-01-12 11:41:32 -08:00
Jonathan Gibbons
f811ca50b3 8181878: javadoc should support/ignore --add-opens
Reviewed-by: ksrini
2018-01-11 15:38:57 -08:00
Kumar Srinivasan
b5cb43b1de 8194953: doclet corrupts HTML files when adding navbar
Reviewed-by: jjg
2018-01-16 19:26:48 -08:00
Robert Field
e1069d367d 8179858: jshell tool: sync nomenclature from reference to online /help
Reviewed-by: dlsmith, jjg
2017-12-19 11:37:00 -08:00
Phil Race
b1bede0343 Merge 2017-12-18 10:28:43 -08:00
Jonathan Gibbons
dfbf4c7a61 8193525: Intermittent failures of TestModulePackages.java
Reviewed-by: darcy
2017-12-14 13:16:33 -08:00
Jonathan Gibbons
1a5f4b8fa2 8193525: Intermittent failures of TestModulePackages.java
Reviewed-by: darcy
2017-12-14 13:16:33 -08:00
Jonathan Gibbons
5bcb718441 8178070: duplicate entries in package table
Reviewed-by: bpatel, ksrini
2017-12-13 17:27:43 -08:00
Robert Field
9ecafd93f5 8188894: jdk/jshell/ToolShiftTabTest.java failed with IllegalStateException
Reviewed-by: jlahoda
2017-12-13 14:21:12 -08:00
Phil Race
4b727d4f18 Merge 2017-12-13 10:25:38 -08:00
Robert Field
c1d0d6d51d 8162989: jshell tool: /edit with external editor leaks files in /tmp
Reviewed-by: jlahoda
2017-12-11 21:56:34 -08:00
Phil Race
ee9c644643 Merge 2017-12-11 10:08:51 -08:00
Jan Lahoda
390de69601 8189778: Jshell crash on tab for StringBuilder.append(
Fixing handling of {@inheritDoc} in JShell's documentation.

Reviewed-by: jjg, ksrini
2017-12-11 18:33:53 +01:00
Bhavesh Patel
1bf16ef2db 8164407: Add module support for -link and -linkoffline javadoc option
Reviewed-by: jjg, ksrini
2017-12-13 12:45:06 -08:00
Robert Field
e08ffc05d9 8192863: jshell tool: /<id><tab> gives "No such command"
Reviewed-by: jlahoda
2017-12-07 13:23:18 -08:00
Jan Lahoda
17b766fb1d 8191636: [Windows] jshell tool: Wrong character in /env class-path command crashes jshell
Fixing handling of invalid paths.

Reviewed-by: rfield
2017-12-13 11:27:28 +01:00
Kumar Srinivasan
05d1149d5e 8192850: method summary tables of inherited methods improperly list static interface methods
Reviewed-by: jjg
2017-12-12 20:18:14 -08:00
Kumar Srinivasan
ddb9702c14 8193107: javadoc complains about empty module
Reviewed-by: jjg
2017-12-12 14:16:24 -08:00
Robert Field
5252da0f37 8192979: jshell tool: Online help text for commands is confusing
Reviewed-by: jlahoda
2017-12-05 11:04:42 -08:00
Robert Field
3d3780d2e8 8191455: jdk/jshell/StartOptionTest.java and jdk/jshell/ToolProviderTest.java failed after changeset e0f08a
8191456: jdk/jshell/ExternalEditorTest.java testStatementMush() failure

Reviewed-by: jlahoda
2017-12-04 17:15:38 -08:00
Maurizio Cimadamore
686d74f11e 8189749: Devise strategy for making source level checks more uniform
Create a 'feature' enum which is responsible for handling source version checks and related diagnostic generation

Reviewed-by: jjg, jlahoda
2017-12-04 17:54:49 +00:00
Kumar Srinivasan
c30bc22a0e 8034254: Don't use binary testing files broken.jar
Reviewed-by: jjg
2017-12-07 21:07:12 -08:00
Kumar Srinivasan
7604d1d515 8149402: "-group" option issue for classes from default package
Reviewed-by: jjg
2017-12-07 14:21:25 -08:00
Kumar Srinivasan
900f2c016d 8191030: @value Tags are not resolved by javadoc 9
Reviewed-by: jjg
2017-12-07 14:15:14 -08:00
Jan Lahoda
9f07305ab6 8189248: Jshell: error with mutually dependent snippets, when one must be replaced
Ensuring proper imports are generated for mutually dependent snippets if one of them is replaced.

Reviewed-by: rfield
2017-12-07 19:24:27 +01:00
Kumar Srinivasan
7892014147 8192933: Wrong generic type parameter in serialized form javadoc
Reviewed-by: jjg
2017-12-06 15:14:13 -08:00
Kumar Srinivasan
a53a1b7844 8191078: Wrong "Package not found" warning
Reviewed-by: jjg, jlahoda
2017-12-06 11:43:50 -08:00
Kumar Srinivasan
47d1a91754 8185985: Html files in doc-files directories should be wrapped with standard header and footer
Reviewed-by: jjg
2017-11-30 06:14:25 -08:00
Kumar Srinivasan
e3c574e026 8190552: Augment the Compiler API tree with APIs to represent HTML content
Reviewed-by: jjg, jlahoda
2017-11-30 04:43:09 -08:00
Kumar Srinivasan
581c28572a 8182108: javadoc makes up type variables for grandparent types
Reviewed-by: jjg
2017-11-29 15:27:47 -08:00
Phil Race
625c3fd013 Merge 2017-11-29 09:47:02 -08:00
Maurizio Cimadamore
3534ed0379 8191802: Upward projection result is A<? extends Number> instead of A<? super Integer>
Code in Types.TypeProjection doesn't match the latest spec text

Reviewed-by: vromero
2017-11-29 17:31:23 +00:00
Phil Race
586b13cdb6 Merge 2017-11-29 09:07:01 -08:00
Bhavesh Patel
6912165887 8185369: Clean up the javadoc stylesheet
Reviewed-by: jjg
2017-11-28 20:19:29 -08:00
Phil Race
dcaa7f90ba Merge 2017-11-27 10:35:05 -08:00
Jan Lahoda
9bb2c5a0b3 8133616: compiler error messages for dup single type, single static import switched
When reporting clashing imports, use the (non-)staticness of the original import to generate the error message.

Reviewed-by: mcimadamore
2017-11-27 19:29:00 +01:00
Robert Field
c942c5de6b 8190939: JShell: gives a compiler error evaluating an expression of inaccessible type
Reviewed-by: jlahoda
2017-11-24 16:55:18 -08:00
Jan Lahoda
fea6c39ce2 8178109: More useful documentation on /help
For /help <command/subject>, show the help for the command/subject directly.

Reviewed-by: rfield
2017-11-23 19:44:13 +01:00
Kumar Srinivasan
2af00f5da9 8180019: javadoc should treat failure to access URL as an error, not a warning
Reviewed-by: jjg
2017-11-21 13:17:06 -08:00
Kumar Srinivasan
53ee22647f 8187588: Error generating using JDK 9 javadoc against a JDK 8 source repository
Reviewed-by: jjg
2017-11-20 16:50:22 -08:00
Jonathan Gibbons
1e9c354dca 8191464: jdk/javadoc/doclet/testModules/TestModules.java 2 of 333 subtests failed
Reviewed-by: bpatel
2017-11-17 18:37:37 -08:00
Jonathan Gibbons
5963e3d359 8190819: Merge HtmlWriter into HtmlDocument
Reviewed-by: bpatel, ksrini
2017-11-16 15:12:13 -08:00
Jonathan Gibbons
7a89adf1a8 8190818: Introduce a new Script builder class
Reviewed-by: bpatel, ksrini
2017-11-16 15:06:17 -08:00
Jonathan Gibbons
fbd053bd26 8190295: Introduce a new Table builder class
Reviewed-by: bpatel, ksrini
2017-11-16 15:01:45 -08:00
Phil Race
fca05b5e6e Merge 2017-11-16 10:45:42 -08:00
Robert Field
c0689879a7 8177076: jshell tool: allow non-zero /exit
8190383: JShell API: no way for the jshell tool to report exit status to provider

Reviewed-by: jlahoda
2017-11-14 19:33:37 -08:00
Robert Field
846d6be95c 8172154: jshell tool: make all IMPORTS.jsh generated at build time
Reviewed-by: jlahoda
2017-11-14 10:45:22 -08:00
Bhavesh Patel
616491477f 8185371: Support for multiple stylesheets in javadoc
Reviewed-by: jjg, ksrini
2017-11-14 13:44:07 -08:00
Phil Race
158e69f6ec Merge 2017-11-03 09:56:02 -07:00
Robert Field
022c618af9 8188072: JShell: NPE in SourceCodeAnalysis.completionSuggestions()
Reviewed-by: jlahoda
2017-11-02 11:09:28 -07:00
Phil Race
aa96056b21 Merge 2017-11-01 10:00:38 -07:00
Jonathan Gibbons
46e1e763c1 8190003: Special characters in group names should be escaped
Reviewed-by: ksrini, bpatel
2017-10-25 18:12:15 -07:00
Jonathan Gibbons
917c6d460b 8190182: remove accidental file
Reviewed-by: ksrini
2017-10-25 17:48:30 -07:00
Jonathan Gibbons
19db6ba670 8189843: Missing \"id\" attributes in table rows
Reviewed-by: bpatel, ksrini
2017-10-25 17:18:00 -07:00
Jonathan Gibbons
cf81232570 8189841: Error in alternate row coloring in package-summary files
Reviewed-by: bpatel, ksrini
2017-10-25 17:16:18 -07:00
Phil Race
62fa58101a Merge 2017-10-25 12:41:24 -07:00
Bhavesh Patel
5c2a4b6e1a 8183037: Overview summary page should have a table with tabs for groups
Reviewed-by: jjg, ksrini
2017-10-25 12:29:00 -07:00
Robert Field
7ce7347fd2 8179856: jshell tool: not suitable for pipeline use
8186708: jshell tool: bad load file garbles message and does not abort

Reviewed-by: jlahoda
2017-10-24 20:33:36 -07:00
Robert Field
19fbc4c08c 8187359: JShell: Give comprehensible error when user method name matches Object method
Reviewed-by: jlahoda
2017-10-20 19:08:25 -07:00
Kumar Srinivasan
3733761695 8157000: Do not generate javadoc for overridden method with no spec change
Reviewed-by: jjg
2017-10-19 20:27:47 -07:00
Jonathan Gibbons
f386e419c3 8187521: In some corner cases the javadoc tool can reuse id attribute
Reviewed-by: bpatel, ksrini
2017-10-10 17:02:52 -07:00
Jan Lahoda
a36938e082 8188225: AST could be improved in presence of var types
Adding a better start pos for vars; always adding a synthetic type tree to vars.

Reviewed-by: mcimadamore
2017-10-06 17:18:03 +02:00
Kumar Srinivasan
da077b2e26 8186703: javadoc needs a test to verify member hiding
Reviewed-by: jjg
2017-10-04 10:44:21 -07:00
Bhavesh Patel
feab9efa52 8074407: javadoc: using <pre> after @deprecated tag causes warnings
Reviewed-by: jjg, ksrini
2017-10-03 12:58:49 -07:00
Bhavesh Patel
448718c0af 8169819: minor cleanup for deprecated page
Reviewed-by: jjg, ksrini
2017-10-02 14:49:46 -07:00
Bhavesh Patel
6db0190cb5 8186332: Fix method signature in method summary table
Reviewed-by: jjg, ksrini
2017-09-27 16:47:07 -07:00
Bhavesh Patel
385c583ed1 8183511: improve style for deprecated text
Reviewed-by: jjg, ksrini
2017-09-26 20:03:48 -07:00
Maurizio Cimadamore
c825188cd8 8177466: Add compiler support for local variable type-inference
Add support for 'var' in implicitly typed local variable declarations

Reviewed-by: vromero, jlahoda
2017-09-26 12:52:53 +01:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Jan Lahoda
e44c7feff9 8189595: jshell tool: line redrawn on each completion
Reviewed-by: rfield
2017-11-02 10:09:34 +01:00