Commit Graph

3619 Commits

Author SHA1 Message Date
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
Jonathan Gibbons
aba0a631d8 8159537: create build file to generate diags reports for all locales
Reviewed-by: mcimadamore
2016-06-20 13:21:09 -07:00
Kumar Srinivasan
2b450085d5 8159756: javadoc tests needs a tool invoker
Reviewed-by: jjg
2016-06-20 07:02:42 -07:00
Li Jiang
0aeecb0f7d 8159324: JDK9 message drop 10 resource updates
JDK9 message drop resource updates - openjdk

Reviewed-by: rfield, alanb, joehw
2016-06-20 06:13:34 -07:00
Jonathan Gibbons
6f7a85797e 8059631: Use of '#' to represent MethodHandle kind is confusing
Reviewed-by: jrose, mcimadamore
2016-06-17 17:53:00 -07:00
Jonathan Gibbons
6f1a819053 8159749: Update toolbox ModuleBuilder for doc comments
Reviewed-by: ksrini
2016-06-17 17:40:01 -07:00
Dan Smith
35ee3034b6 8158992: langtools/test/Makefile: improve support for control via variables
Reviewed-by: jjg
2016-06-17 17:09:21 -06:00
Mandy Chung
b41054bc29 8159524: jdeps -jdkinternals throws NPE when no replacement is known
Reviewed-by: dfuchs
2016-06-17 14:33:54 -07:00
Maurizio Cimadamore
62648293e7 8159680: Inference failure with unchecked subtyping and arrays
Discrepancy in handling of capture conversion between Types.isSubtype and Types.isSubtypeUnchecked

Reviewed-by: vromero
2016-06-17 18:17:16 +01:00
Lana Steuck
d83724bbfb Merge 2016-06-16 20:57:32 +00:00
Lana Steuck
5ba173dae1 Added tag jdk-9+123 for changeset 88f6e6f58798 2016-06-16 19:07:29 +00:00
David Dehaven
7100d4042c Merge 2016-06-15 12:47:50 -07:00
David Dehaven
4cc25cb407 Merge 2016-06-15 09:24:06 -07:00
Kumar Srinivasan
d3d0beed42 8158836: langtools build.xml needs some adjustments
Reviewed-by: jjg, jlahoda
2016-06-14 15:34:10 -07:00
Vicente Romero
3f3cc40ea1 8058244: missing error in qualified default super call
Reviewed-by: mcimadamore
2016-06-14 12:46:35 -07:00
Vicente Romero
d4a743435b 8068460: Pretty printing for loops
Reviewed-by: jjg
2016-06-14 11:13:14 -07:00
Kumar Srinivasan
4c8fc963f7 8159396: javadoc getSupportedVersion returns 8 instead of 9
Reviewed-by: jjg
2016-06-14 08:18:53 -07:00
Joe Darcy
0b4f69d015 8159378: Correct wording of RoundEnvironment.getElementsAnnotatedWithAny
Reviewed-by: jlahoda, jjg
2016-06-13 09:21:01 -07:00
Joe Darcy
c52bd6ba1d 8155880: Fix langtools usage of the deprecated Class.newInstance method
Reviewed-by: mcimadamore
2016-06-13 09:12:35 -07:00
Maurizio Cimadamore
2c8f465c47 8158630: Langtools Intellij project is missing some source roots
Add source roots for build tools to IntelliJ project

Reviewed-by: alundblad
2016-06-13 12:04:09 +01:00
Shinya Yoshida
e4edbb4617 8158123: NPE when the annotations is used in export-to of module-info
Reviewed-by: mcimadamore
2016-06-11 09:47:59 +09:00
Iris Clark
294b2a0ec9 8158458: Update references from "1.9" to "9"
Reviewed-by: jjg, ksrini
2016-06-10 13:52:03 -07:00
Dan Smith
448079796f 8037804: Implement specified test for related functional interface types
Reviewed-by: vromero
2016-06-10 16:43:38 -06:00
Dan Smith
5cffc0a3ab 8144767: Fix handling of capture variables in most-specific test
Reviewed-by: vromero
2016-06-10 15:08:00 -06:00
Nadeesh TV
b2d09f5c6c 8155581: jshell tool: replace use of Option.get()
Reviewed-by: rfield
2016-06-10 11:11:52 +00:00
Bhavesh Patel
b5cd26324b 8156077: Support javadoc tags in module documentation
Reviewed-by: jjg
2016-06-09 23:24:05 -07:00
Lana Steuck
94654e5108 Merge 2016-06-09 19:06:36 +00:00
Lana Steuck
319bc827fb Added tag jdk-9+122 for changeset 3d6ea76b35d6 2016-06-09 17:28:38 +00:00
Jan Lahoda
ec1f537d10 8158174: jshell tool: leaks threads waiting on StopDetectingInputStream
Shutdown StopDetectingInputStream when closing the ConsoleIOContext.

