Andrei Eremeev
a7cf8786ff
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute
...
Reviewed-by: jjg, shurailine, anazarov
2015-07-10 12:42:00 +03:00
Liam Miller-Cushon
7d78c183c4
8130803: add regression test related to fix for JDK-8078024
...
Reviewed-by: mcimadamore
2015-07-09 11:06:48 -07:00
Srikanth Adayapalam
7b64cba44c
8130745: Revert fix pushed for JDK-8074346
...
Reviewed-by: jlahoda
2015-07-08 19:01:57 +05:30
Jan Lahoda
3210b9650a
8072480: javac should support compilation for a specific platform version
...
Adding a new javac option for compiling for JDK N: -release N; including history data for previous version of JDK.
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: erikj, ihse, jjg, mcimadamore, mr
2015-07-01 09:51:48 +02:00
Srikanth Adayapalam
2943d4bd40
4869999: Error on import statement naming package containing no class files
...
Ensure that the compiler does not prematurely decide a package is not observable.
Reviewed-by: jlahoda
2015-06-28 12:58:24 +05:30
Srikanth Adayapalam
63b337e82e
8076538: Verify error at runtime due to incorrect classification of a lambda as being instance capturing
...
Reviewed-by: mcimadamore
2015-06-23 17:46:23 +05:30
Sonali Goel
08aea23120
8080826: Group 15: golden files for tests in tools/javac/generics/type* dirs
...
Reviewed-by: jjg
2015-06-17 13:20:33 -07:00
Srikanth Adayapalam
23e3cf3d7f
8074346: Type annotation on a qualified type causes spurious 'cannot find symbol' errors
...
Issue clear diagostic when package names in a qualified type name are illegally annotated
Reviewed-by: mcimadamore, jlahoda
2015-06-16 09:39:59 +05:30
Jan Lahoda
66dcce4334
8082311: NPE when compiling expression with \"^\"
...
Using BinaryNumericOperator for numeric bitwise operators and BinaryBooleanOperator for boolean bitwise operators, as the common BinaryBitwiseOperator allowed to incorrectly combine numeric and boolean operands
Reviewed-by: mcimadamore
2015-06-09 11:52:13 +02:00
Srikanth Adayapalam
7dd4ada04b
8081521: Compiler has trouble compiling nested diamond allocation constructs involving anonymous classes
...
Reviewed-by: mcimadamore
2015-06-05 18:43:11 +05:30
Maurizio Cimadamore
31e48bc561
8039262: Java compiler performance degradation jdk1.7 vs. jdk1.6 should be amended
...
Avoiding Scope listener leak by avoiding cache misses in Types.MembersClosureCache
Reviewed-by: mcimadamore, vromero
2015-06-04 09:05:52 +02:00
Srikanth Adayapalam
1a5f839adc
8077667: 'variable may not have been initialized' error for parameter in lambda function
...
JDK-8077667: Fix bogus diagnostic about lambda parameter not being initialized
Reviewed-by: mcimadamore
2015-05-30 06:17:50 +05:30
Jonathan Gibbons
1b685e4aa7
8081538: test CheckEBCDICLocaleTest is failing
...
Reviewed-by: vromero
2015-05-29 17:15:10 -07:00
Jonathan Gibbons
c8f110edb6
8081541: @ignore CheckEBCDICLocaleTest
...
Reviewed-by: vromero
2015-05-29 15:50:31 -07:00
Vicente Romero
783a654b17
8073372: Redundant CONSTANT_Class entry not generated for inlined constant
...
Reviewed-by: jjg
2015-05-29 14:04:57 -07:00
Srikanth Adayapalam
f1a3698f4c
8080842: Using Lambda Expression with name clash results in ClassFormatError
...
Ensure ScopeImpl can cope properly with remove when a field and method share the name
Reviewed-by: mcimadamore, jlahoda
2015-05-29 10:15:36 +05:30
Srikanth Adayapalam
4815781a4a
8081271: NPE while compiling a program with erroneous use of constructor reference expressions
...
Missing enclosing instance error should not be swallowed when attributing constructor reference expressions.
Reviewed-by: mcimadamore, vromero
2015-05-29 09:15:42 +05:30
Vicente Romero
c44a1b3184
8081417: test CheckEBCDICLocaleTest.java is failing intermittently
...
Reviewed-by: darcy
2015-05-28 12:08:54 -07: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
Srikanth Adayapalam
385f5d800a
8080726: Redundant error message on private abstract interface method with body
...
Reviewed-by: mcimadamore
2015-05-27 11:27:42 +05:30
Mandy Chung
81ae8feaed
8074431: Remove native2ascii tool
...
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:44:49 -07:00
Jonathan Gibbons
9ac1ce305e
8080897: tests broken in bad merge
...
Reviewed-by: darcy
2015-05-21 13:47:05 -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
Jan Lahoda
9264fe218f
8080572: langtools/test/tools/javac/generics/T5011073.java failing
...
Test/tools/javac/generics/InterfaceCast1.java defines a top-level Set, moving it to a separate directory to avoid clashes.
Reviewed-by: mcimadamore
2015-05-18 14:48:41 +02:00
Srikanth Adayapalam
72744bb5fa
8079613: Deeply chained expressions + several overloads + unnecessary inference result in excessive compile times
...
Eliminate compile time performance bottlneck due to mischaracterization of standalone expressions as being poly expressions.
Reviewed-by: mcimadamore, jlahoda
2015-05-11 13:28:14 +05:30
Jan Lahoda
1867d1a236
8080338: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
...
8080339: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
8080340: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Fixing incorrect file headers; also reviewed by kevin.l.brown@oracle.com
Reviewed-by: vromero
2015-05-18 09:27:09 +02:00
Sonali Goel
945f55124f
8075166: Group 14d: golden files for tests in tools/javac/generics/wildcards dir
...
Reviewed-by: jjg
2015-05-15 18:03:51 -07:00
Sonali Goel
4676493261
8080539: Remove few test files that did not get removed with the patch
...
Reviewed-by: jjg
2015-05-15 17:47:03 -07:00
Sonali Goel
e16a945d3c
8074514: Group 13d: golden files for tests in tools/javac/generics dir
...
Reviewed-by: jjg
2015-05-15 17:43:21 -07:00
Sonali Goel
8f711841fa
8075165: Group 14c: golden files for tests in tools/javac/generics/wildcards dir
...
Reviewed-by: jjg, vromero
2015-05-15 17:12:58 -07:00
Sonali Goel
395f1173a9
8075164: Group 14b: golden files for tests in tools/javac/generics/wildcards dir
...
Reviewed-by: jjg, vromero
2015-05-15 16:59:34 -07:00
Sonali Goel
f6428eb2bb
8074425: Group 13b: golden files for tests in tools/javac/generics dir
...
Reviewed-by: jjg, darcy, mcimadamore
2015-05-15 16:53:42 -07:00
Sonali Goel
1ebb022e1c
8075163: Group 14a: golden files for tests in tools/javac/generics/wildcards dir
...
Reviewed-by: jjg, vromero
2015-05-15 16:18:16 -07:00
Sonali Goel
491703889c
8074417: Group 13a: golden files for tests in tools/javac/generics dir
...
Reviewed-by: jjg, mcimadamore
2015-05-15 09:53:08 -07:00
Sonali Goel
11d7b1e161
8074502: Group 13c: golden files for tests in tools/javac/generics dir
...
Reviewed-by: jjg, mcimadamore
2015-05-15 09:30:55 -07:00
Jan Lahoda
e21c57f2ab
8076104: Key collisions in ZipFileIndexFileObject content cache lead to wrong content
...
Equals&hashCode of ZipFileObject and ZipFileIndexFileObject need to be based on full entry path, not only the file name.
Reviewed-by: jjg
2015-05-15 11:41:04 +02:00
Sonali Goel
d0acf99cf6
8074408: Group 12: golden files for tests in tools/javac dir
...
Reviewed-by: jjg
2015-05-15 01:56:14 -07:00
Sonali Goel
6b7d074037
8074387: Group 11: golden files for coin tests in tools/javac dir
...
Reviewed-by: jjg
2015-05-15 01:36:32 -07:00
Sonali Goel
190ba196a0
8068465: Group 10e: golden files for tests in tools/javac dir
...
Reviewed-by: jjg
2015-05-15 01:28:43 -07:00
Sonali Goel
64622d5d74
8068464: Group 10d: golden files for tests in tools/javac dir
...
Reviewed-by: jjg
2015-05-15 01:09:51 -07:00
Srikanth Adayapalam
e57ef90dd9
8078473: javac diamond finder crashes when used to build java.base module
...
Reviewed-by: mcimadamore
2015-04-27 17:36:20 +05:30
Srikanth Adayapalam
f2ee4e4240
8078592: Compiler fails to reject erroneous use of diamond with anonymous classes involving "fresh" type variables
...
Reviewed-by: mcimadamore
2015-04-25 15:59:54 +05:30
Jonathan Gibbons
6bed31f1c5
8079191: remove remaining references to "cp -p" from langtools/test
...
Reviewed-by: vromero
2015-04-30 17:35:03 -07:00
Andreas Lundblad
bd17f06ead
8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
...
Additional applicability checks added.
Reviewed-by: jlahoda
2015-04-30 12:21:50 +02:00
Jonathan Gibbons
8c93ae0560
8078054: [TESTBUG] tools/javac/Paths/wcMineField.sh failed with "operation not permitted"
...
Reviewed-by: darcy
2015-04-29 15:05:33 -07:00
Jonathan Gibbons
74169dee6e
8078861: tools/javac/classfiles/attributes/Synthetic/PackageInfoTest.java fails on Windows
...
Reviewed-by: vromero
2015-04-28 18:57:51 -07:00
Andreas Lundblad
4c307784ae
8078600: Infinite loop when compiling annotations with -XDcompletionDeps
...
Added Completer::isTerminal and added NULL_COMPLETER.
Reviewed-by: jlahoda, mcimadamore
2015-04-28 22:25:36 +02:00
Andrei Eremeev
153dc079bb
8044537: Implement classfile tests for Synthetic attribute
...
Reviewed-by: jjg, shurailine, anazarov
2015-04-28 11:08:25 +03:00
Jan Lahoda
b97b136530
8077605: Initializing static fields causes unbounded recursion in javac
...
Improving detection of potential constant variable initializers; preventing infinite recursion on exception during Attr.visitLambda.
Reviewed-by: mcimadamore, vromero
2015-04-27 16:31:29 +02:00
Vicente Romero
4693c79e67
8078433: javac, some tests are failing after JDK-8078024 because of golden files mismatch
...
Reviewed-by: darcy
2015-04-22 11:39:06 -07:00