Commit Graph

3577 Commits

Author SHA1 Message Date
Jan Lahoda
1aab3cd562 8156911: JShell: file manager should be closed
Properly closing the file manager when it is being thrown away on error.

Reviewed-by: rfield
2016-08-22 18:19:31 +02: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
Jan Lahoda
f65c3ae869 8164550: tools/javac/modules/InheritRuntimeEnvironmentTest.java fails on Windows after JDK-8153391
Empty classpath is not working on Windows; using a classpath consisting on a sole empty dir

Reviewed-by: mcimadamore
2016-08-22 15:16:30 +02:00
Jan Lahoda
53cd7b54fa 8153391: an image created for \"jdk.compiler\" fails to run javac
Improving errors produced by javac when the zipfs implementation is missing in the JDK image.

Reviewed-by: jjg
2016-08-22 09:59:43 +02:00
Robert Field
9f44318ef9 8158906: JShell: crashes with extremely long result value
Reviewed-by: jlahoda, shinyafox
2016-08-19 13:55:26 -07:00
Bhavesh Patel
efdde296cd 8155995: Update javadoc to include module search
Reviewed-by: jjg, ksrini
2016-08-19 12:54:02 -07:00
Maurizio Cimadamore
1c7781b760 8164481: Remove jtreg run configurations from langtools idea project
Update langtools intellij project and related ant build files.

Reviewed-by: jlahoda
2016-08-19 16:45:22 +01:00
Lana Steuck
d6f5c51ba4 Merge 2016-08-18 21:33:52 +00:00
Lana Steuck
ea92402e8a Added tag jdk-9+132 for changeset 3f7eb1205cee 2016-08-18 21:01:24 +00:00
Kumar Srinivasan
8e3f461678 8159305: Enhance the javadoc tool to support module related options
Reviewed-by: bpatel, jjg
2016-08-18 05:48:35 -07:00
Srikanth Adayapalam
6c2a33a67b 8162576: Missing doclint check missing for modules
Co-authored-by: Lance Andersen <lance.andersen@oracle.com>
Reviewed-by: jjg, ksrini
2016-08-17 10:34:48 +05:30
Jonathan Gibbons
f8ab3f84a4 8163800: The fix for JDK-8072052 shows up other minor incorrect use of styles
Reviewed-by: bpatel
2016-08-16 10:57:13 -07:00
Jonathan Gibbons
4c9b47f1fa 8098537: Incorrect fonts in Java 8 javadocs
8072052: <dd> part of <dl> list in javadoc should not be in monospace font

Reviewed-by: bpatel
2016-08-16 10:35:10 -07:00
Jan Lahoda
d103a19b3a 8078561: Error message should be generated once when -source 6 is specified
Code to avoid duplicated errors about features not supported in the current source level moved to Log

Reviewed-by: jjg
2016-08-16 16:43:00 +02:00
Bhavesh Patel
f6fc6ee2b8 8135291: [javadoc] broken link in Package com.sun.tools.jconsole
Reviewed-by: jjg, ksrini
2016-08-15 22:14:25 -07:00
Srikanth Adayapalam
c7f35c53af 8157512: AssertionError in javac when module-info < v53.0
Reviewed-by: jjg
2016-08-16 09:45:19 +05:30
Srikanth Adayapalam
8513d8d26f 8157519: Error messages when compiling a malformed module-info.java confusing
Reviewed-by: jjg
2016-08-16 09:13:33 +05:30
Jonathan Gibbons
9208c82732 8162353: javadoc should provide a way to disable use of frames
Reviewed-by: bpatel, ksrini
2016-08-15 18:00:36 -07:00
Joe Darcy
66ff418a4b 8163999: Workaround intermittent failures of TreePosTest.java due to C2 memory usage
Reviewed-by: jjg
2016-08-15 13:42:34 -07:00
Robert Field
67028ff853 8159027: JShell API: SourceCodeAnalysis.Suggestion has constructor, ..
Reviewed-by: jlahoda
2016-08-15 11:39:53 -07:00
Jan Lahoda
f0e1e069ff 8129421: JShell: unacceptable suggestions in 'extends', 'implements' in smart completion
8129422: JShell: methods and fields of uncompleted expressions should be suggested

Fixing several completion bugs

