Commit Graph

1937 Commits

Author SHA1 Message Date
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
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
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
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
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
Bhavesh Patel
139c282119 8154262: Navigation bar in javadoc generated pages needs to be updated to display module information
Reviewed-by: jjg, ksrini
2016-05-11 20:28:22 +00:00
Jan Lahoda
a00ea0d34f 8156097: docs build fails with StackOverflowError on Solaris
Avoiding deep recursion in TypeEnter.MembersPhase

Reviewed-by: mcimadamore
2016-05-11 17:42:17 +02:00
Staffan Larsen
0b60b18e8c 8156658: Common way to run jtreg tests
Reviewed-by: erikj, dsamersoff
2016-05-11 11:06:59 +02:00
Jonathan Gibbons
695f11e91c 8150011: Update javac to generate V53.0 class files
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: darcy
2016-05-10 15:36:21 -07:00
Jan Lahoda
eb99e4ec1f 8153761: JShell: Completion -- Show parameter names if possible
Compiling code with -parameters; keeping parameter names when reading classfiles; searching JDK sources if parameter names are not available.

Reviewed-by: rfield
2016-05-05 12:55:21 +02:00
Joe Darcy
9f8999fdf0 8156158: Mark ToolLocaleMessageTest.java as intermittently failing, demote to tier 2
Reviewed-by: jlahoda
2016-05-09 11:06:33 -07:00
Hamlin Li
ca6c12a7d5 8156189: Problem list tools/jdeps/modules/GenModuleInfo.java and ModuleTest.java until JDK-8153481 is resolved
Reviewed-by: mchung
2016-05-09 12:30:40 +08:00
Vicente Romero
9f41228dab 8153268: javac accepts enums being referenced by 'uses' statement
Reviewed-by: jjg
2016-05-06 16:06:27 -04:00
Mandy Chung
8c11293294 8154190: Deprivilege java.compiler module
Reviewed-by: alanb, chegar, jjg
2016-05-05 16:36:00 -07:00
Jan Lahoda
37c2a5ad4e 8156000: tools/all/RunCodingRules.java fails if build dir exists, but generated sources do not
RunCodingRules test compiles and runs PropertiesParser to get the generated CompilerProperties.java

Reviewed-by: mcimadamore, jjg
2016-05-04 17:06:55 +02:00
Alan Bateman
d2463eca44 Merge 2016-05-03 11:38:13 +01:00
Jonathan Gibbons
64261477b1 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg, mchung, alanb
2016-05-03 09:11:12 +01:00
Jonathan Gibbons
325a065aff 8155774: move code from ModuleTestBase to toolbox
Reviewed-by: ksrini, jlahoda
2016-05-02 16:17:39 -07:00
Jan Lahoda
d7af112d8d 8155816: langtools/tools/javac/classfiles/attributes/LineNumberTable/T8050993.java test broken
Correcting expected line numbers

Reviewed-by: alundblad
2016-05-02 12:57:05 +02:00
Jan Lahoda
8ca267abe3 8050993: There is no record for condition in ternary operator in LineNumberTable
Make sure there is an entry in the LineNumberTable for the condition of the ternary operator

Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Reviewed-by: jjg
2016-05-02 06:43:44 +02:00
Srikanth Adayapalam
2f5a588d25 8155028: javac crashes in silly do-while loop
Compiler should short circuit code generation for unreachable code.

Reviewed-by: mcimadamore
2016-05-02 10:11:24 +05:30
Kumar Srinivasan
6ae0f15a00 8155061: javadoc incorrectly sorted items in All Classes list and Index files
Reviewed-by: jjg
2016-04-29 16:06:52 -07:00
Kumar Srinivasan
4be9fb29fa 8154482: javadoc tool must support legacy doclet and taglet
Reviewed-by: jjg
2016-04-29 15:35:51 -07:00
Liam Miller-Cushon
9290ce0c7b 8154270: javac wrongly rejects some class literals as annotation element values
Reviewed-by: mcimadamore
2016-04-29 14:18:09 -07:00
Bhavesh Patel
1ac868ea61 8154119: Module summary page should display module description
Reviewed-by: jjg
2016-04-28 05:10:11 +00:00
Robert Field
83f65483e4 8150382: JShell API: Allow setting remote JVM arguments
8151754: jshell tool: add command line options for setting feedback mode

Reviewed-by: jlahoda
2016-04-27 18:13:19 -07:00
Robert Field
f49817d6cd 8154485: JShell: infrastructure for multi-Snippet class wrappers
Reviewed-by: jlahoda
2016-04-25 08:50:16 -07:00
Jan Lahoda
d20efa360f 8154283: Check for clash between package and class not working when package in a different module
Looking for any visible package when checking for package-class clash

Reviewed-by: jjg
2016-04-15 11:39:31 +02:00
Andreas Lundblad
e85033c628 8048146: sjavac uses unexpected exit code of -1
Changed exit codes for sjavac

Reviewed-by: jlahoda
2016-03-22 13:14:12 +01:00