Reviewed-by: rfield
2016-06-09 14:20:11 +02:00
Robert Field
8696e295a8 8139829: JShell API: No use of fields to return information from public types
Reviewed-by: vromero
2016-06-08 00:32:31 -07:00
David Dehaven
bfd0a0ba42 Merge 2016-06-06 13:16:46 -07:00
Alexandre Iline
57b82df0b9 8157975: Remove duplicate files in sample API
Reviewed-by: jjg, ksrini
2016-06-02 17:31:38 -07:00
Lana Steuck
a06ab4d4e1 Merge 2016-06-02 21:14:40 +00:00
Robert Field
19c685726f 8131029: JShell: recover from VMConnection launch failure
Reviewed-by: vromero
2016-06-02 14:05:13 -07:00
Lana Steuck
8b8fa260dd Added tag jdk-9+121 for changeset c95c5bc94fad 2016-06-02 20:33:36 +00:00
Robert Field
9e48d360f5 8131024: JShell: multi-line comment not detected as incomplete
Reviewed-by: vromero
2016-06-02 12:52:00 -07:00
Vicente Romero
32e8e4695d 8037947: functional interface causes ClassCastException when extending raw superinterface
Reviewed-by: mcimadamore
2016-06-02 15:39:10 -04:00
Kumar Srinivasan
ca620f07d3 8158559: Fix for 8132216 breaks langtools build
Reviewed-by: mcimadamore
2016-06-02 11:06:20 -07:00
Maurizio Cimadamore
17c048ae32 8158355: Inference graph dot support broken
IllegalStateException when converting an inference graph to dot file

Reviewed-by: vromero
2016-06-02 16:08:24 +01:00
Srikanth Adayapalam
a739f3227d 8132216: [Findbugs] Annotation$Array_element_value may expose internal representation
Reviewed-by: mcimadamore
2016-06-02 15:25:20 +05:30
Srikanth Adayapalam
ab5510e51f 8146167: Anonymous type declarations drop supertype type parameter annotations
Reviewed-by: mcimadamore
2016-06-02 15:22:34 +05:30
David Dehaven
1b4250a9fd Merge 2016-06-01 15:27:52 -07:00
Maurizio Cimadamore
8fb837a1bf 8145489: NPE while compiling annotations with qualified names in package-info.java
Spurious method reference check in Attr.visitSelect is causing NPE

Reviewed-by: vromero
2016-06-01 12:39:24 +01:00
Robert Field
3bad85523c 8080843: JShell tool: invalid key error occurs when external editor is used
Reviewed-by: vromero
2016-05-31 14:02:52 -07:00
Vicente Romero
8d93dc2a15 8152062: obscure error message for bad 'provides'
Reviewed-by: jjg
2016-05-31 13:00:17 -04:00
Dalibor Topic
dee728f027 8154469: Update FSF address
Updated Free Software Foundation's mailing address in LICENSE

Reviewed-by: rriggs, shade
2016-05-30 16:36:41 +02:00
Shinya Yoshida
3ff9cf19e2 8141415: JShell: wrap erroneous with one-liner comment-outed imports
Reviewed-by: rfield
2016-05-29 23:46:49 +09:00
Vicente Romero
58de940c2f 8152785: Remove javac -XDnoModules
Reviewed-by: jjg
2016-05-27 19:45:57 -04:00
Robert Field
1da9340c23 8139872: JShell tests: EditorPadTest failing on headless
Reviewed-by: vromero
2016-05-27 14:45:20 -07:00
Jonathan Gibbons
cfc5ca5719 8157606: deprecate com.sun.javadoc API
Reviewed-by: ksrini
2016-05-27 13:06:58 -07:00
Jonathan Gibbons
ac7bd384c3 8049896: Clean up (Basic)JavacTask.getTypeMirror
Reviewed-by: vromero
2016-05-27 12:37:18 -07:00
Robert Field
c65d2e5dac 8157261: jshell tool: truncation for expressions is not consistent
Reviewed-by: vromero
2016-05-27 10:37:46 -07:00
Jonathan Gibbons
f6dd27010c 8157608: deprecate old entry points for javadoc tool
Reviewed-by: ksrini
2016-05-26 17:35:26 -07:00
Robert Field
8a3eaf7f44 8157953: JShell tests: reenable ToolBasicTest
8080883: JShell tool: tool does not report errors if -startup and -nostartup flags are specified

