Commit Graph

4246 Commits

Author SHA1 Message Date
Robert Field
ee816fd1c9 8174672: JShell tests: jdk/jshell/UserJdiUserRemoteTest.java problem listed with wrong bug number
Reviewed-by: jjg
2017-02-09 14:37:42 -08:00
Lana Steuck
0b5fdf1fc3 Merge 2017-02-09 18:17:42 +00:00
Lana Steuck
c0d5750145 Merge 2017-02-09 18:09:48 +00:00
Lana Steuck
6563321674 Added tag jdk-9+156 for changeset 62824732af55 2017-02-09 17:21:49 +00:00
Michel Trudeau
a55e3cd16b 8168965: search items are not listed in any sensible order
Reviewed-by: jjg, ksrini
2017-02-09 08:01:19 -08:00
Maurizio Cimadamore
e05d91747c 8174249: Regression in generic method unchecked calls
Erasure for unchecked call occurs too early after JDK-8078093

Reviewed-by: vromero
2017-02-09 15:19:05 +00:00
Vicente Romero
c3759775fb 8174073: NPE caused by @link reference to class
Reviewed-by: jjg, ksrini
2017-02-08 19:42:24 -08:00
Robert Field
52f0f390a8 8173916: jshell tool: /methods signature confusing/non-standard format
8174028: jshell tool: /method /type failed declaration listed (without indication)
8174041: jshell tool: --startup PRINTING references undeclared Locale class

Reviewed-by: jlahoda
2017-02-08 13:35:42 -08:00
Robert Field
4593304c07 8173845: JShell API: not patch compatible
Reviewed-by: jlahoda
2017-02-08 10:43:16 -08:00
Robert Field
ee13abe593 8173893: JShell: reduce memory leaks
Reviewed-by: jlahoda
2017-02-08 09:12:45 -08:00
Vicente Romero
25a8d5cb01 8174027: error message should adapt to the corresponding top level element
Reviewed-by: mcimadamore
2017-02-08 06:43:34 -08:00
Kumar Srinivasan
f24113bdb2 8173302: Move the Description up on module and package index page
Reviewed-by: bpatel, jjg
2017-02-07 13:45:29 -08:00
Jonathan Gibbons
f7fbfc06c6 8174140: Move test files into package hierarchy
Reviewed-by: darcy
2017-02-07 16:19:50 -08:00
Liam Miller-Cushon
9229886d99 6388543: improve accuracy of source positions for AnnotationValue param of Messager.printMessage
Reviewed-by: jjg
2017-02-06 17:19:06 -08:00
Jonathan Gibbons
23017d450e 8174051: fix terminology in javadoc comment
Reviewed-by: darcy
2017-02-06 17:51:54 -08:00
Joe Darcy
d84c982cbc 8173944: Reference Origin.MANDATED in getEnclosedElements specs
Reviewed-by: jlahoda
2017-02-06 16:32:37 -08:00
Jonathan Gibbons
f4c670d9b6 8172901: javac: 'opens' statement cannot specify non observable package
Reviewed-by: jlahoda
2017-02-06 12:35:13 -08:00
Robert Field
c42d389e2d 8173807: JShell: control characters should be escaped in String values
Reviewed-by: jlahoda
2017-02-06 09:25:31 -08:00
Robert Field
43593d5bf5 8173848: JShell: less-than causes: reached end of file while parsing
Reviewed-by: jlahoda
2017-02-06 09:00:02 -08:00
Jan Lahoda
eb5ba01b02 8173636: Results from Processor.getSupportedAnnotationTypes should be intepreted strictly
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: darcy, jjg
2017-02-06 15:57:35 +01:00
Srikanth Adayapalam
d6090047be 8166420: Confusing error message when reading bad module declaration
Reviewed-by: jlahoda
2017-02-06 18:14:51 +05:30
Jan Lahoda
e7c5d26299 8173653: jshell tool: ctrl-C when in external editor aborts jshell -- history lost
Disable Ctrl-C while running external editors.

Reviewed-by: rfield
2017-02-06 11:11:43 +01:00
Srikanth Adayapalam
1b5251ab0c 8173456: com.sun.tools.javac.util.Assert.error during code compilation
Reviewed-by: mcimadamore
2017-02-06 13:12:30 +05:30
Lance Andersen
1ded7c8c04 8173604: Rename module 8173604 java.annotations.common to java.xml.ws.annoations
Reviewed-by: dfuchs, alanb, psandoz, mchung
2017-02-04 14:05:08 -05:00
Joe Darcy
0a98c7b5b6 8173305: Trial reversion of langtools test changes for limited win32 address space
Reviewed-by: jjg, amlu
2017-02-03 22:09:30 -08:00
Joe Darcy
65ff124447 8173383: Update JDK build to use -source and -target 10
Reviewed-by: dholmes
2017-02-03 10:27:46 -08:00
Jan Lahoda
40c2afd1eb 8172240: javac should not need the transitive closure to compile a module
Reviewed-by: jjg
2017-02-03 08:16:24 -08:00
Bhavesh Patel
0c3069371e 8173707: Javadoc generated pages should default to no-frames view
Reviewed-by: jjg, ksrini
2017-02-02 14:55:23 -08:00
Jonathan Gibbons
02431ac603 8172807: Javac doesn't report errors on duplicate provides with different service implementations
Reviewed-by: jlahoda
2017-02-02 14:34:21 -08:00
Lana Steuck
b03d5ca97d Merge 2017-02-02 21:55:45 +00:00
Lana Steuck
543c2ca48b Added tag jdk-9+155 for changeset 10a4ca148d89 2017-02-02 21:20:39 +00:00
Kumar Srinivasan
a7038c6099 8173667: Update command line help for -public -protected -package -private options
Reviewed-by: jjg
2017-02-02 10:50:14 -08:00
Jonathan Gibbons
04de18856a 8166675: Latent bug in jar file handling during module path processing
Reviewed-by: jlahoda
2017-02-02 11:40:01 -08:00
Jonathan Gibbons
d084a21c15 8172528: problem generating JavaFX docs
Reviewed-by: ksrini
2017-02-01 20:14:52 -08:00
Bernard Blaser
51e0b0ca26 8173798: Tests for printing modules
Reviewed-by: darcy
2017-02-01 19:48:36 -08:00
Joe Darcy
20529706dc 8173776: More javax.lang.model improvements to support modules
Reviewed-by: jjg, jlahoda
2017-02-01 17:04:24 -08:00
Bhavesh Patel
3a1a49f453 8169813: The index pages are sorted in a confusing manner
Reviewed-by: jjg, ksrini
2017-02-01 15:16:49 -08:00
Jonathan Gibbons
f93bda94f7 8173789: Fix broken test header
Reviewed-by: darcy
2017-02-01 14:38:45 -08:00
Henry Jen
0f10a939d7 8172309: classpath wildcards code does not support --class-path
Reviewed-by: jjg, ksrini
2017-01-31 13:55:03 -08:00
Jonathan Gibbons
ea2592fd1d 8172810: ModuleElement should declare and provide appropriate modifiers
Reviewed-by: darcy
2017-01-30 17:43:18 -08:00
Joe Darcy
28110a1e7e 8173609: Elements.printElements needs to support modules
Reviewed-by: forax, jjg
2017-01-30 15:08:38 -08:00
Joe Darcy
874b8cdc74 8028544: Add SourceVersion.RELEASE_10
8028546: Add -source 10 and -target 10 to javac