Reviewed-by: rfield
2016-08-15 08:28:26 +02:00
Vicente Romero
4509dabf7e 8067485: ct.properties has no copyright notice
Reviewed-by: jjg
2016-08-13 09:42:26 -07:00
Jonathan Gibbons
0ae5880c01 8052398: Uniqify test framework class names
Reviewed-by: darcy
2016-08-12 17:45:31 -07:00
Jonathan Gibbons
a39651d5ea 8160137: HTMLDoclet and AbstractDoclet should implement Doclet
Reviewed-by: ksrini
2016-08-12 16:03:36 -07:00
Jonathan Gibbons
7593e50c73 8163524: doclet resources doclet.usage.NAME.name are redundant
Reviewed-by: ksrini
2016-08-12 15:41:47 -07:00
Srikanth Adayapalam
37028f8abc 8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
Reviewed-by: mcimadamore, ksrini
2016-08-12 11:49:18 +05:30
Lana Steuck
4eedc33696 Merge 2016-08-11 17:02:00 +00:00
Lana Steuck
b50532b85b Added tag jdk-9+131 for changeset 48d9e26a8fa4 2016-08-11 15:47:10 +00:00
Jan Lahoda
ec9ca2997f 8133884: javac moduleName/className and moduleName/packageName options
8162711: javax.lang.model.util.Elements.getModuleElement returns null during annotation processing on class files

Adding a test for annotation processing for <module-name>/<class-name>; ensuring the <module-name> module is in the module graph.

Reviewed-by: jjg
2016-08-11 17:26:12 +02:00
Kumar Srinivasan
b620ed93e6 8152054: fix @ignored langtools/test/jdk/javadoc/tool/ tests
Reviewed-by: jjg
2016-08-10 16:19:09 -07:00
Mandy Chung
8c9d7950f7 Merge 2016-08-10 15:54:25 -07:00
Robert Field
ea4535a524 8163817: JShell tests: disable minor failing editor tool cases: 8161276, 8163816, 8159229
Reviewed-by: jlahoda, psandoz, darcy
2016-08-10 15:52:26 -07:00
Jonathan Gibbons
978417c4c7 8136930: Simplify use of module-system options by custom launchers
8160489: Multiple -Xpatch lines ignored by javac
8156998: javac should support new option -XinheritRuntimeEnvironment

Reviewed-by: jlahoda, ksrini
2016-08-10 15:47:46 -07:00
Vicente Romero
3b80559162 8160156: javac is generating let expressions unnecessarily
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2016-08-10 13:52:02 -07:00
Robert Field
a2f7c1568c 8163500: JShell: ProblemList.txt update: 8139872 and 8080843 fixed
Reviewed-by: jlahoda
2016-08-10 10:47:43 -07:00
Robert Field
81c36d2f40 8143964: JShell API: convert query responses to Stream instead of List
Reviewed-by: psandoz, shinyafox
2016-08-09 23:00:49 -07:00
Jonathan Gibbons
719eeed2d2 8160697: HTMLWriter needs perf cleanup
Reviewed-by: ksrini, bpatel
2016-08-09 13:22:57 -07:00
Jan Lahoda
39de28475b 8143048: Re-examine dependency on property sun.boot.class.path
Removing obsolete references to sun.boot.class.path

Reviewed-by: jjg
2016-08-09 20:27:06 +02:00
Kumar Srinivasan
cd9b88b93d 8075529: Documentation in DocumentationTool.getTask(...) should mention about "null" parameter for doclet
Reviewed-by: jjg
2016-08-09 07:31:16 -07:00
Vicente Romero
9900b3bf7e 8162874: AST nodes representing operators should have a common superclass
Reviewed-by: mcimadamore
2016-08-08 11:48:02 -07:00
Jan Lahoda
d898c2f21c 8144733: Iterating over elements of a Scope can return spurious inner class elements
When a Symbol is removed from a Scope while iterating over it, update the iterator as well to reflect the change.

Reviewed-by: mcimadamore
2016-08-08 17:22:44 +02:00
Alejandro Murillo
335b44a953 Merge 2016-08-04 17:48:48 +00:00
Alejandro Murillo
4371dff8b4 Added tag jdk-9+130 for changeset 4923274643f2 2016-08-04 17:32:55 +00:00
Erik Joelsson
b485ceb1f8 8157100: missing dependency in build system
Reviewed-by: tbell
2016-08-04 10:07:48 +02:00
Jonathan Gibbons
b601617d9c 8162359: javac should use stdout for --help and --version
Reviewed-by: vromero
2016-08-03 16:01:09 -07:00
Joe Darcy
498a90cde6 8163113: langtools repeating annotations tests depend rely on annotations toString output
Reviewed-by: jlahoda, vromero
2016-08-03 11:30:27 -07:00
Joe Darcy
a5b296fde7 8163115: Temporarily problem list javac repeating annotations tests
Reviewed-by: jjg
2016-08-03 10:05:37 -07:00
Bhavesh Patel
fedc596776 8154817: Fix the click-through navigation for modules
Reviewed-by: jjg, ksrini
2016-08-02 13:14:12 -07:00
Vicente Romero
2bedc263dc 8161708: javac, consider a different way to handle access code for operators
Reviewed-by: mcimadamore
2016-08-01 08:36:02 -07:00