Reviewed-by: vromero
2016-05-26 12:38:21 -07:00
Jonathan Gibbons
a8abf4d482 Merge 2016-05-26 10:46:21 -07:00
Jonathan Gibbons
6cb53fe31c 8156962: javac should support options specified in _JAVAC_OPTIONS
Reviewed-by: vromero
2016-05-26 10:45:13 -07:00
Lana Steuck
fbad851fcc Merge 2016-05-26 17:18:12 +00:00
Maurizio Cimadamore
d9b332a2f5 8157895: langtools launcher.sh-template script is broken
Add logic to quote Xpatch paths

Reviewed-by: jjg
2016-05-26 18:09:42 +01:00
Lana Steuck
5384043b98 Added tag jdk-9+120 for changeset 44e95493fd13 2016-05-26 16:02:17 +00:00
Robert Field
1fb5067c57 8157917: JShell: shutdown could cause remote JDWP errors to be visible to users
8157918: JShell tests: StartOptionTest displays insufficient information to diagnose failures

Reviewed-by: vromero
2016-05-26 07:58:01 -07:00
Srikanth Adayapalam
f9526a87fe 8154052: Java compiler error displays line from the wrong file
Compiler should update the diagnostic source properly.

Reviewed-by: mcimadamore
2016-05-26 18:22:05 +05:30
Joe Darcy
fff165ddd1 8032230: Enhance javax.a.p.RoundEnvironment after repeating annotations
Reviewed-by: jjg
2016-05-25 22:32:16 -07:00
Vicente Romero
de6399c1a3 8152360: deprecate javah
Reviewed-by: jjg
2016-05-25 11:33:56 -04:00
Srikanth Adayapalam
93714ca994 8047024: 7 ANNOT tests in JCK9 test suite fail with an AssertionError for exception_index
Fix incorrect assertion about exception index already being set.

Reviewed-by: mcimadamore
2016-05-25 19:30:55 +05:30
Jan Lahoda
c4dedff7c1 8131017: jshell tool: pasting code with tabs invokes tab completion
Enabling copy-paste detection.

Reviewed-by: lagergren, rfield, sundar
2016-05-24 16:02:46 +02:00
Robert Field
7bcc48f00e 8157528: jdk/jshell/ExecutionControlTest.java failed intermittently with NPE
Reviewed-by: jlahoda
2016-05-23 13:05:04 -07:00
Robert Field
5d1f9c9918 8157517: jshell tool: allow undoing operations
8157395: jshell tool: allow the position of options on commands to be more flexible
8157393: jshell tool: change /set newmode ... to be consistent with /retain mode

Reviewed-by: jlahoda
2016-05-23 10:12:05 -07:00
Maurizio Cimadamore
414c739476 8157149: Inference: weird propagation of thrown inference variables
Overhaul of treatment of thrown inference variables

Reviewed-by: vromero
2016-05-23 15:07:10 +01:00
Paul Sandoz
5b6c0e5152 8149821: Add VarHandle signature-polymorphic invocation byte code tests
Reviewed-by: mcimadamore
2016-05-23 12:48:18 +02:00
Srikanth Adayapalam
4917261f1c 8154824: Compiler should handle java.nio.file.FileSystemNotFoundException gracefully and not abort
Reviewed-by: jjg
2016-05-23 10:08:48 +05:30
Robert Field
5361169fbd 8156101: JShell SPI: Provide a pluggable execution control SPI
Reviewed-by: jlahoda
2016-05-21 22:32:08 -07:00
Joe Darcy
8c88656e09 6415644: Make javax.lang.model.SourceVersion more informative
Reviewed-by: jjg
2016-05-20 17:00:03 -07:00
Jonathan Gibbons
e568099980 8157474: clean up/simplify/rename ModuleWrappers class
Reviewed-by: mchung
2016-05-20 16:44:35 -07:00
Mandy Chung
0bafc010b2 8153042: jdeps should continue to report JDK internal APIs that are removed/renamed in JDK
Reviewed-by: dfuchs
2016-05-20 12:24:02 -07:00
Robert Field
2a791e9edd 8157200: jshell tool: Add /retain command to persist settings
8156910: jshell tool: crash when code with syntax error contains format specifier

Reviewed-by: jlahoda
2016-05-20 11:55:46 -07:00
Mandy Chung
479ecdbdaf 8157391: jdeps left JarFile open
Reviewed-by: alanb
2016-05-20 09:47:00 -07:00
Li Jiang
72dfe407db 8157778: JDK9 preparation message drop resource updates
JDK9 preparation message drop resource updates - openjdk