Reviewed-by: jjg, smarks
2017-01-27 16:22:08 -08:00
Denis Istomin
145e729236 8081820: javadoc does not report warnings in case of multiple "@param" tags for the same parameter and multiple "@return" tags for the same method
Reviewed-by: jjg
2017-01-27 15:49:14 -08:00
Kumar Srinivasan
c39d6e6a04 8048628: javadoc strips HTML incorrectly; causes invalid generated HTML files
Reviewed-by: jjg
2017-01-27 10:08:36 -08:00
Joe Darcy
ae44237a42 8173676: Improvements to javax.annotation.processing and javax.lang.model doc
Reviewed-by: anazarov
2017-02-01 11:25:56 -08:00
Robert Field
88d92662cd 8173577: JShell tests: Some testng tests check nothing
Reviewed-by: jlahoda
2017-02-01 09:10:07 -08:00
Maurizio Cimadamore
922a7c6a3a 8171294: Slow compilation with long classpaths under JDK 9
Precompute packages contained in jars, to quickly determine at the lookup time whether a jar contains the given package

Reviewed-by: jjg
2017-02-01 15:03:06 +01:00
Robert Field
48836cb851 8173652: jshell tool: store history on fatal exit
Reviewed-by: jlahoda
2017-01-31 17:01:55 -08:00
Bhavesh Patel
737a10a2e7 8173419: Javadoc fix 8166175 results in test failures
Reviewed-by: jjg, ksrini
2017-01-26 16:53:56 -08:00
Jonathan Gibbons
872d18a9c3 8173312: Hide support for --inherit-runtime-environment
Reviewed-by: mchung
2017-01-26 14:35:04 -08:00
Lana Steuck
547938f444 Merge 2017-01-26 21:20:40 +00:00
Bhavesh Patel
30c9249c9d 8166175: javadoc search doesn't work on local doc bundles
Reviewed-by: jjg, ksrini
2017-01-26 13:01:12 -08:00
Lana Steuck
edb4b423d8 Added tag jdk-9+154 for changeset 692b0dfbb390 2017-01-26 19:22:40 +00:00
Jan Lahoda
210dd83834 8173068: ElementUtils getPackageElement does not allow for an unnamed package
Removing special handling of unnamed packages in Elements.getPackageElement.

Reviewed-by: darcy, jjg, ksrini
2017-01-26 14:14:01 +01:00
Jan Lahoda
a57e6e77d2 8067747: javac throws exception during compilation when annotation processing is enabled
Enforcing Filer rules regarding initial inputs, to avoid downstream problems.

Reviewed-by: darcy, jjg
2017-01-26 14:11:38 +01:00
Iris Clark
a4ed1aefb8 8173366: Update .jcheck/conf files for JDK 10
Reviewed-by: mr
2017-01-25 22:32:52 +00:00
Robert Field
01b7f9ed5e 8171343: jshell tool: missing options: --help-extra --show-version
Reviewed-by: jlahoda
2017-01-25 10:43:41 -08:00
Robert Field
8fd1027a6b 8173232: JShell tests: ReplaceTest takes too long
8173234: JShell tests: remove from ProblemList jdk/jshell/ToolFormatTest.java
8173204: JShell tests: ProblemList jdk/jshell/UserJdiUserRemoteTest.java

Reviewed-by: jlahoda
2017-01-25 10:22:06 -08:00
Iris Clark
c8ab7aceaf Added tag jdk-10+0 for changeset 3995afe22c68 2017-01-25 18:14:56 +00:00
Denis Istomin
80280a2207 8041793: javap misses newline after printing AnnotationDefault
Reviewed-by: jjg
2017-01-24 17:36:41 -08:00
Denis Istomin
31b1a86ec6 8051768: Inconsistent output for Visible and InvisibleParameterAnnotations
Reviewed-by: jjg
2017-01-24 16:18:24 -08:00
Jan Lahoda
8e3182c384 8153759: jshell tool: Smart completion detection is not reliable
Reverting back to smart completion if any action follows a completion action.

Reviewed-by: rfield
2017-01-24 13:29:58 +01:00
Joe Darcy
7caafc69f1 8173164: Resolve remaining HTML5 issues in javax.lang.model.*
Reviewed-by: martin
2017-01-23 10:37:27 -08:00
Srikanth Adayapalam
4141792982 8171322: AssertionError in TypeSymbol.getAnnotationTypeMetadata
Reviewed-by: vromero
2017-01-23 10:28:52 +05:30
Jonathan Gibbons
ce3452952c Merge 2017-01-20 18:24:50 -08:00
Jonathan Gibbons
784f56bcc7 8173141: tools/javac/classreader/FileSystemClosedTest.java fails on Windows
Reviewed-by: ksrini
2017-01-20 18:23:34 -08:00
Lana Steuck
8e6ff6a336 Merge 2017-01-20 19:12:30 +00:00
Lana Steuck
f0bbed0c96 Merge 2017-01-20 19:10:00 +00:00
Robert Field
bba1175418 8173073: jshell tool: blank lines removed from multi-line snippets
Reviewed-by: jlahoda
2017-01-20 11:05:48 -08:00
Vicente Romero
6e24cb584c 8170692: inconsistent check of module-related options against target version
Reviewed-by: jjg
2017-01-20 08:29:59 -08:00
Jan Lahoda
721001933d 8173117: Compilation significantly slower after JDK-8169197
Only using recovery search when an error is inevitable.

Reviewed-by: jjg, mcimadamore
2017-01-20 15:32:07 +01:00
Jan Lahoda
3e7e4c275b 8172809: Error compiling javafx modules after fix for JDK-8169197
Properly stripping broken requires from ModuleSymbols.

Reviewed-by: jjg, mcimadamore
2017-01-20 15:32:03 +01:00
Jan Lahoda
b6e7bcbc6a 8171177: Compiler should issue a warning for incubating modules that are resolved
Javac needs to follow ModuleResolution.DO_NOT_RESOLVE_BY_DEFAULT and ModuleResolution.WARN_INCUBATING

Reviewed-by: jjg
2017-01-20 13:20:42 +01:00
Jan Lahoda
ec3981561d 8171098: NPE when --add-modules java.corba is used
Block annotations queue until enter is done, to avoid flushing annotations during module resolution.

Reviewed-by: jjg
2017-01-20 09:26:49 +01:00
Jonathan Gibbons
04405c6abc 8147414: java.nio.file.ClosedFileSystemException in javadoc
Reviewed-by: vromero
2017-01-19 19:14:51 -08:00
Jonathan Gibbons
16d379dad4 8165102: incorrect message from javac
Reviewed-by: vromero
2017-01-19 15:12:59 -08:00
Jonathan Gibbons
f54232896c 8172753: Improve style of left-side index pages
Reviewed-by: bpatel
2017-01-19 14:35:16 -08:00
Lana Steuck
eb1242d56a Added tag jdk-9+153 for changeset 047a57b0839a 2017-01-19 22:31:09 +00:00
Kumar Srinivasan
8045fb0059 8169608: Compiler Tree API's Doctrees.getDocTreePath needs to accept a PackageElement
8157611: field visiblePackages is null for the unnamed module producing NPE when accessed

Reviewed-by: jjg, jlahoda
2017-01-19 13:16:19 -08:00
Robert Field
362b794a82 8171130: jshell tool: /edit adds empty statement to brace terminated snippet
8173007: JShell Tests: ToolFormatTest takes too long

