Commit Graph

1891 Commits

Author SHA1 Message Date
Jan Lahoda
de261554f7 8190315: Test tools/javac/tree/NoPrivateTypesExported.java failing
Constant annotation attribute values should be allowed.

Reviewed-by: vromero
2017-11-01 16:45:28 +01:00
John Jiang
3d220f8d74 8190399: ProblemList tools/javac/tree/NoPrivateTypesExported.java due to JDK-8190315
Tools/javac/tree/NoPrivateTypesExported.java fails permanently due to JDK-8190315, so ProblemList has to include this test.

Reviewed-by: darcy
2017-11-01 10:49:21 +08:00
Maurizio Cimadamore
f48f3c6552 8189838: Stack overflow when computing upward projection of an intersection type with fbounds
Bad logic for detecting loop in type-variable upper bounds

Reviewed-by: vromero
2017-10-26 18:42:40 +01:00
Jonathan Gibbons
46e1e763c1 8190003: Special characters in group names should be escaped
Reviewed-by: ksrini, bpatel
2017-10-25 18:12:15 -07:00
Jonathan Gibbons
917c6d460b 8190182: remove accidental file
Reviewed-by: ksrini
2017-10-25 17:48:30 -07:00
Jonathan Gibbons
19db6ba670 8189843: Missing \"id\" attributes in table rows
Reviewed-by: bpatel, ksrini
2017-10-25 17:18:00 -07:00
Jonathan Gibbons
cf81232570 8189841: Error in alternate row coloring in package-summary files
Reviewed-by: bpatel, ksrini
2017-10-25 17:16:18 -07:00
Phil Race
62fa58101a Merge 2017-10-25 12:41:24 -07:00
Bhavesh Patel
5c2a4b6e1a 8183037: Overview summary page should have a table with tabs for groups
Reviewed-by: jjg, ksrini
2017-10-25 12:29:00 -07:00
Robert Field
7ce7347fd2 8179856: jshell tool: not suitable for pipeline use
8186708: jshell tool: bad load file garbles message and does not abort

Reviewed-by: jlahoda
2017-10-24 20:33:36 -07:00
Robert Field
19fbc4c08c 8187359: JShell: Give comprehensible error when user method name matches Object method
Reviewed-by: jlahoda
2017-10-20 19:08:25 -07:00
Jan Lahoda
a663434be7 8189796: Incorrect end position for missing statement
Recording end positions for error trees representing missing statements.

Co-authored-by: Dusan Balek <dusan.balek@oracle.com>
Reviewed-by: mcimadamore
2017-10-24 12:07:27 +02:00
Paul Sandoz
e55a05957d 8186209: Tool support for ConstantDynamic
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Paul Sandoz
52d3bf29b2 8196508: Add jdeprscan test TestRelease.java to the problem list
Reviewed-by: smarks
2018-01-31 10:55:49 -08:00
Kumar Srinivasan
3733761695 8157000: Do not generate javadoc for overridden method with no spec change
Reviewed-by: jjg
2017-10-19 20:27:47 -07:00
Jan Lahoda
d84d8f1cc5 8188035: JavaFileManager.listLocationsForModules does not always reflect values set through StandardJavaFileManager.setLocationForModule
Prepending explictely set module locations in listLocationsForModules.

Reviewed-by: jjg
2017-10-19 10:59:02 +02:00
Mandy Chung
9ebc72545b 8189202: (jdeps) Need jdeps output format easy for jlink --add-modules to use
Reviewed-by: sundar
2017-10-17 10:32:01 -07:00
Jan Lahoda
7c3c83fb55 8181897: JDK 9 change to symlink handling affects SourceFile attributes
Using user provided path in toUri().

Reviewed-by: jjg
2017-06-26 17:00:45 +02:00
Jan Lahoda
f66b1c7a8b 8186694: JShell: speed-up compilation by reusing compiler instances
Generalizing ReusableContext and using it in JShell to speed up processing.