Reviewed-by: rfield, alanb
2016-05-20 00:03:52 -07:00
Mandy Chung
6db305ee0d 8152502: tools/jdeps/modules/GenModuleInfo.java and TransitiveDeps fails on windows
Reviewed-by: jjg
2016-05-19 17:34:05 -07:00
Lana Steuck
b9c61ad8b3 Merge 2016-05-19 20:14:16 +00:00
Lana Steuck
aa53efc689 Merge 2016-05-19 19:47:04 +00:00
Iris Clark
45ede707d8 8144062: Move jdk.Version to java.lang.Runtime.Version
Reviewed-by: abuckley, alanb, forax, jjg, mchung, psandoz
2016-05-19 11:56:38 -07:00
Mandy Chung
cad01946df 8156575: Add jdeps -addmods, -system, -inverse options
Reviewed-by: dfuchs
2016-05-19 11:01:26 -07:00
Mandy Chung
bbc75367c7 8156680: jdeps implementation refresh
Reviewed-by: dfuchs
2016-05-19 10:55:33 -07:00
Mandy Chung
d027cbbffb 8153481: tools/jdeps/modules/GenModuleInfo.java and ModuleTest.java fails intermittently
Reviewed-by: dfuchs
2016-05-19 10:55:33 -07:00
Lana Steuck
2a762beae2 Added tag jdk-9+119 for changeset e420b9f05aaf 2016-05-19 17:48:04 +00:00
Maurizio Cimadamore
07b326bd10 8157326: Intellij langtools project should use shared run configurations
Turn langtools run configurations into shared configurations. Fix minor addExport issues.

Reviewed-by: jlahoda
2016-05-19 17:57:28 +01:00
Jan Lahoda
d75bcbe358 8133549: Generalize jshell's EditingHistory
EditingHistory moved to jdk.internal.le

Reviewed-by: rfield
2016-05-18 21:00:43 +02:00
Robert Field
3d6e1e8abc 8157185: jshell tool: ambiguous format -- distinguished arguments should be options
Reviewed-by: vromero
2016-05-18 11:35:10 -07:00
Srikanth Adayapalam
34b3d6385e 8154997: Add examples for jigsaw diagnostics
Reviewed-by: jjg, jlahoda
2016-05-18 11:38:20 +05:30
Jonathan Gibbons
6fa7a76e64 Merge 2016-05-17 10:13:55 -07:00
Jonathan Gibbons
6b7ce3811f 8149599: Update Minefield test
Reviewed-by: martin
2016-05-17 10:11:58 -07:00
Maurizio Cimadamore
cc3cb0640f 8156954: javac incorrectly complains of incompatible types
Add heuristics to pick best stuck constraint as per JLS 18.5.2

Reviewed-by: vromero
2016-05-17 17:53:18 +01:00
Claes Redestad
6cc9359822 8157102: Avoid exceptional control flow in Configuration.getText
Reviewed-by: jjg
2016-05-17 01:35:36 +02:00
Robert Field
149821a78e 8153920: jshell tool: allow a parameter on the /vars /methods /classes commands
Reviewed-by: vromero
2016-05-16 21:46:32 -07:00
Robert Field
f53f69489a 8154812: jshell tool: value printing truncation
Reviewed-by: vromero
2016-05-16 21:25:44 -07:00
Maurizio Cimadamore
358e25664a 8154180: Regression: stuck expressions do not behave correctly
ArgumentAttr should not cache stuck trees

Reviewed-by: vromero
2016-05-16 14:51:17 +01:00
Jan Lahoda
41258c689d 8078559: Update error message to indicate illegal character when encoding set to ascii
When an input character cannot be decoded, include it in the produced error

Reviewed-by: jjg
2016-05-16 15:41:57 +02:00
Jan Lahoda
ef51223aa3 8054562: document skip results in RunCodingRules.java
Documenting when RunCodingRules gets skipped; adding a short description of AssertCheckAnalyzer and MutableFieldsAnalyzer

Reviewed-by: jjg
2016-05-16 15:41:20 +02:00
Maurizio Cimadamore
f18045ee0b 8156180: javac accepts code that violates JLS chapter 16
DA/DU analysis should skip parenthesis around variable references

Reviewed-by: vromero
2016-05-16 13:07:57 +01:00
Maurizio Cimadamore
7fa26cbc1e 8153884: Expression lambda erroneously compatible with void-returning descriptor
Fix lambda compatibility check for void returning expressions

Reviewed-by: vromero
2016-05-16 13:05:42 +01:00
Maurizio Cimadamore
eef5821303 8157030: langtools dev build broken after classfile version bump
Fix build to use different source/target version when compiling build tools

Reviewed-by: jlahoda
2016-05-16 12:03:41 +01:00