Commit Graph

3619 Commits

Author SHA1 Message Date
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
Steve Drach
e6f3a52942 8143366: Control characters in constant pool strings are not escaped properly
Reviewed-by: jjg
2016-07-29 12:27:08 -07:00
Li Jiang
e26e03868c 8161544: JDK9 message drop 20 resource updates - OpenJDK
JDK9 message drop 20 resource updates - openjdk

Reviewed-by: rfield, peytoia
2016-07-29 09:35:31 -07:00
Kumar Srinivasan
281438728d 8154705: invalid use of ALL-MODULE-PATH causes crash
Introducing Modules.initModules as a clear point where the module graphs is initialized in javac

Reviewed-by: jjg, ksrini
2016-07-20 12:49:32 -07:00
Alejandro Murillo
fca2c3ce3f Merge 2016-07-28 16:44:39 +00:00
Alejandro Murillo
e9213ab790 Added tag jdk-9+129 for changeset 6272642715a1 2016-07-28 16:08:17 +00:00
Srikanth Adayapalam
90a4b8ab1a 8158224: NullPointerException in com.sun.tools.javac.comp.Modules.checkCyclicDependencies when module missing
Reviewed-by: jlahoda
2016-07-28 10:13:34 +05:30
Vicente Romero
00275bd95e 8161277: javax.lang.model.util.Types.isSameType(...) returns true on wildcards
Reviewed-by: mcimadamore
2016-07-27 07:07:10 -07:00
Vicente Romero
8480651475 8161019: javac, fold formatter options
Reviewed-by: mcimadamore, jjg
2016-07-26 07:45:29 -07:00
Jan Lahoda
ecbab04648 8162255: 'Alt-Enter v'/'Alt-Enter i' not working on some terminals
Registering an additional code sequence for Alt-Enter

Reviewed-by: rfield
2016-07-26 15:52:51 +02:00
Maurizio Cimadamore
f89b798523 8161985: Spurious override of Object.getClass leads to NPE
Attr.adjustMethodReturnType() tweaks return types w/o checking what method is being patched

Reviewed-by: vromero
2016-07-22 12:38:06 +01:00
Iris Clark
fa9af401fe 8161236: Runtime.Version.{compareTo, equals}IgnoreOpt should be renamed
Reviewed-by: alanb, rfield, ksrini
2016-07-21 07:43:17 -07:00
Alejandro Murillo
99b03a1878 Merge 2016-07-21 17:14:23 +00:00
Alejandro Murillo
7befc4b2c5 Added tag jdk-9+128 for changeset 45b094192c2c 2016-07-21 16:43:00 +00:00
Robert Field
918c010822 8160127: JShell API: extract abstract JDI and abstract streaming implementations of ExecutionControl
8159935: JShell API: Reorganize execution support code into jdk.jshell.execution (previously sent for review, and combined here)
8160128: JShell API: extract abstract streaming remote agent
8159122: JShell API: Configurable invocation mechanism

ExecutionControl implementation support with simplified ExecutionControl interface

Reviewed-by: jlahoda
2016-07-20 23:19:09 -07:00
Vicente Romero
0bba28db43 8161383: javac is looking for operator symbols at the wrong place
Reviewed-by: mcimadamore
2016-07-19 11:27:56 -07:00
Jonathan Gibbons
517db2dadc 8071484: fix comment in DCReference
Reviewed-by: darcy
2016-07-14 13:30:56 -07:00
Andrey Nazarov
1a9a1d8961 8161132: JShell tests: jdk/jshell/KullaCompletenessStressTest.java should pass if jdk.shell sources are not provided
Reviewed-by: rfield
2016-07-14 11:14:22 -07:00
Dan Smith
a78d1e0b44 8161013: Never treat anonymous classes as 'final'
Reviewed-by: vromero
2016-07-14 11:57:15 -06:00
Alejandro Murillo
3cc8c36887 Merge 2016-07-14 16:21:39 +00:00
Alejandro Murillo
1aba64dc85 Added tag jdk-9+127 for changeset bf58ed488873 2016-07-14 15:47:47 +00:00
Joe Darcy
dfc1da33a2 8161336: Remove two javadoc tests from the problem list
Reviewed-by: jjg
2016-07-13 17:28:29 -07:00
Mandy Chung
de4f424b8c 8160398: (jdeps) Replace a list of JDK 8 internal API for detecting if it's removed in JDK 9 or later
Reviewed-by: dfuchs
2016-07-13 14:41:27 -07:00
Bhavesh Patel
e08b3b12fb 8154261: Module summary page should display directives for the module
Reviewed-by: jjg, ksrini
2016-07-12 12:55:18 -07:00
Vicente Romero
a7cc024b53 8161020: javac, fold stop compilation options
Reviewed-by: mcimadamore
2016-07-11 15:27:52 -07:00
Srikanth Adayapalam
0917774834 8160928: javac incorrectly copies over interior type annotations to bridge method
Reviewed-by: mcimadamore
2016-07-11 18:13:42 +05:30
Vicente Romero
bec16625dc 8153407: javac, fold debug options
Reviewed-by: mcimadamore, jjg
2016-07-08 16:47:13 -07:00
Phil Race
003244f622 Merge 2016-07-08 09:28:52 -07:00
Kumar Srinivasan
a89ed8318b 8160998: GPL header contains "(config)" in first line - not swapped in licensee bundles
Reviewed-by: vromero
2016-07-07 14:51:08 -07:00
Alejandro Murillo
c4d48f3ee3 Merge 2016-07-07 18:35:22 +00:00
Alejandro Murillo
3fff40c074 Added tag jdk-9+126 for changeset a42db8c180c3 2016-07-07 18:21:25 +00:00
Robert Field
7aca6deaf8 8160935: JShell: Without at least one source file 8160035 breaks build
Reviewed-by: jlahoda
2016-07-07 00:10:24 -07:00
Robert Field
e4f12b7b1e 8160035: JShell API: Add javadoc overview and package files
Reviewed-by: jlahoda
2016-07-06 20:53:55 -07:00
Vicente Romero
57474ae8fb 8048543: JLS8 18.5.3: inference variable seems to be instantiated unexpectedly
Reviewed-by: mcimadamore
2016-07-06 15:27:36 -07:00
Vicente Romero
249f04613a 8160915: javac, option forceSerializable should be restored
Reviewed-by: jjg
2016-07-06 12:46:37 -07:00
Vicente Romero
3360117337 8160891: javac, remove unused options, step 3
Reviewed-by: mcimadamore
2016-07-06 09:42:27 -07:00
Bhavesh Patel
def98f36d4 8157987: overview-summary.html generated by javadoc should include module information
Reviewed-by: jjg, ksrini
2016-07-05 13:30:40 -07:00
Srikanth Adayapalam
928c417cd8 8132446: AsssertionError in ClassSymbol.setAnnotationType
Reviewed-by: jlahoda, darcy
2016-07-04 14:57:33 +05:30
Jan Lahoda
d3eaa80bdd 8148131: compilation result depends on order of sources
Complete during imports phase should not trigger the hierarchy phase