Reviewed-by: mcimadamore, rfield
2017-09-01 14:04:20 +02:00
Srikanth Adayapalam
b9d8d3bd9c 8184989: Incorrect class file created when passing lambda in inner class constructor and outer is subclass
Reviewed-by: mcimadamore
2017-10-16 14:30:37 +05:30
Jonathan Gibbons
f386e419c3 8187521: In some corner cases the javadoc tool can reuse id attribute
Reviewed-by: bpatel, ksrini
2017-10-10 17:02:52 -07:00
Maurizio Cimadamore
305e51848a 8169345: javac crash when local from enclosing context is captured multiple times
Captured variables imported from multiple enclosing scopes are not handled correctly

Reviewed-by: vromero
2017-10-09 13:03:18 +01:00
Jan Lahoda
a36938e082 8188225: AST could be improved in presence of var types
Adding a better start pos for vars; always adding a synthetic type tree to vars.

Reviewed-by: mcimadamore
2017-10-06 17:18:03 +02:00
Maurizio Cimadamore
9f2615c4de 8172443: Change use of tree.pos to line:col in rawDiagnostics
Generate more stable raw diagnostic position for functional expression AST diag arguments

Reviewed-by: jjg, vromero
2017-10-05 18:29:47 +01:00
Bernard Blaser
2115af4897 8063054: Incorrect raw type warning for method reference
Spurious raw types warnings generated for unbound method references

Reviewed-by: jlahoda
2017-10-05 12:19:23 +01:00
Kumar Srinivasan
da077b2e26 8186703: javadoc needs a test to verify member hiding
Reviewed-by: jjg
2017-10-04 10:44:21 -07:00
Bhavesh Patel
feab9efa52 8074407: javadoc: using <pre> after @deprecated tag causes warnings
Reviewed-by: jjg, ksrini
2017-10-03 12:58:49 -07:00
Bhavesh Patel
448718c0af 8169819: minor cleanup for deprecated page
Reviewed-by: jjg, ksrini
2017-10-02 14:49:46 -07:00
Bernard Blaser
47e2972a64 8187978: javac can show overload error messages that include non-valid candidates
Reviewed-by: mcimadamore
2017-10-02 10:04:22 -07:00
Maurizio Cimadamore
870b0834fe 8188144: regression in method reference type-checking
Method reference checking prefers unbound lookup when both searches produce same results

Reviewed-by: vromero
2017-10-02 12:29:44 +01:00
Bhavesh Patel
6db0190cb5 8186332: Fix method signature in method summary table
Reviewed-by: jjg, ksrini
2017-09-27 16:47:07 -07:00
Joe Darcy
5d2a4c319a 8187982: Update SourceVersion to mention restricted keywords
Reviewed-by: mcimadamore
2017-09-27 14:23:41 -07:00
Bhavesh Patel
385c583ed1 8183511: improve style for deprecated text
Reviewed-by: jjg, ksrini
2017-09-26 20:03:48 -07:00
Maurizio Cimadamore
c825188cd8 8177466: Add compiler support for local variable type-inference
Add support for 'var' in implicitly typed local variable declarations

Reviewed-by: vromero, jlahoda
2017-09-26 12:52:53 +01:00
Jan Lahoda
4335a9a642 8187883: NewClassDefEnclosing.java fails on windows
Fixing whitespace normalization.

Reviewed-by: mcimadamore
2017-09-25 13:03:11 +02:00
Jan Lahoda
b45c9233a4 8044853: Attr synthesizes nullcheck tree nodes
Avoid move of JCNewClass.encl to args in front end phases.

Reviewed-by: jjg
2017-09-22 14:06:11 +02:00
Mandy Chung
21c1304c15 8187449: jdeps fails when an upgradeable module is upgraded with an automatic module
Reviewed-by: lancea, psandoz
2017-09-21 13:55:44 -07:00
Jan Lahoda
0fcaa36105 8184739: Incorrect end position of PackageTree
Fixing end position of PackageTree.

Reviewed-by: jjg
2017-09-21 17:47:34 +02:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Jan Lahoda
c6be2c363a 8187681: Compiling for target 9 while also using --patch-module
Removing limitation on simultaneous use of --release and --patch-module for system modules.

Reviewed-by: mcimadamore, jjg
2017-11-02 11:16:27 +01:00
Jan Lahoda
e44c7feff9 8189595: jshell tool: line redrawn on each completion
Reviewed-by: rfield
2017-11-02 10:09:34 +01:00