Reviewed-by: jlahoda
2017-01-19 11:17:11 -08:00
Robert Field
99e3bceb60 8172179: jshell tool: builtin startup settings should be by reference not content
Reviewed-by: jlahoda
2017-01-19 11:12:02 -08:00
Henry Jen
9e40eebc93 Merge 2017-01-19 07:02:34 -08:00
Joe Darcy
5fe31c310c 8172910: Use default methods as appropriate for language model visitors
Reviewed-by: jjg
2017-01-18 19:39:06 -08:00
Andrey Nazarov
408d7e99f7 8170250: update/improve testing of classfile module attribute
Reviewed-by: jjg, jlahoda
2017-01-18 21:09:19 +03:00
Chris Hegarty
a0dee349e1 8171380: Remove all exports from jdk.jlink
Reviewed-by: alanb, mchung, sundar
2017-01-18 09:35:23 +00:00
Joe Darcy
4873a69abe 8172686: Use less aggressive deprecation of utility visitors
Reviewed-by: jjg, smarks
2017-01-17 09:40:23 -08:00
Jan Lahoda
53792b463e 8172262: packages missing from docs build
Do not return packages without members from Elements.getPackageElement(String), to avoid ambiguities among such packages in multiple modules.

Reviewed-by: jjg
2017-01-17 07:41:04 +01:00
Srikanth Adayapalam
f1eb002e95 8171993: AssertionError when compiling method reference with generic code and varargs
Reviewed-by: mcimadamore
2017-01-17 09:17:10 +05:30
Joe Darcy
c96f02f2e8 8172531: Correct misstatements in javax.lang.model visitor documentation
Reviewed-by: jjg
2017-01-13 19:29:55 -08:00
Robert Field
cde454bda3 8172678: JShell Tests: Disable CompletionSuggestionTest.testBrokenClassFile2()
Reviewed-by: jlahoda
2017-01-13 18:29:21 -08:00
Jonathan Gibbons
ee0491d210 8172474: javac should enable doclint checking for HTML 5
Reviewed-by: jlahoda
2017-01-13 15:48:12 -08:00
Lana Steuck
071f4e022d Merge 2017-01-13 01:35:30 +00:00
Vicente Romero
5fc51d4ecd 8171528: Crash in Annotate with duplicate package-info declarations
Reviewed-by: jjg
2017-01-12 15:59:28 -08:00
Lana Steuck
6cabc219e0 Added tag jdk-9+152 for changeset 7b8b8750a78e 2017-01-12 23:41:19 +00:00
Vicente Romero
a709f5c3ef 8172213: Remove unused and partially implemented JavacElements#getSourcePosition methods
Reviewed-by: jjg
2017-01-12 09:04:16 -08:00
Jan Lahoda
abddf32a62 8172668: NPE in jdk.compiler/com.sun.tools.javac.comp.TypeEnter$ImportsPhase.importNamed(
Guarding against noType returned from ErrorType.getOriginalType.

Reviewed-by: mcimadamore
2017-01-12 15:37:46 +01:00
Robert Field
96c8382650 8172530: JShell: TypeProjection .stream().map(...).collect(...) must be replaced with .map(...)
Reviewed-by: mcimadamore
2017-01-11 11:09:04 -08:00
Vicente Romero
a9a05f2aff 8171325: NPE in Check.clearLocalClassNameIndexes
Reviewed-by: mcimadamore
2017-01-11 10:29:24 -08:00
Jan Lahoda
c2d9172419 8169197: Improve error reporting for compiling against unexported package
When a type cannot be found, look into other modules, search for possible viable types, and report them conveniently to the user.

Reviewed-by: mcimadamore, jjg
2017-01-11 10:59:57 +01:00
Vicente Romero
6c4a689750 8171332: NPE in MembersPhase.finishClass
Reviewed-by: mcimadamore
2017-01-10 11:31:59 -08:00
Jan Lahoda
b8bdb56985 8172414: jshell not working in exploded JDK build
Using Class.getResourceAsStream instead of a direct reference to JRT.

Reviewed-by: rfield, sundar
2017-01-10 13:53:44 +01:00
Jan Lahoda
fd12ea2d58 8171385: jshell tool: unresponsive to ctrl-C in input wait on Windows
Ensuring stop is sent using the proper channel depending on the current state of the StopDetectingInputStream.

Reviewed-by: rfield
2017-01-10 10:17:47 +01:00
Robert Field
cea33151ed 8171981: JShell: Fails compilation: new Object().getClass().getSuperclass()
Reviewed-by: mcimadamore
2017-01-09 18:04:16 -08:00
Joe Darcy
bee65032d4 8172458: Make javax.lang.model javadoc HTML 5 compliant
Reviewed-by: jjg
2017-01-09 16:20:48 -08:00
Robert Field
f9b57bfbed 8172255: JShell API: ExecutionControl/LoaderDelegate: Remove unused/unimplemented setClassPath
Reviewed-by: jlahoda
2017-01-09 13:50:45 -08:00
Jan Lahoda
869f5bbd91 8172411: -XDnoModules must be removed
Reviewed-by: jjg
2017-01-09 16:44:45 +01:00
Robert Field
6f796f5684 8165405: jshell tool: /classpath is inconsistent
8172103: JShell: crash in TaskFactory$WrapSourceHandler.diag

Reviewed-by: jlahoda
2017-01-06 10:31:25 -08:00
Jan Lahoda
4ec30a933a 8172158: Annotation processor not run with -source <= 8
Avoiding use of module prefix to map annotations to processors when running without modules.

Reviewed-by: darcy, jjg
2017-01-06 14:16:45 +01:00
Jonathan Gibbons
61175156de 8172311: MostSpecific09.java and PotentiallyAmbiguousWarningTest.java failing across platforms
Reviewed-by: vromero
2017-01-05 15:39:57 -08:00
Lana Steuck
21aaeeffff Merge 2017-01-05 19:47:14 +00:00
Vicente Romero
cedf0baa46 8026699: test test/tools/javac/lambda/T8024947/PotentiallyAmbiguousWarningTest.java has an extra @compile attribute that should be removed
Reviewed-by: mcimadamore
2017-01-05 11:20:56 -08:00
Bernard Blaser
37f7ab915c 8148100: Convert lambda most specific positive tests to check runtime behavior
Reviewed-by: mcimadamore
2017-01-05 11:16:39 -08:00
Maurizio Cimadamore
01fc0b7771 8172287: improve intellij logging to cover javac internal errors
Add new message kind to custom intellij ant logger

Reviewed-by: jjg
2017-01-05 19:10:24 +00:00
Joe Darcy
42a9464947 8172220: Mark UserInputTest.java as intermittently failing and problem list it
Reviewed-by: jlahoda
2017-01-05 11:02:35 -08:00
Liam Miller-Cushon
d3f27dfe9c 8065800: javac, fix diagnostic position for statement-bodied lambdas
Reviewed-by: mcimadamore
2017-01-05 10:04:40 -08:00
Lana Steuck
bb1aca9034 Added tag jdk-9+151 for changeset ae7decb33b43 2017-01-05 17:51:12 +00:00
Jonathan Gibbons
6fa9fb405d 8172260: remove tests from ProblemList
Reviewed-by: rfield
2017-01-04 18:33:20 -08:00
Jonathan Gibbons
3cfe5aae72 8171977: Add support for latest messages from 'tidy'
Reviewed-by: darcy
2017-01-04 16:08:27 -08:00
Liam Miller-Cushon
1b499dbf8b 8172214: typo in "intersection types in cast are not supported" message
Reviewed-by: mcimadamore
2017-01-03 17:49:08 -05:00
Mandy Chung
920965dad2 8172212: jdeps --require and --check should detect the specified module in the image
Reviewed-by: psandoz, lancea
2017-01-03 17:53:34 -08:00
Dan Smith
342a27ab58 8144066: StackOverflowException when computing glb
Reviewed-by: mcimadamore
2017-01-03 16:27:54 -07:00
Maurizio Cimadamore
4ff56b008f 8169091: Method reference T::methodName for generic type T does not compile any more
MethodReferenceLookupHelper should use original site to perform unbound subtype check

Reviewed-by: vromero
2017-01-03 11:33:18 +00:00
Liam Miller-Cushon
a84bef19f0 8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
Reviewed-by: mcimadamore
2016-12-21 15:40:08 -08:00
Robert Field
6c52320ccc 8172102: jshell tool: remove print method forwarding to System.out from default startup
Reviewed-by: briangoetz
2017-01-02 18:31:30 -08:00
Robert Field
72b502fa4f 8171892: JShell: incorrect printing of multidemensional arrays
8171387: jshell tool: message inconsistencies

Reviewed-by: sundar, dlsmith
2016-12-23 11:17:50 -08:00
Lana Steuck
bc5b401e00 Merge 2016-12-22 18:48:42 +00:00
Lana Steuck
3fe3fea9c1 Added tag jdk-9+150 for changeset a8d83044a192 2016-12-22 08:26:03 +00:00
Robert Field
f7067671f6 8168615: JShell API: jdk.jshell.spi should be a pluggable ServiceLoader SPI
Reviewed-by: jlahoda
2016-12-21 20:14:39 -08:00
Robert Field
ea579f7bec 8170162: jshell tool: no mechanism to programmatically launch
8170044: jshell tool: jshell missing from javax.tools.ToolProvider

Reviewed-by: jjg
2016-12-20 13:42:13 -08:00
Jonathan Gibbons
23c1a004ec 8171413: jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
Reviewed-by: bpatel
2016-12-20 06:06:01 -08:00
Jonathan Gibbons
71b65b06e4 8171412: tools/javac/modules/AddLimitMods.java failed with "error: module not found"
Reviewed-by: mcimadamore
2016-12-20 05:50:39 -08:00
Mandy Chung
cc3b86f64c 8171418: Remove jdeps internal --include-system-modules option
Reviewed-by: dfuchs, lancea
2016-12-19 12:30:39 -08:00
Jonathan Gibbons
bf8ce3692c 8171255: Javac generates Deprecated class file attribute for @deprecated javadoc tag on module declaration
Reviewed-by: mcimadamore, anazarov
2016-12-19 11:15:01 -08:00
Jonathan Gibbons
347e8689f2 8171451: update langtools problem lists for failing tests
Reviewed-by: darcy
2016-12-19 11:07:44 -08:00
Vicente Romero
b29a67ae55 8169005: tools/javac/T8132562/ClassPathWithDoubleQuotesTest.java fails after fix to JDK-8132562
Reviewed-by: jjg
2016-12-17 16:57:14 -05:00
David Dehaven
2bff185d11 Merge 2016-12-16 11:58:18 -08:00
Bhavesh Patel
4a4e893915 8160196: Module summary page should display information based on "api" or "detail" mode
Reviewed-by: jjg, ksrini
2016-12-16 09:07:57 -08:00
Andrey Nazarov
8c5b717ec4 Merge 2016-12-16 18:54:09 +03:00
Andrey Nazarov
bf8e595590 8170549: Improve testing of annotations on modules
Reviewed-by: jjg, jlahoda
2016-12-16 18:40:23 +03:00
Maurizio Cimadamore
ef78f339fd 8171371: Remove redundant type-arguments from generic method calls
Reviewed-by: jjg, rfield, mchung
2016-12-16 15:27:47 +00:00
Maurizio Cimadamore
c4e8276376 8181370: Convert anonymous inner classes into lambdas/method references
Reviewed-by: jjg, rfield, mchung
2016-12-16 15:27:34 +00:00
Jan Lahoda
5a0691c4e4 8171355: Implement Elements.getOrigin
Adding implementation for javax.lang.model.util.Elements.getOrigin

Reviewed-by: darcy, jjg
2016-12-16 12:08:46 +01:00
Joe Darcy
11ce270bfc 8163315: Implement an API to identify an implicitly declared annotation (or declaration)
Adding javax.lang.model.util.Elements.getOrigin

Reviewed-by: jjg
2016-12-16 12:04:32 +01:00
Jan Lahoda
e62a384eb3 8133896: Update javax.lang.model APIs
Reviewed-by: darcy, jjg
2016-12-16 12:02:30 +01:00
Alan Bateman
574ac0add6 Merge 2016-12-16 08:17:55 +00:00
Alan Bateman
2381943e61 8170987: Module system implementation refresh (12/2016)
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mcimadamore
2016-12-16 05:47:58 +00:00
Jonathan Gibbons
fbd2e66afb 8170553: javac info options should match launcher options
Reviewed-by: jlahoda
2016-12-15 11:47:25 -08:00
Jonathan Gibbons
e4748a6d4c 8170708: javap -m <module> cannot read a module-info.class
Reviewed-by: jlahoda
2016-12-14 18:30:56 -08:00
Dan Smith
3999672b7a 8075793: Source incompatibility for inference using -source 7
In pre-8 sources, avoid capture variables as inference bounds, consistent with old javac behavior

Reviewed-by: vromero, mcimadamore
2016-12-14 17:56:11 -07:00
Lana Steuck
93f097a106 Merge 2016-12-14 20:34:19 +00:00
Lana Steuck
353a59448d Added tag jdk-9+149 for changeset d10c31f6b857 2016-12-14 20:23:26 +00:00
Mandy Chung
54e787fbd4 8171201: Drop java.compact$N aggregator modules
8171202: Rename jdk.crypto.pkcs11 and jdk.pack200 to end with Java letters

Reviewed-by: alanb, erikj
2016-12-14 10:51:21 -08:00
Erik Joelsson
053cdb4fa5 8170741: Enable uploading of built artifacts through Jib
Reviewed-by: ihse
2016-12-14 16:32:07 +01:00
Bhavesh Patel
88d8618e30 8162674: change javadoc output text and style emitted by for-removal deprecations
Reviewed-by: jjg
2016-12-13 12:25:58 -08:00
Jan Lahoda
d3892cc3b4 8072988: Update javax.annotation.processing for modules
Support for generating files in multi-module mode.

Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: darcy, jjg
2016-12-13 10:49:28 +01:00
Jan Lahoda
5f63bc3ff0 8171005: Fix JavaFileManager.getLocationForModule(Location location, JavaFileObject fo, String pkgName) to work with location == CLASS_OUTPUT
JavaFileManager operations that allow module-oriented locations should also allow output locations.

Reviewed-by: jjg
2016-12-13 10:48:18 +01:00
David Dehaven
44265a8aaa Merge 2016-12-12 20:54:41 -08:00
Mandy Chung
59e977e56b 8169925: Organize licenses by module in source, JMOD file, and run-time image
Co-authored-by: Jeannette Hung <jeannette.hung@oracle.com>
Reviewed-by: alanb, erikj, ihse, naoto, prr
2016-12-12 18:56:45 -08:00
Jan Lahoda
b0e53fc8de 8153229: JavacFiler.checkFileReopening drowns in exceptions after Modular Runtime Images change
Using Path.equals instead of Files.isSameFile to speed up Filer checks

Reviewed-by: jjg
2016-12-12 17:00:30 +01:00
Bernard Blaser
bc1ae385d3 8147527: Wrong code generated for postfix unary operators
Avoiding use of duplicated tree nodes when these may be changed in place.

Reviewed-by: mcimadamore, jlahoda
2016-12-12 13:27:39 +01:00
Jonathan Gibbons
e9ddc68f70 8170251: Add javax.tools.Tool.name()
Reviewed-by: darcy, mchung
2016-12-09 16:24:50 -08:00
Liam Miller-Cushon
7aff5df624 8170667: ClassReader assigns method parameters from MethodParameters incorrectly when long/double parameters are present
MethodParameters attribute does not skip a slot for long/double.

Reviewed-by: vromero, jlahoda
2016-12-09 18:06:48 +01:00
Jonathan Gibbons
7987d2876a 8170953: CheckResourceKeys tests should declare the resource package to be open
Reviewed-by: mchung
2016-12-08 16:52:38 -08:00
Lana Steuck
4d2bb23e1c Merge 2016-12-08 21:21:48 +00:00
Bhavesh Patel
b5d8b0b991 8168688: javadoc top left frame should display all modules while in module mode
Reviewed-by: jjg
2016-12-08 12:46:59 -08:00
Lana Steuck
07e2360af7 Added tag jdk-9+148 for changeset 8e1573096052 2016-12-08 18:03:37 +00:00
Li Jiang
34c791a6a4 8169618: JDK9 message drop interim resource updates - OpenJDK
Reviewed-by: rfield, peytoia, joehw, weijun
2016-12-07 05:58:43 -08:00
Bhavesh Patel
5ef4598ec8 8139101: javadoc emits "specified by" clause when class has a method that matches a static interface method
Reviewed-by: jjg, ksrini
2016-12-05 15:08:24 -08:00
Maurizio Cimadamore
04f289629a 8170410: inference: javac doesn't implement 18.2.5 correctly
Javac does not generate constraints of the kind 'throws alpha' as described in the spec

Reviewed-by: vromero, dlsmith
2016-12-05 19:00:56 +00:00
Jan Lahoda
ae8ace7912 8165564: langtools\test\jdk\jshell\CommandCompletionTest.java fails on some windows
Ignoring non-existent default FileSystem roots.

Reviewed-by: rfield
2016-12-05 19:42:42 +01:00
David Dehaven
f4f6ea13ba Merge 2016-12-05 08:36:16 -08:00
Jonathan Gibbons
ffcb66f113 8162712: StandardJavaFileManager.getModuleLocation() can't find a module
Reviewed-by: jlahoda
2016-12-02 14:15:43 -08:00
Robert Field
7b53262baf 8167185: JShell API: Exported elements referring to inaccessible types in jdk.jshell
Reviewed-by: jlahoda
2016-12-02 10:48:37 -08:00
Robert Field
411ce3da8c 8169828: jdk/jshell/ExternalEditorTest.java testStatementMush() fails frequently on all platform
8170015: jshell tool: /help output looks terrible on a 100 column wide terminal
8170368: jshell tool: post setting not properly applied, line-ends not prefixed correctly

Reviewed-by: jlahoda
2016-12-02 10:17:03 -08:00
Jan Lahoda
88a7279627 8166628: Compiling with annotation processing, access error in specific situation
Ensure member classes inside anonymous classes have a correct owner.

Reviewed-by: mcimadamore
2016-12-02 14:39:00 +01:00
Lana Steuck
a3f4470dee Merge 2016-12-01 21:40:58 +00:00
Lana Steuck
3602bc5233 Added tag jdk-9+147 for changeset 2668b0bc7ad7 2016-12-01 21:01:54 +00:00
Phil Race
83c9077f13 Merge 2016-12-01 10:34:29 -08:00
Erik Joelsson
128369a6fe 8168607: langtools/test/Makefile should set -retain:fail,error by default
Reviewed-by: tbell, ihse
2016-12-01 15:10:32 +01:00
Alan Bateman
01a366e6dd Merge 2016-12-01 11:16:45 +00:00
Alan Bateman
22e233b2e9 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Bhavesh Patel <bhavesh.x.patel@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Reviewed-by: mcimadamore, jjg, mchung, anazarov
2016-12-01 09:02:42 +00:00
Mandy Chung
1a34c7a1ae 8170428: Move src.zip to JDK/lib/src.zip
Reviewed-by: jjg
2016-11-29 15:15:20 -08:00
Erik Joelsson
40f3d9e0f7 8166737: default langtools make test settings result in no ouput
Reviewed-by: tbell
2016-11-29 11:51:01 +01:00
Mandy Chung
d67262a13f 8170424: back out src.zip change from JDK-8170424
Reviewed-by: prr
2016-11-28 18:05:09 -08:00
Mandy Chung
9a86634434 8169816: Move src.zip and jrt-fs.jar under the lib directory
Reviewed-by: alanb, erikj, jjg
2016-11-28 11:36:43 -08:00
Magnus Ihse Bursie
f9f47ab866 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Kumar Srinivasan
f4c9d73b3e 8164316: Refine the Doclet APIs
Reviewed-by: jjg
2016-11-24 20:48:52 -08:00
Erik Joelsson
54244b5e6d 8170279: Langtools test/Makefile ignores failed tests
Reviewed-by: alanb, tbell, mchung
2016-11-24 11:44:37 +01:00
Jonathan Gibbons
b1a1a5ab71 8170301: remove debug print statement
Reviewed-by: ksrini
2016-11-23 19:31:41 -08:00
Lana Steuck
4e0763e316 Merge 2016-11-23 19:15:26 +00:00
Lana Steuck
51f50b64e5 Added tag jdk-9+146 for changeset 6003e36b56df 2016-11-23 16:16:36 +00:00
Felix Yang
c5cbc99fd1 8170249: Problem list 2 jdk/jshell tests
Reviewed-by: darcy
2016-11-22 20:27:42 -08:00
Robert Field
85eded3562 8169519: JShell: Handle start-up failures and hangs gracefully
8166581: JShell: locks forever if -R options is wrong
8169234: JShell: hangs on startup on some computers caused by hostname

Reviewed-by: jlahoda
2016-11-22 19:24:02 -08:00
Jonathan Gibbons
f39acf60a5 Merge 2016-11-22 16:31:03 -08:00
Jonathan Gibbons
2d7092c7ac 8155765: javax.tools.ToolProvider::getSystemToolClassLoader returns app class loader even if no tool is available
Reviewed-by: mchung
2016-11-22 16:29:24 -08:00
Jonathan Gibbons
6e31f6440f 8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
Reviewed-by: mchung
2016-11-22 15:57:32 -08:00
Frank Yuan
fe1b93aeab 8170170: Problem list ExternalEditorTest.java on all platforms
Reviewed-by: darcy
2016-11-22 07:04:43 -08:00
Robert Field
dda0e054d5 8114842: JShell: SourceCodeAnalysis splits code with array initialiazer incorrectly
Reviewed-by: jlahoda
2016-11-21 12:28:56 -08:00
Joe Darcy
8e8834a9e9 8170110: Problem list ExternalEditorTest.java
Reviewed-by: ksrini
2016-11-21 07:13:21 -08:00
Robert Field
f9eb02a066 8153402: jshell tool: completion provider for /help
8169818: jshell tool: completion provider for /vars /methods /types gives -history

Reviewed-by: jlahoda
2016-11-18 09:41:51 -08:00
Lana Steuck
e3e5264612 Merge 2016-11-17 22:18:50 +00:00
Lana Steuck
3c2c13f0f9 Added tag jdk-9+145 for changeset 8b7412f7eecd 2016-11-17 17:50:09 +00:00
Bhavesh Patel
e80463356c 8147890: Javadoc search does not work with Enums
Reviewed-by: jjg, ksrini
2016-11-16 17:22:08 -08:00
Patrick Reinhart
145fd62de7 8169659: (jdeps) missing messages for localization
Reviewed-by: mchung
2016-11-16 13:47:25 -08:00
Jonathan Gibbons
c7374cd58f 8163190: Clarify JavaFileManager use of \"module location\"
Reviewed-by: jlahoda
2016-11-16 12:12:02 -08:00
Jonathan Gibbons
f742ef0ed0 8169676: boolean result of Option.process is often ignored
Reviewed-by: ksrini, jlahoda
2016-11-16 11:53:24 -08:00
Robert Field
f3e88eb313 8143006: jshell tool: /edit doesn't process each line as same as inputs for jshell
8163816: JShell tests: jdk/jshell/ExternalEditorTest.java -- unexpected results EditorTestBase.testEditClass1() and .testEditMethod1()

Reviewed-by: jlahoda
2016-11-16 10:45:23 -08:00
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
Srikanth Adayapalam
95d99302d8 8168312: javac throws NPE if annotation processor is specified and module is declared in a file named arbitrarily
Reviewed-by: jlahoda
2016-11-14 19:45:41 +05:30
Mandy Chung
4e5211401e 8169606: jdeps --list-reduced-deps should not show java.base as all modules require it
Reviewed-by: dfuchs
2016-11-12 09:26:08 -08:00
Mandy Chung
40e24f2e56 8168386: Fix jdeps verbose options
Reviewed-by: dfuchs, lancea
2016-11-11 17:32:21 -08:00
Robert Field
8899d19210 8166333: jshell tool: shortcut var does not import its type
Reviewed-by: jlahoda
2016-11-11 11:50:11 -08:00
Jan Lahoda
4ca0a287fe 8169599: Several JShell tests are failing on Solaris after JDK-8145838
Partially reverting e43f670394ca

Reviewed-by: rfield
2016-11-11 17:45:29 +01:00
Jan Lahoda
d969a1a3fa 8145838: JShell: restrict RemoteAgent connection socket to localhost
Also reviewed by Chris Ries

Reviewed-by: rfield
2016-11-11 12:54:47 +01:00
Lana Steuck
5f24c132d9 Merge 2016-11-11 05:56:09 +00:00
Lana Steuck
26da3a9538 Added tag jdk-9+144 for changeset a4ee110842fb 2016-11-11 05:11:55 +00:00
Jonathan Gibbons
a1f6786ab9 8169447: javac should detect/reject repeated use of --patch-module on command line
Reviewed-by: jlahoda
2016-11-10 13:29:34 -08:00
Jan Lahoda
b40c63e9fb 8166700: NPE during invoking getEnclosedElements() on javax.lang.model.element.Element instance representing a package
Should not strip first parameter of a local class constructor for local classes in initializers.

Reviewed-by: jjg
2016-11-10 17:27:01 +01:00
Kumar Srinivasan
acae42fd30 8166379: IAE while invoking javadoc with --patch-module
Reviewed-by: jjg
2016-11-08 12:56:17 -08:00
Maurizio Cimadamore
57bee7c4b9 8169093: Generics, javac not matching actual and formal arguments
Make diagnostic for type-args arity mismatch consistent with the class case

Reviewed-by: vromero
2016-11-07 16:08:18 +00:00
Maurizio Cimadamore
9b0354380e 8168854: javac erroneously reject a a service interface inner class in a provides clause
Java SE 9 proposed spec changes do not explicitly forbid a service interface to be an inner class - javac should follow

Reviewed-by: jjg
2016-11-07 11:16:23 +00: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
Lana Steuck
b8b68bbc2b Merge 2016-11-04 17:52:11 +00:00
Lana Steuck
5b07b27591 Added tag jdk-9+143 for changeset 3ef02797070d 2016-11-04 17:24:26 +00:00
Jonathan Gibbons
e781b9f262 8167975: align javac --add-* modules options with launcher
Reviewed-by: jlahoda
2016-11-03 13:59:15 -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
Kumar Srinivasan
3d46ad34e0 8166857: langtools build.xml broken on windows
Reviewed-by: jjg, jlahoda, mcimadamore
2016-11-02 15:42:20 -07:00
Jan Lahoda
0c7e5fac7e 8166635: getEnclosedElements() on package causes BadClassFile error
Properly reading typevars from enclosing scopes for local classes.

Reviewed-by: mcimadamore
2016-11-03 11:46:20 +01: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
Stuart Marks
5ff1a63a1c 8169078: add bug IDs to jdeprscan tests
Reviewed-by: jjg
2016-11-02 14:22:27 -07:00
Jan Lahoda
7cffceb22f 8169074: Build is failing after JDK-8166538
Reverting d7c9720c4223

Reviewed-by: darcy
2016-11-02 20:21:45 +01:00
Jan Lahoda
5daafbe43b 8166538: Improve error reporting for compiling against unexported package
When a type cannot be found, look into other modules, search for possible viable types, and report them conveniently to the user.

Reviewed-by: mcimadamore, jjg
2016-11-02 16:48:57 +01: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
Joe Darcy
293d086bd9 8169025: Problem list ClassPathWithDoubleQuotesTest.java until JDK-8169005 is fixed
Reviewed-by: ksrini
2016-11-01 14:47:07 -07:00
Stuart Marks
2380985895 8165646: (jdeprscan) adjust tool output to improve clarity
Reviewed-by: jjg, psandoz
2016-11-01 11:28:16 -07:00
Vicente Romero
d23149e827 8167431: javac takes too long time to resolve interface dependency
Reviewed-by: mcimadamore
2016-11-01 10:51:53 -04:00
Vicente Romero
32ca4bf4c7 8132562: javac fails with CLASSPATH with double-quotes as an environment variable
Reviewed-by: jjg
2016-11-01 10:14:42 -04:00
Mandy Chung
97cee45deb 8167057: jdeps option to list modules and internal APIs for @modules for test dev
Reviewed-by: dfuchs
2016-10-31 18:06:03 -07:00
Alan Bateman
4f435e9295 8168789: ModuleReader.list and ModuleFinder.of update
Reviewed-by: mchung
2016-10-28 10:17:56 +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
Lana Steuck
9d6f124910 Merge 2016-10-27 21:22:12 +00:00
Lana Steuck
688dca7835 Added tag jdk-9+142 for changeset a628785b9dd9 2016-10-27 16:29:02 +00:00
Maurizio Cimadamore
12e8fccd6c 8168774: Polymorhic signature method check crashes javac
Check for polysig method assumes arity is greater than zero

Reviewed-by: vromero
2016-10-26 15:41:25 +01:00
Maurizio Cimadamore
47f7c2e668 8168134: Inference: javac incorrectly propagating inner constraint with primitive target
Check for propagation doesn't take into account primitive type constraints

Reviewed-by: vromero
2016-10-26 12:27:51 +01:00
Srikanth Adayapalam
5bc203a934 8166367: Missing ExceptionTable attribute in anonymous class constructors
Reviewed-by: vromero
2016-10-26 11:22:50 +05:30
Tim Bell
3368f5a621 8168369: fix for langtools intermittent failures needs to check PRODUCT_HOME
Reviewed-by: erikj
2016-10-25 08:39:12 -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
Maurizio Cimadamore
d072e7faa4 8168480: Speculative attribution of lambda causes NPE in Flow
Flow attempts to analyze too much of a lambda body during attribution

Reviewed-by: vromero
2016-10-24 14:47:48 +01:00
Joe Darcy
5078ccdb18 8168499: Workaround intermittent failures of IntersectionTargetTypeTest.java
Reviewed-by: rfield, amlu, mcimadamore
2016-10-22 12:27:52 -07:00
Jonathan Gibbons
734e231c93 8168343: 3 javac tests fail when run on an exploded image
Reviewed-by: darcy
2016-10-20 16:31:42 -07:00
Jonathan Gibbons
a60ef42892 8145471: javac changes for enhanced deprecation
Reviewed-by: smarks, tbell, mcimadamore, jlahoda
2016-10-20 13:44:51 -07:00
Lana Steuck
2b068e0158 Merge 2016-10-20 20:01:40 +00:00
Robert Field
f601bcb76e 8163840: jshell tool: provide way to display configuration settings
Reviewed-by: jlahoda
2016-10-20 12:53:11 -07:00
Lana Steuck
9946129768 Added tag jdk-9+141 for changeset e8f487b79e24 2016-10-20 18:38:11 +00: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
Tim Bell
ce5af5d4e8 8167600: jib make run-test for langtools and intermittent failures on windows-x86
Reviewed-by: ihse
2016-10-19 07:48:49 -07:00
Jan Lahoda
89120bba75 8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
Reset the console when the process is suspended and resumed.

Reviewed-by: rfield
2016-10-19 12:42:37 +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
Maurizio Cimadamore
80ce1c8be2 8167000: Refine handling of multiple maximally specific abstract methods
Bring the compiler in sync with spec changes in JDK-7034913

Reviewed-by: vromero, dlsmith
2016-10-17 15:02:46 +01:00
Stuart Marks
1f91f70a58 8167965: (jdeprscan) using --release option with 8 or earlier throws exception
Reviewed-by: mchung
2016-10-13 17:31:01 -07:00
Lana Steuck
7fa122e6f9 Merge 2016-10-13 23:03:01 +00:00
Lana Steuck
8ab96b2cd5 Added tag jdk-9+140 for changeset 5429549751ad 2016-10-13 21:01:13 +00:00
Bhavesh Patel
1b3ae71f98 8141636: Javadoc search should support camelCase search
Reviewed-by: jjg
2016-10-13 10:48:09 -07:00
Mandy Chung
440c2fb03c 8167630: jdeps --generate-module-info forgets to close the resource after checking any unnamed package
Reviewed-by: lancea, ksrini
2016-10-12 17:27:54 -07:00
Mandy Chung
b79835c56b 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, jjg
2016-10-12 15:37:27 -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
Marcus Larsson
b093764418 8167354: Missing jtreg output when run using langtools makefiles
Reviewed-by: erikj, sla
2016-10-10 12:36:56 +02:00
Jan Lahoda
969c7a933a 8167442: Langtools ant build not working after addition of -Xlint:exports
Disabling the exports lint when compiling the langtools modules until the warnings are resolved.

Reviewed-by: mcimadamore, forax
2016-10-11 13:16:45 +02:00
Jan Lahoda
e6bf5b92f7 8166890: JShell: locks forever when input is piped
StopDetectingInputStream.setState must not override the state if the stream is closed.

Reviewed-by: rfield, shinyafox
2016-10-11 12:29:39 +02:00
Maurizio Cimadamore
f923578969 8167456: Tweak IntelliJ langtools project's jtreg settings
Adjust IntelliJ project template to reflect new serialized format of jtreg plugin settings

Reviewed-by: jlahoda
2016-10-11 10:56:09 +01:00
Jan Lahoda
5794656914 8167320: Trying to document only java.base causes a NPE in javac
Ensure ModuleSymbol.getDirectives completes the Symbol

Reviewed-by: ksrini, jjg
2016-10-11 10:31:10 +02:00
Magnus Ihse Bursie
24a4e49180 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:50:44 +02:00
Robert Field
8b2ace697c 8167128: JShell: /drop of statement gives confusing output
Reviewed-by: jlahoda
2016-10-10 18:41:12 -07:00
Tim Bell
ece1def9ae 8166648: jib make run-test for langtools results in intermittent failures on windows-x86
Reviewed-by: erikj, jjg
2016-10-07 20:48:39 -07:00
Jonathan Gibbons
6fef223c3f 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:39 -07:00
Jonathan Gibbons
4735558138 8072604: Improve handling of direct use of accept with TreePathScanner
Reviewed-by: ksrini
2016-10-07 16:31:21 -07:00
Iris Clark
76e33f6ba8 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:55 -07:00
Lana Steuck
3a194a9a8d Merge 2016-10-06 23:12:58 +00:00
Lana Steuck
1bef086a4b Added tag jdk-9+139 for changeset 72fcbd6294cb 2016-10-06 20:56:13 +00:00
Jan Lahoda
6a0ceb74e8 8153362: Add javac -Xlint warning to list exposed types which are not accessible
Adding implementation to -Xlint:exports, to warn about exposing inaccessible types in API

Reviewed-by: jjg
2016-10-06 14:03:58 +02:00
Mandy Chung
b507e409eb 8167014: jdeps: Missing message: warn.skipped.entry
Reviewed-by: alanb, lancea
2016-10-05 18:42:23 -07:00
Mandy Chung
2db14bace5 8166846: jdeps fails to generate module info if there is any class in unnamed package
Reviewed-by: lancea
2016-10-05 18:41:43 -07:00
Maurizio Cimadamore
1d29982cfc 8167070: Performance regression in compound scopes
Extra call to inner scope's hasNext() causes performance regression

Reviewed-by: jlahoda
2016-10-05 13:06:21 +01:00
Mandy Chung
a3f3f797b5 8166860: Add magic number to jmod file
Reviewed-by: alanb, jjg
2016-10-04 18:56:03 -07:00
Stuart Marks
512c42b9ac 8161338: (jdeprscan) remove JEP 293 non-conforming -cp option
8165927: (jdeprscan) com.sun.tools.jdeprscan.Main.instance should be package protected

Reviewed-by: jjg
2016-10-04 18:43:36 -07:00
Jonathan Gibbons
5bce3820cc 8166472: javac/javadoc expands @files incorrectly
Reviewed-by: henryjen, ksrini
2016-10-04 16:47:09 -07:00
Jan Lahoda
279b6faa56 8073844: fatal annotation processing errors do not stop compilation
JavacProcessingEnvironment lets the should-stop policy decide when the compilation should stop.

Reviewed-by: jjg
2016-10-04 17:40:29 +02:00
Jan Lahoda
c58a8aae3e 8152911: javac assertion error when compiling overlay sources
Avoid creating ModuleSymbols with unspecified name, to avoid conflicts with predefined ModuleSymbol for the java.base module.

Reviewed-by: jjg
2016-10-04 16:25:19 +02:00
Erik Joelsson
16bf17a9a7 8166965: Some small java build tools are still running with big JVM configuration
Reviewed-by: ihse
2016-10-04 13:41:52 +02: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
Mandy Chung
33b751c3d4 8166238: Update jdeps for GNU-style long form options
Reviewed-by: alanb
2016-09-29 21:31:09 -07:00
Lana Steuck
f2eb960882 Merge 2016-09-29 17:24:10 +00:00
Lana Steuck
08c0fa1dbf Added tag jdk-9+138 for changeset 4b05dadfb69d 2016-09-29 16:45:12 +00: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
Srikanth Adayapalam
517cfed246 8166363: Method with reordered type parameter bounds compiles with @Override annotation but does not actually override superclass method
Reviewed-by: vromero
2016-09-28 09:05:20 +05:30
Srikanth Adayapalam
e179ac0384 8164519: Rendering of supertype_target for annotated extends clause
Eliminate inconsistencies in handling annotated super class.

Reviewed-by: jlahoda
2016-09-27 04:34:09 +05:30
Steve Drach
18b1c7cd8b 8153654: Update jdeps to be multi-release jar aware
Reviewed-by: mchung
2016-09-26 13:39:50 -07:00
Robert Field
87803ca0e8 8166655: JShell: Process running JShell should not be blocked from exit by non-daemon data-transfer threads
Reviewed-by: jlahoda
2016-09-26 13:18:11 -07:00
Robert Field
4ca1072d25 8166589: jshell tool: typo: remove out of place text in /help /set truncation
Reviewed-by: jlahoda
2016-09-23 14:37:03 -07: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
Jan Lahoda
35439dec91 8047347: com.sun.source.util.Trees breaks the compiler
Clearing synthetic constructors and super constructor calls between annotation processing rounds.

Reviewed-by: jjg
2016-09-23 15:35:32 +02:00
Lana Steuck
2a0f1aed8f Merge 2016-09-22 18:31:35 +00:00
Lana Steuck
08cbec9e53 Added tag jdk-9+137 for changeset 49af2ecba616 2016-09-22 16:41:15 +00: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
Srikanth Adayapalam
7ddb0f7c17 8163027: AssertionError while compiling a program that uses try with resources
Reviewed-by: vromero
2016-09-21 05:26:26 +05:30
Srikanth Adayapalam
ed537dc705 8156568: Update javac to support compiling against a modular JAR that is a multi-release JAR
Reviewed-by: jjg
2016-09-20 12:12:18 +05:30
Srikanth Adayapalam
4688e355c5 8166108: VerifyError passing anonymous inner class to supertype constructor
Anonymous classes instantitated in explicit constructor calls cannot have enclosing instance

Reviewed-by: vromero
2016-09-20 05:28:54 +05:30
Srikanth Adayapalam
ac462ed848 8164742: ServiceConfigurationError on invoke of getServiceLoader method of StandardJavaFileManager
Reviewed-by: jlahoda
2016-09-19 05:31:53 +05:30
Bhavesh Patel
f4abd474cc 8166176: module search generates URLs with extra '/'
Reviewed-by: jjg
2016-09-16 12:17:44 -07:00
Dan Smith
eb56700eba 8138822: Source version error missing version number
Reviewed-by: jjg
2016-09-16 11:58:23 -06:00
Lana Steuck
5961266aa9 Merge 2016-09-15 21:08:49 +00:00
Lana Steuck
db89d07f38 Added tag jdk-9+136 for changeset 1cba2e436777 2016-09-15 17:15:55 +00:00
Srikanth Adayapalam
83dbcb5c1b 8160699: java.lang.VerifyError: Inconsistent stackmap frames at branch target
Ensure out of scope locals are not treated as being alive

Reviewed-by: mcimadamore
2016-09-14 20:00:20 +05:30
Srikanth Adayapalam
e4870c84e3 8138667: java.lang.IllegalAccessError: tried to access method (for a protected method)
Reviewed-by: mcimadamore
2016-09-13 19:32:03 +05:30
Lana Steuck
d70c8d3917 Merge 2016-09-08 22:13:38 +00:00
Lana Steuck
4f6a0382a6 Added tag jdk-9+135 for changeset 39dd3d3d369e 2016-09-08 21:11:55 +00: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
Vicente Romero
29aa24a3c1 8162546: change hidden options -Xdebug to --debug, -XshouldStop to --should-stop, and -diags to --diags
Reviewed-by: mcimadamore
2016-09-06 17:04:43 -07:00
Jan Lahoda
4814f397b2 8161376: Introduce -Xlint:exports
Adding -Xlint:exports, currently not doing anything. Functionality will be added separatelly under JDK-8153362.

Reviewed-by: jjg
2016-09-06 12:51:40 +02:00
Vicente Romero
7e27dd569e 8160454: JSR269 jigsaw update: javax.lang.model.element.ModuleElement.getDirectives() causes NPE on unnamed modules
Reviewed-by: jjg
2016-09-02 05:43:54 -07:00
Lana Steuck
0a327e7dac Merge 2016-09-02 02:42:03 +00:00
Srikanth Adayapalam
876bb73271 8164073: Javac should unconditionally warn if deprecated javadoc tag is used without @Deprecated annotation
Reviewed-by: mcimadamore
2016-09-02 07:49:15 +05:30
Lana Steuck
5823fdef29 Added tag jdk-9+134 for changeset eb2c81860c86 2016-09-01 23:20:13 +00: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
dc0db76409 8164836: TEST_BUG: adjust scope of the DefinedByAnalyzer in tools/all/RunCodingRules.java
Only enabling the DefinedByAnalyzer on java.compiler and jdk.compiler; removing the @DefinedBy annotations from other modules

Reviewed-by: jjg, ksrini
2016-08-29 20:55:24 +02:00
Kumar Srinivasan
2df08320de 8157349: Missing doc-files in javadoc documentation
Reviewed-by: jjg
2016-08-29 07:46:37 -07:00
Jan Lahoda
bbf85261aa 8164951: Build broken after JDK-8164745
Reverting the fix for JDK-8164745 to investigate a build failure.

Reviewed-by: jjg
2016-08-29 18:14:26 +02:00
Robert Field
fc65d375a3 8158507: JShell: new jdk.jshell.MemoryFileManager(StandardJavaFileManager, JShell) creates a jdk.jshell.MemoryFileManager$REPLClassLoader classloader, which should be performed within a doPrivileged block
Remove the ClassLoader and other unused code in support of in-process execution.  This is now supported through the SPI.

Reviewed-by: jlahoda
2016-08-29 08:17:14 -07:00
Jan Lahoda
161e3c650a 8165008: javac -Xmodule compiles the module in a way that reads the unnamed module
Ensuring proper separation between named modules and the unnamed module when using -Xmodule

Reviewed-by: jjg
2016-08-29 15:53:03 +02: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
Amy Lu
9f1556675e 8165193: Workaround intermittent failures of JavacTreeScannerTest and SourceTreeScannerTest due to C2 memory usage
Reviewed-by: darcy
2016-09-01 13:18:42 +08: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
Mandy Chung
8120ff3110 8160851: Remove old launcher module-related options
Reviewed-by: jjg, alanb
2016-08-30 17:47:46 -07:00
Stuart Marks
6bcba7521c 8164837: fix jdeprscan TestLoad and TestScan failures on Windows
Reviewed-by: darcy
2016-08-29 13:44:43 -07:00
Jan Lahoda
4404741f80 8164745: javac -Xmodule compiles the module in a way that reads the unnamed module
Ensuring proper separation between named modules the unnamed module when using -Xmodule

Reviewed-by: jjg
2016-08-29 15:53:03 +02: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