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
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
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
David Dehaven
4cc25cb407
Merge
2016-06-15 09:24:06 -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
Joe Darcy
c52bd6ba1d
8155880: Fix langtools usage of the deprecated Class.newInstance method
...
Reviewed-by: mcimadamore
2016-06-13 09:12:35 -07: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
David Dehaven
bfd0a0ba42
Merge
2016-06-06 13:16:46 -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
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
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
Vicente Romero
8d93dc2a15
8152062: obscure error message for bad 'provides'
...
Reviewed-by: jjg
2016-05-31 13:00:17 -04:00
Vicente Romero
58de940c2f
8152785: Remove javac -XDnoModules
...
Reviewed-by: jjg
2016-05-27 19:45:57 -04:00
Jonathan Gibbons
ac7bd384c3
8049896: Clean up (Basic)JavacTask.getTypeMirror
...
Reviewed-by: vromero
2016-05-27 12:37:18 -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
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
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
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
Jonathan Gibbons
e568099980
8157474: clean up/simplify/rename ModuleWrappers class
...
Reviewed-by: mchung
2016-05-20 16:44:35 -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
Srikanth Adayapalam
34b3d6385e
8154997: Add examples for jigsaw diagnostics
...
Reviewed-by: jjg, jlahoda
2016-05-18 11:38:20 +05:30
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
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
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
Kumar Srinivasan
687824174e
8156950: NPE while accessing ExportsDirectives.getTargetModules
...
Reviewed-by: jjg
2016-05-14 08:03:03 -07:00
Jonathan Gibbons
b733375f7d
8149843: StandardJavaFileManager should provide a way to get paths from strings
...
8150111: Need to change signature of StandardJavaFileManager.setLocationFromPaths
Reviewed-by: vromero, jlahoda
2016-05-12 11:36:08 -07: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
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
Vicente Romero
9f41228dab
8153268: javac accepts enums being referenced by 'uses' statement
...
Reviewed-by: jjg
2016-05-06 16:06:27 -04: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
Joe Darcy
ae6a62a6c8
8155516: Suppress warnings from uses of deprecated Class.newInstance langtools
...
Reviewed-by: jjg
2016-05-02 18:10:36 -07: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
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
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