Jan Lahoda
d6521300a0
7020499: Project Coin: improvements to try-with-resources desugaring
...
Avoid unnecessary check for resource nullness if the resource is known to be non-null; put resource closing code in a method that is shared by multiple try-with-resources.
Reviewed-by: darcy, mcimadamore, vromero
2016-04-19 14:16:39 +02:00
Andreas Lundblad
4b662bba26
8036952: copyright issues in jdk9/dev/langtools files
...
Updated copyright notices.
Reviewed-by: jjg, jlahoda
2016-04-18 21:07:50 +02:00
Vassili Igouchkine
9c33078299
8145342: Some copyright notices are inconsistently and ill formatted
...
Adjusted formatting of copyright notices.
Reviewed-by: darcy, alundblad
2015-12-14 20:18:19 +01:00
Mandy Chung
ab120497cf
8074432: Move jdeps and javap to jdk.jdeps module
...
Reviewed-by: jjg, alanb, erikj
2015-05-27 13:25:18 -07:00
Alexander Kulyakhtin
b6262441ad
8076543: Add @modules as needed to the langtools tests
...
Reviewed-by: jjg, shurailine
2015-05-21 11:41:04 -07:00
Vicente Romero
f6ed87ed5a
8064857: javac generates LVT entry with length 0 for local variable
...
Reviewed-by: mcimadamore, jjg
2015-01-05 17:35:48 -08:00
Jan Lahoda
e158f32141
8062747: Compiler error when anonymous class uses method with parametrized exception
...
When inferring lambda's thrown types, avoid tracking variables that are not under the lambda to avoid crashes.
Reviewed-by: vromero
2014-11-14 11:58:28 +01:00
Jonathan Gibbons
8bd23f1681
8062348: langtools tests should close file manager (group 1)
...
Reviewed-by: darcy
2014-10-29 17:25:23 -07:00
Vicente Romero
97309123c1
8058708: java.lang.AssertionError compiling source code
...
Reviewed-by: jjg
2014-09-25 17:09:23 -07:00
Paul Govereau
d65d28d993
8054210: NullPointerException when compiling specific code
...
Reviewed-by: vromero, jlahoda
2014-09-09 12:16:25 -04:00
Vicente Romero
ce0935812b
8047719: Incorrect LVT in switch statement
...
Reviewed-by: jjg, jlahoda
2014-06-27 20:32:12 +01:00
Vicente Romero
92e2e96714
8037937: javac: AssertionError during LVT generation, wrong variable ranges
...
Reviewed-by: mcimadamore
2014-05-29 15:28:01 +01:00
Paul Govereau
0b1c40b161
8042741: Java 8 compiler throws NullPointerException depending location in source file
...
Reviewed-by: vromero, jlahoda
2014-05-27 22:26:53 +01:00
Vicente Romero
a4bac02fa4
8030218: javac, compile time error isn't shown when final static field is not assigned, follow-up
...
Reviewed-by: jjg, jfranck, sundar
2013-12-19 21:58:50 +00:00
Vicente Romero
ffb2f48033
8030214: fix for JDK-8020216 breaks the build
...
Reviewed-by: jjg
2013-12-16 17:33:18 +00:00
Vicente Romero
4d99383951
8020216: javac, compile time error isn't shown when final static field is not assigned
...
Reviewed-by: jjg
2013-12-16 14:32:12 +00:00
Vicente Romero
96d9e95176
8027660: javac crash while creating LVT entry for a local variable defined in an inner block
...
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2013-11-01 19:08:56 +00:00
Andreas Lundblad
a2a38c6b65
8024988: javac, LVT test harness should generate tests .class files in the scratch folder
...
Set the CLASS_OUTPUT location to the scratch directory. Changed the argument to checkClassFile accordingly.
Reviewed-by: jjg, vromero
2013-09-23 10:10:07 +02:00
Vicente Romero
86baa378e4
7047734: javac, the LVT is not generated correctly in several scenarios
...
Reviewed-by: jjg, mcimadamore
2013-09-14 19:04:47 +01:00