Srikanth Adayapalam
9c310602ec
8075799: Extraneous access checks implemented by javac
...
Allow anonymous class constructors to refer to inaccessible types.
Reviewed-by: mcimadamore
2015-10-07 19:35:43 +05:30
Srikanth Adayapalam
855243b12f
8065219: Deprecated warning in method reference are missing in some cases
...
Reviewed-by: mcimadamore
2015-10-07 16:02:57 +05:30
Srikanth Adayapalam
1a5c52e6c3
8130506: javac AssertionError when invoking MethodHandle.invoke with lambda paramter
...
Reviewed-by: mcimadamore
2015-10-07 15:53:38 +05:30
Jan Lahoda
c4a3a35b97
8075274: Compilation still depends on the order of imports
...
8133235: Compilation depends on order of source files
When analyzing type hierarchy, HierarchyPhase should process supertypes before subtypes.
Reviewed-by: mcimadamore
2015-10-05 18:31:38 +02:00
Srikanth Adayapalam
ea13770069
8133135: Compiler internall error (NPE) on anonymous class defined by qualified instance creation expression with diamond
...
Reviewed-by: mcimadamore
2015-10-05 15:41:29 +05:30
Srikanth Adayapalam
0ea96ddfe4
8132535: Compiler fails with diamond anonymous class creation with intersection bound of enclosing class
...
Reviewed-by: mcimadamore
2015-10-01 19:47:06 +05:30
Andrei Eremeev
b403bd3715
8081472: Add a mode to the tests for class-file attributes which dumps in-memory sources to disk
...
Reviewed-by: ksrini
2015-09-28 13:23:35 +03:00
Maurizio Cimadamore
981c6dc298
8078093: Severe compiler performance regression Java 7 to 8 for nested method invocations
...
Add infrastructure to avoid combinatorial explosion of method argument attributions
Reviewed-by: jlahoda, vromero, dlsmith
2015-09-15 13:43:44 +01:00
Maurizio Cimadamore
379f2540aa
8077306: Recursive implementation of List.map leads to stack overflow
...
Recusrive implementation of List.map uses too much stack; switch to iterative version.
Reviewed-by: jlahoda
2015-09-14 11:26:14 +01:00
Maurizio Cimadamore
9f6a7922f7
8135246: CheckAttributedTree silently generates spurious compiler error
...
Cyclic inheritance errors should cause shared combo context to be thrown away
Reviewed-by: jlahoda
2015-09-11 16:27:20 +01:00
Jan Lahoda
25d64eb4bc
8132885: langtools/test/tools/javac/sym/ElementStructureTest.java is also searching default classpath
...
Explicitly setting classpath when inspecting the platform classes; using the java.util.ServiceLoader instead of the javac's copy
Reviewed-by: jjg
2015-09-10 21:10:20 +02:00
Maurizio Cimadamore
2f46e61a83
8129962: Investigate performance improvements in langtools combo tests
...
New combo API that runs all combo instances in a shared javac context (whenever possible).
Reviewed-by: jjg, jlahoda, vromero
2015-08-31 17:33:34 +01:00
Maurizio Cimadamore
5f1384e8b4
8134007: Improve string folding
...
Generalize string folding algorithm to detect mulitple groups of foldable constants within an concat expression
Reviewed-by: jlahoda
2015-08-31 15:50:20 +01:00
Andreas Lundblad
97577b084f
8134483: A recent update to copyright headers caused two tests to fail
...
Replaced copyright notice with nodynamiccopyright and adjusted line numbers.
Reviewed-by: jfranck
2015-08-26 11:14:28 +02:00
Andreas Lundblad
8d0ebb66bd
8133671: langtools tests have bad license
...
Dropped classpath exception from copyright notice in tests.
Reviewed-by: jjg
2015-08-26 09:02:02 +02:00
Aleksey Shipilev
d2e6717c87
8134329: TeeOpTest.java fails across platforms after fix for JDK-8129547
...
Wrong indexes associated to CONSTANT_InvokeDynamic_info entries.
Reviewed-by: sundar
2015-08-25 15:10:25 +01:00
Aleksey Shipilev
062a960fd6
8129547: Excess entries in BootstrapMethods with the same (bsm, bsmKind, bsmStaticArgs), but different dynamicArgs
...
Pool.DynamicMethod implementation for hash/equals leads to duplicate BSM entries.
Reviewed-by: jlahoda
2015-08-24 13:15:12 +01:00
Vicente Romero
8a2078e8a3
8053906: javac is accepting a self-referencing variable initializer inside a lambda expression
...
Reviewed-by: jlahoda
2015-08-10 18:10:18 -07:00
Jan Lahoda
16d8f98d09
8131915: CompletionFailure during import listing crashes javac
...
Handling CompletionFailures during import listing properly.
Reviewed-by: mcimadamore
2015-08-03 13:28:39 +02:00
Maurizio Cimadamore
7baee75969
8131742: Syntactically meaningless code accepted by javac
...
Receiver parameter logic for type annotations should be disabled when parsing lambda formals
Reviewed-by: jlahoda
2015-07-30 13:24:35 +01:00
Maurizio Cimadamore
787325090c
8129214: Access error when unboxing a primitive whose target is a type-variable in a different package
...
Missing erasure when unboxing type in Lower
Reviewed-by: jlahoda
2015-07-30 13:21:01 +01:00
Maurizio Cimadamore
34ea5286e4
8081769: Redundant error message on bad usage of 'class' literal
...
Javac should skip to next token when an erroneous ident is found in term3rest
Reviewed-by: jlahoda
2015-07-30 13:20:01 +01:00
Jan Lahoda
8d3026508a
8130826: test writes file in test source directory
...
Setting an explicit output directory for ToolBox.JavacTask in PlatformProviderTest.
Reviewed-by: jjg
2015-07-28 17:01:45 +02:00
Maurizio Cimadamore
4ae1cb2cd6
8130304: Inference: NodeNotFoundException thrown with deep generic method call chain
...
Bug in Tarjan implementation is generating node ids which can overflow 32 bits
Reviewed-by: vromero
2015-07-17 12:46:07 +01:00
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