Srikanth Adayapalam
e179ac0384
8164519: Rendering of supertype_target for annotated extends clause
...
Eliminate inconsistencies in handling annotated super class.
Reviewed-by: jlahoda
2016-09-27 04:34:09 +05:30
Steve Drach
18b1c7cd8b
8153654: Update jdeps to be multi-release jar aware
...
Reviewed-by: mchung
2016-09-26 13:39:50 -07:00
Jan Lahoda
35439dec91
8047347: com.sun.source.util.Trees breaks the compiler
...
Clearing synthetic constructors and super constructor calls between annotation processing rounds.
Reviewed-by: jjg
2016-09-23 15:35:32 +02:00
Srikanth Adayapalam
7ddb0f7c17
8163027: AssertionError while compiling a program that uses try with resources
...
Reviewed-by: vromero
2016-09-21 05:26:26 +05:30
Srikanth Adayapalam
ed537dc705
8156568: Update javac to support compiling against a modular JAR that is a multi-release JAR
...
Reviewed-by: jjg
2016-09-20 12:12:18 +05:30
Srikanth Adayapalam
4688e355c5
8166108: VerifyError passing anonymous inner class to supertype constructor
...
Anonymous classes instantitated in explicit constructor calls cannot have enclosing instance
Reviewed-by: vromero
2016-09-20 05:28:54 +05:30
Srikanth Adayapalam
ac462ed848
8164742: ServiceConfigurationError on invoke of getServiceLoader method of StandardJavaFileManager
...
Reviewed-by: jlahoda
2016-09-19 05:31:53 +05:30
Dan Smith
eb56700eba
8138822: Source version error missing version number
...
Reviewed-by: jjg
2016-09-16 11:58:23 -06:00
Srikanth Adayapalam
83dbcb5c1b
8160699: java.lang.VerifyError: Inconsistent stackmap frames at branch target
...
Ensure out of scope locals are not treated as being alive
Reviewed-by: mcimadamore
2016-09-14 20:00:20 +05:30
Srikanth Adayapalam
e4870c84e3
8138667: java.lang.IllegalAccessError: tried to access method (for a protected method)
...
Reviewed-by: mcimadamore
2016-09-13 19:32:03 +05:30
Vicente Romero
29aa24a3c1
8162546: change hidden options -Xdebug to --debug, -XshouldStop to --should-stop, and -diags to --diags
...
Reviewed-by: mcimadamore
2016-09-06 17:04:43 -07:00
Vicente Romero
7e27dd569e
8160454: JSR269 jigsaw update: javax.lang.model.element.ModuleElement.getDirectives() causes NPE on unnamed modules
...
Reviewed-by: jjg
2016-09-02 05:43:54 -07:00
Srikanth Adayapalam
876bb73271
8164073: Javac should unconditionally warn if deprecated javadoc tag is used without @Deprecated annotation
...
Reviewed-by: mcimadamore
2016-09-02 07:49:15 +05:30
Jan Lahoda
161e3c650a
8165008: javac -Xmodule compiles the module in a way that reads the unnamed module
...
Ensuring proper separation between named modules and the unnamed module when using -Xmodule
Reviewed-by: jjg
2016-08-29 15:53:03 +02:00
Amy Lu
9f1556675e
8165193: Workaround intermittent failures of JavacTreeScannerTest and SourceTreeScannerTest due to C2 memory usage
...
Reviewed-by: darcy
2016-09-01 13:18:42 +08:00
Mandy Chung
2a62da3a63
8165109: langtools/test switches to use new CLI options
...
Reviewed-by: jjg, amlu
2016-08-30 20:49:41 -07:00
Jan Lahoda
bbf85261aa
8164951: Build broken after JDK-8164745
...
Reverting the fix for JDK-8164745 to investigate a build failure.
Reviewed-by: jjg
2016-08-29 18:14:26 +02:00
Jan Lahoda
4404741f80
8164745: javac -Xmodule compiles the module in a way that reads the unnamed module
...
Ensuring proper separation between named modules the unnamed module when using -Xmodule
Reviewed-by: jjg
2016-08-29 15:53:03 +02:00
Jonathan Gibbons
1386ffb4f2
8164887: update tests to remove use of old-style options
...
Reviewed-by: mchung
2016-08-26 15:54:36 -07:00
Stuart Marks
1673e17518
8145464: implement deprecation static analysis tool
...
Reviewed-by: psandoz, darcy
2016-08-25 17:58:39 -07:00
Maurizio Cimadamore
2c2d5c4917
8164399: inference of thrown variable does not work correctly
...
Logic for inferring thrown variables should exclude non proper bounds as per JLS 18.1
Reviewed-by: vromero, dlsmith
2016-08-25 11:51:19 +01:00
Vicente Romero
7328ed21cb
8161501: JSR269 jigsaw update: javax.lang.model.element.ModuleElement.getEnclosedElements() on unnamed module with unnamed package
...
Reviewed-by: jjg
2016-08-24 17:41:52 -07:00
Vicente Romero
ddbef393bc
8047338: javac is not correctly filtering non-members methods to obtain the function descriptor
...
Reviewed-by: mcimadamore
2016-08-24 12:23:10 -07:00
Sandeep Konchady
865b439a69
8163991: Fix license and copyright headers under test/jdk/javadoc/ and test/tools/javac/
...
Reviewed-by: anazarov, iris, jjg, shurailine
2016-08-23 10:19:49 +01:00
Jan Lahoda
f65c3ae869
8164550: tools/javac/modules/InheritRuntimeEnvironmentTest.java fails on Windows after JDK-8153391
...
Empty classpath is not working on Windows; using a classpath consisting on a sole empty dir
Reviewed-by: mcimadamore
2016-08-22 15:16:30 +02:00
Jan Lahoda
53cd7b54fa
8153391: an image created for \"jdk.compiler\" fails to run javac
...
Improving errors produced by javac when the zipfs implementation is missing in the JDK image.
Reviewed-by: jjg
2016-08-22 09:59:43 +02:00
Srikanth Adayapalam
6c2a33a67b
8162576: Missing doclint check missing for modules
...
Co-authored-by: Lance Andersen <lance.andersen@oracle.com>
Reviewed-by: jjg, ksrini
2016-08-17 10:34:48 +05:30
Jan Lahoda
d103a19b3a
8078561: Error message should be generated once when -source 6 is specified
...
Code to avoid duplicated errors about features not supported in the current source level moved to Log
Reviewed-by: jjg
2016-08-16 16:43:00 +02:00
Srikanth Adayapalam
c7f35c53af
8157512: AssertionError in javac when module-info < v53.0
...
Reviewed-by: jjg
2016-08-16 09:45:19 +05:30
Srikanth Adayapalam
8513d8d26f
8157519: Error messages when compiling a malformed module-info.java confusing
...
Reviewed-by: jjg
2016-08-16 09:13:33 +05:30
Jonathan Gibbons
9208c82732
8162353: javadoc should provide a way to disable use of frames
...
Reviewed-by: bpatel, ksrini
2016-08-15 18:00:36 -07:00
Joe Darcy
66ff418a4b
8163999: Workaround intermittent failures of TreePosTest.java due to C2 memory usage
...
Reviewed-by: jjg
2016-08-15 13:42:34 -07:00
Jonathan Gibbons
0ae5880c01
8052398: Uniqify test framework class names
...
Reviewed-by: darcy
2016-08-12 17:45:31 -07:00
Srikanth Adayapalam
37028f8abc
8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
...
Reviewed-by: mcimadamore, ksrini
2016-08-12 11:49:18 +05:30
Jan Lahoda
ec9ca2997f
8133884: javac moduleName/className and moduleName/packageName options
...
8162711: javax.lang.model.util.Elements.getModuleElement returns null during annotation processing on class files
Adding a test for annotation processing for <module-name>/<class-name>; ensuring the <module-name> module is in the module graph.
Reviewed-by: jjg
2016-08-11 17:26:12 +02:00
Jonathan Gibbons
978417c4c7
8136930: Simplify use of module-system options by custom launchers
...
8160489: Multiple -Xpatch lines ignored by javac
8156998: javac should support new option -XinheritRuntimeEnvironment
Reviewed-by: jlahoda, ksrini
2016-08-10 15:47:46 -07:00
Vicente Romero
3b80559162
8160156: javac is generating let expressions unnecessarily
...
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2016-08-10 13:52:02 -07:00
Jan Lahoda
39de28475b
8143048: Re-examine dependency on property sun.boot.class.path
...
Removing obsolete references to sun.boot.class.path
Reviewed-by: jjg
2016-08-09 20:27:06 +02:00
Jan Lahoda
d898c2f21c
8144733: Iterating over elements of a Scope can return spurious inner class elements
...
When a Symbol is removed from a Scope while iterating over it, update the iterator as well to reflect the change.
Reviewed-by: mcimadamore
2016-08-08 17:22:44 +02:00
Jonathan Gibbons
b601617d9c
8162359: javac should use stdout for --help and --version
...
Reviewed-by: vromero
2016-08-03 16:01:09 -07:00
Joe Darcy
498a90cde6
8163113: langtools repeating annotations tests depend rely on annotations toString output
...
Reviewed-by: jlahoda, vromero
2016-08-03 11:30:27 -07:00
Steve Drach
e6f3a52942
8143366: Control characters in constant pool strings are not escaped properly
...
Reviewed-by: jjg
2016-07-29 12:27:08 -07:00
Kumar Srinivasan
281438728d
8154705: invalid use of ALL-MODULE-PATH causes crash
...
Introducing Modules.initModules as a clear point where the module graphs is initialized in javac
Reviewed-by: jjg, ksrini
2016-07-20 12:49:32 -07:00
Srikanth Adayapalam
90a4b8ab1a
8158224: NullPointerException in com.sun.tools.javac.comp.Modules.checkCyclicDependencies when module missing
...
Reviewed-by: jlahoda
2016-07-28 10:13:34 +05:30
Vicente Romero
00275bd95e
8161277: javax.lang.model.util.Types.isSameType(...) returns true on wildcards
...
Reviewed-by: mcimadamore
2016-07-27 07:07:10 -07:00
Vicente Romero
8480651475
8161019: javac, fold formatter options
...
Reviewed-by: mcimadamore, jjg
2016-07-26 07:45:29 -07:00
Maurizio Cimadamore
f89b798523
8161985: Spurious override of Object.getClass leads to NPE
...
Attr.adjustMethodReturnType() tweaks return types w/o checking what method is being patched
Reviewed-by: vromero
2016-07-22 12:38:06 +01:00
Vicente Romero
0bba28db43
8161383: javac is looking for operator symbols at the wrong place
...
Reviewed-by: mcimadamore
2016-07-19 11:27:56 -07:00
Dan Smith
a78d1e0b44
8161013: Never treat anonymous classes as 'final'
...
Reviewed-by: vromero
2016-07-14 11:57:15 -06:00
Mandy Chung
de4f424b8c
8160398: (jdeps) Replace a list of JDK 8 internal API for detecting if it's removed in JDK 9 or later
...
Reviewed-by: dfuchs
2016-07-13 14:41:27 -07:00