Commit Graph

1643 Commits

Author SHA1 Message Date
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
Vicente Romero
8c8261cbad 8078024: javac, several incorporation steps are silently failing when an error should be reported
Reviewed-by: mcimadamore
2015-04-22 09:44:15 -07:00
Andreas Lundblad
b3ddbe8cf4 8078389: Add test for -Xdoclint + -XDcompletionDeps
Test to make sure doclint and completionDeps do not interfere.

Reviewed-by: jlahoda
2015-04-22 16:11:38 +02:00
Andreas Lundblad
fc379b3042 8068737: ArrayType prints element type post order
Rewrote ArrayType.toString

Reviewed-by: jlahoda, ksrini
2015-04-21 12:10:26 +02:00
Andrei Eremeev
56c8f87b08 8042947: Implement classfile tests for AnnotationDefault attribute
Reviewed-by: jjg, shurailine, anazarov
2015-04-20 12:45:41 +03:00
Andreas Lundblad
868bdb35b2 8043984: Confusing (incorrect) error message on repeatable annotations
Adjusted error mesage for repeating annotations

Reviewed-by: jfranck, dlsmith
2015-04-17 12:37:11 +02:00
Andreas Lundblad
e17a42c26a 8073534: Confusing / incorrect error message regarding annotations on non-declarations
Adjusted error message for annotations on non-declarations.

Reviewed-by: jlahoda, dlsmith
2015-04-17 11:52:10 +02:00
Dan Smith
336a125aa0 8075520: Varargs access check mishandles capture variables
8077786: Check varargs access against inferred signature

Reviewed-by: vromero
2015-04-16 17:20:20 -06:00
Bhavesh Patel
9c427df72e 8072945: Javadoc should generate valid and compliant HTML5 output
Reviewed-by: jjg, ksrini
2015-04-13 18:05:23 -07:00
Joel Borggren-Franck
7d3885b239 8031744: Annotations on many Language Model elements are not returned
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: jfranck, mcimadamore, emc, jlahoda, jjg
2015-04-07 11:04:29 -07:00
Jonathan Gibbons
465e4dca9a 8076420: Consolidate javac file handling in javac.file package
Reviewed-by: jlahoda
2015-04-02 15:56:07 -07:00
Andrey Nazarov
15d5184652 8075752: jdk.compiler dependency can be eliminated in MethodReferenceNullCheckTest.java
Reviewed-by: jjg
2015-03-30 16:38:59 +01:00
Andrey Nazarov
9c48863bb1 8075610: java.desktop module dependency can be eliminated in tools/javac/generics/inference/5073060/GenericsAndPackages.java
Reviewed-by: jjg
2015-03-26 17:39:04 +01:00
Srikanth Adayapalam
68593842f8 7040592: Gen.java: fix code for handling 'null' literal when expected type is array
Eliminate needless checkcast when null is assigned to a multi-dimensional array typedobject

Reviewed-by: mcimadamore
2015-03-23 09:48:37 +05:30
Srikanth Adayapalam
8afd89977c 8062373: Project Coin: diamond and anonymous classes
Allow diamond inference in combination with anonymous class instance creation

Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, vromero
2015-03-30 17:09:14 +05:30
Bhavesh Patel
8b611ba470 8076026: DocTree should parse hyphenated attributes correctly
Reviewed-by: jjg, ksrini
2015-03-28 10:18:27 -07:00
Vicente Romero
38527cecd5 8075184: javac is mistakenly considering an missing enclosing instance error as an overload error
Reviewed-by: mcimadamore
2015-03-27 10:11:21 -07:00
Jan Lahoda
31a45d5c86 8054220: Debugger doesn't show variables *outside* lambda
8058227: Debugger has no access to outer variables inside Lambda

Put local variables captured by lambda into the lambda method's LocalVariableTable.

Reviewed-by: mcimadamore, rfield
2015-03-26 11:34:50 +01:00
Andrei Eremeev
22d4785f1d 8049238: Implement classfile tests for Signature attribute
Reviewed-by: jjg, shurailine, anazarov
2015-03-25 10:29:14 +03:00
Maurizio Cimadamore
24c51e1e1b 8048838: type inference performance regression
Reduce redundant bounds before attempting to do pairwise lub computation during bound incorporation.

Reviewed-by: vromero
2015-03-19 11:40:47 +00:00
Maurizio Cimadamore
c03dd06d9a 8074381: java.lang.AssertionError during compiling
Add extra functional interface check to prevent crash during code generation

Reviewed-by: vromero
2015-03-19 11:39:36 +00:00
Srikanth Adayapalam
f1f1f0f7e1 8074148: Attr.visitBinary flags error at wrong position
Reviewed-by: vromero
2015-03-13 10:25:46 +05:30