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
Srikanth Adayapalam
c4ebb7f3c0
8071847: java.lang.NullPointerException at com.sun.tools.javac.code.Types.elemtype(Types.java:1870)
...
Class file reader should recover from malformed class files that contain methods incorrectly flagged as variable arity methods.
Reviewed-by: jlahoda
2015-03-13 13:15:24 +05:30
Srikanth Adayapalam
60841ee270
8050021: Improper "duplicate case label" error
...
Reviewed-by: jlahoda
2015-03-12 10:24:07 +05:30
Bhavesh Patel
6b21a5a5ff
8074521: Generate iframe instead of frame and frameset for index.html page
...
Reviewed-by: jjg, ksrini
2015-03-11 23:53:38 -07:00
Bhavesh Patel
7b6148280a
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
...
Reviewed-by: jjg
2015-03-11 21:57:59 -07:00
Jan Lahoda
fad1792bc4
8071851: Provide filtering of doclint checking based on packages
...
Introducing -Xdoclint/package:<packages> doclint option to enable/disable checking of specified packages.
Reviewed-by: jjg, darcy
2015-03-11 22:24:05 +01:00
Maurizio Cimadamore
a981871194
8074306: NULLCHK is emitted as Object.getClass
...
8074501: Javac fix for 8073432 is missing right test BugIDs
Correct test bugIds
Reviewed-by: jjg
2015-03-06 10:30:44 +00:00
Aleksey Shipilev
89cc77c8cb
8073432: Object.getClass() throws stackless NPE, due to C2 intrinsic
...
Javac should generate NPE checks using Objects.requireNonNull if -target >= 7
Reviewed-by: jlahoda
2015-03-05 15:03:07 +00:00
Srikanth Adayapalam
105275fb87
8071453: Allow interface methods to be private
...
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2015-03-02 10:41:08 +05:30
Maurizio Cimadamore
7b2bf7805a
8073842: Invalid method reference when referencing a method on a wildcard type
...
Method rteference lookup logic doesn't skip type-variables as required by javac.
Reviewed-by: jlahoda
2015-02-27 18:20:33 +00:00
Jan Lahoda
681758e0fa
8067886: Inaccessible nested classes can be incorrectly imported
...
Check type accessibility at the point of import when importing the type using type-import-on-demand.
Reviewed-by: mcimadamore, jfranck
2015-02-24 16:11:59 +01:00
Maurizio Cimadamore
110a99f0dd
8071291: Compiler crashes trying to cast UnionType to IntersectionClassType
...
Compiler tests for .isCompound but then cast to a more specific Type subclass, resulting in CCE
Reviewed-by: vromero, jlahoda
2015-02-23 13:02:37 +00:00
Dan Smith
13490088bf
8039214: Inference should not map capture variables to their upper bounds
...
Update to Types.containsType; related adjustment to most-specific test
Reviewed-by: mcimadamore, vromero
2015-02-20 17:05:13 -07:00
Jan Lahoda
0a57971dd9
8067445: New modular image-based file manager skips boot classes
...
Taking "sun.boot.class.path" system property into account when constructing bootclasspath for modular images.
Reviewed-by: jjg, mcimadamore
2015-02-17 15:39:05 +01:00
Srikanth Adayapalam
31b752c691
8073201: Incorrect @bug annotation in checkin for JDK-8069545
...
Reviewed-by: mcimadamore
2015-02-16 19:14:18 +05:30
Maurizio Cimadamore
b91b333053
8071241: Investigate alternate strategy for type-checking operators
...
Separat operator lookup logic from overload resolution.
Reviewed-by: jjg, jlahoda, sadayapalam
2015-02-16 12:24:25 +00:00
Eric McCorkle
b014a7728f
8066725: javac produces classfiles it cannot read
...
Revert behavioral changes from 8029012 and 8065132
Reviewed-by: jfranck
2015-02-13 17:00:45 -05:00
Srikanth Adayapalam
cb2a21c5a5
8069545: javac shouldn't check nested stuck lambdas during overload resolution
...
Nested lambdas should not be considered while overload resolution is in progress
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: mcimadamore
2015-02-12 10:16:19 +05:30
Maurizio Cimadamore
dbe88a2ef1
8072445: tools/javac/lambda/MethodReference55.java fails across platforms
...
Remove copyright from test header
Reviewed-by: jlahoda
2015-02-05 18:51:09 +00:00
Srikanth Adayapalam
74f6de6859
8069265: ClassCastException when compiled with JDK 9b08+, JDK8 compiles OK
...
Alternate fix for 8015499 to eliminate extra checkcast (by working around a limitation in Types#asSuper) without the side effect that results in 8069265
Reviewed-by: mcimadamore, jjg
2015-02-02 18:52:16 +05:30