Reviewed-by: mcimadamore
2016-07-04 08:52:45 +02:00
Robert Field
850b281ff0 8159111: JShell API: Add access to wrappers and dependencies
Reviewed-by: jlahoda
2016-07-01 14:41:07 -07:00
Robert Field
c8f9b12b5c 8159635: JShell API: Add compiler options
Reviewed-by: jlahoda
2016-07-01 14:16:28 -07:00
Phil Race
138ec7123c Merge 2016-07-01 13:01:04 -07:00
Alejandro Murillo
a7d45966a9 Merge 2016-06-30 22:39:09 +00:00
Alejandro Murillo
6108b37cb7 Added tag jdk-9+125 for changeset d4487b864f64 2016-06-30 22:10:11 +00:00
Joe Darcy
568bc5dbee 8160506: Use @implSpec tags in javax.lang.model.util
Reviewed-by: jjg
2016-06-29 19:24:40 -07:00
Jan Lahoda
0cc565280e 8155026: javac grants implied readability to explicit modules
Automatic modules should not 'requires public' ordinary named modules

Reviewed-by: jjg
2016-06-28 13:33:04 +02:00
Joe Darcy
d989ecb07a 8160504: Fix typo in JavacProcessingEnvironment.importStringToPattern
Reviewed-by: jjg
2016-06-28 17:39:44 -07:00
Kumar Srinivasan
b7e5b3ec1a 8160301: javadoc RootDoclmpl and DocEnv needs to be renamed
Reviewed-by: bpatel, jjg
2016-06-28 16:43:41 -07:00
Vicente Romero
0df5aa8678 8159970: javac, JLS8 18.2.4 is not completely implemented by the compiler
Reviewed-by: mcimadamore
2016-06-28 15:29:20 -07:00
Jan Lahoda
11272cf548 8132857: Historical name of default encoding shown on encoding mismatch
Using Charset.defaultCharset().name() to get the proper name of the default Charset.

Reviewed-by: jjg
2016-06-28 15:46:52 +02:00
Vicente Romero
b69fa0a44d 8159439: javac throws NPE with Module attribute and super_class != 0
Reviewed-by: jjg
2016-06-27 12:29:41 -07:00
Phil Race
bebab29638 Merge 2016-06-27 10:00:29 -07:00
Jan Lahoda
3d43452d94 8150860: Mach 5 tier1 test started failing - jdk/jshell/ComputeFQNsTest.java (after 8131027/8150814)
Correctly escaping '\' in paths; rethrowing exceptions from evaluation to improve debuggability of the test

Reviewed-by: jjg
2016-06-27 09:43:12 +02:00
Kumar Srinivasan
52dc860965 8160135: The Html doclet handles options incorrectly
Reviewed-by: jjg
2016-06-24 16:00:43 -07:00
Lana Steuck
98c2ed28f7 Merge 2016-06-23 21:13:09 +00:00
Lana Steuck
5f1652cd4d Added tag jdk-9+124 for changeset 956490b8da9c 2016-06-23 20:35:16 +00:00
Jonathan Gibbons
5791bf6bd6 8154399: Need replacement for jdk.javadoc/com.sun.tools.doclets.standard.Standard
8159096: Expose (new) Standard doclet class

Reviewed-by: alanb, erikj, ksrini
2016-06-22 17:20:53 -07:00
Jan Lahoda
6f94a3f4bf 8136453: Parameter name indices array size not updated correctly
Correctly resizing ClassReader.parameterNameIndices array.

Reviewed-by: mcimadamore
2016-06-21 21:06:54 +02:00
Maurizio Cimadamore
0d9142bf89 8159834: Add some support for jtreg test headers in IntelliJ langtools project
Add live templates to help creation of jtreg tests

Reviewed-by: jlahoda
2016-06-21 15:31:08 +01:00