Commit Graph

1231 Commits

Author SHA1 Message Date
Andreas Lundblad
f6875dad27 8024415: Bug in javac Pretty: Wrong precedence in JCConditional trees
Fixed precedence and associativity issues with pretty printing of JCConditional expressions.

Co-authored-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: jfranck
2013-10-08 15:33:28 +02:00
Joe Darcy
640945b6f3 8026017: Make history of AnnotatedConstruct methods in jx.l.m.e.Element clearer
Reviewed-by: jjg
2013-10-07 16:51:56 -07:00
Kumar Srinivasan
74d2e71e10 8003537: javap use internal class name when printing bound of type variable
Reviewed-by: jjg
2013-10-04 16:08:18 -07:00
Jonathan Gibbons
bb2e47a5f4 8025970: Spurious characters in JavaCompiler
Reviewed-by: ksrini
2013-10-04 15:24:42 -07:00
Jonathan Gibbons
6995b57041 6525408: DiagnosticListener should receive MANDATORY_WARNING in standard compiler mode
Reviewed-by: darcy
2013-10-04 14:46:46 -07:00
Jonathan Gibbons
be225c4b49 8022163: javac exits with 0 status and no messages on error to construct an ann-procesor
Reviewed-by: darcy
2013-10-04 13:59:13 -07:00
Bhavesh Patel
b10f820519 8024756: method grouping tabs are not selectable
Reviewed-by: jjg
2013-10-04 13:41:13 -07:00
Bhavesh Patel
7ad9444ac1 8008164: Invisible table captions in javadoc-generated html
Reviewed-by: jjg
2013-10-04 13:32:30 -07:00
Joe Darcy
e18872a5a9 8025913: Rename jdk.Supported to jdk.Exported
Reviewed-by: psandoz, forax, lancea, alanb, mchung, jjg
2013-10-04 10:00:28 -07:00
Alexander Zuev
bb40243d1a 7096170: should remove unused support for enabling javac logging
Reviewed-by: jjg
2013-10-04 19:38:55 +04:00
Jan Lahoda
dd031ed38f 8025118: Annotation processing api returns default modifier for interface without default methods
TypeElement.getModifiers() should not contain Modifier.DEFAULT

Reviewed-by: darcy, jjg
2013-10-04 08:29:54 +02:00
Vicente Romero
696179bbda 8023679: Improve error message for '_' used as a lambda parameter name
Reviewed-by: jjg, dlsmith
2013-10-02 17:04:51 +01:00
Eric McCorkle
d9502c856a 8021339: Compile-time error during casting array to intersection
Add ability to have arrays in intersection types.

Reviewed-by: jjg, vromero
2013-10-01 17:41:57 -04:00
Alexander Zuev
2f3d9d1376 7118749: NPE in CreateSymbols caused by bad diagnostic
Reviewed-by: jjg
2013-10-01 17:03:31 +04:00
Eric McCorkle
d03ac9784a 8025413: NPE in Type.java due to recent change
IsCompound throws a NPE for noType and other types.  Made it return a reasonable result instead.

Reviewed-by: jjg, vromero
2013-09-28 13:46:14 -04:00
Kumar Srinivasan
b43acfee98 8015073: c.s.t.javac.api.JavacTool.getTask() - more informative exception
Reviewed-by: jjg
2013-09-27 16:05:56 -07:00
Alexander Zuev
e0f4378a6c 6978886: javadoc shows stacktrace after print error resulting from disk full
Reviewed-by: jjg
2013-09-27 21:20:01 +04:00
Jan Lahoda
6c9b134b12 8022765: Compiler crashes with exception on wrong usage of an annotation
Error recovery for incorrect annotation attribute values - ensure the values are always attributed appropriately

Reviewed-by: jfranck, jjg
2013-09-27 17:28:31 +02:00
Vicente Romero
cae732b133 8024497: crash returning this-referencing lambda from default method
Reviewed-by: jjg, rfield
2013-09-27 10:24:56 +01:00
Jan Lahoda
26b536e23d 8025491: Javac regression test tools/javac/T8003967/DetectMutableStaticFields.java failing
Making HtmlTree.NONENCODING_CHARS final

Reviewed-by: jjg
2013-09-26 20:07:43 +02:00
Bhavesh Patel
a949e946ab 8004825: javadoc crash DocletAbortException
Reviewed-by: jjg
2013-09-25 22:26:42 -07:00
Michael Fang
33c36e737b Merge 2013-09-25 14:02:16 -07:00
Jonathan Gibbons
9692733c7a 8025407: TypeAnnotations does not use Context
Reviewed-by: jfranck
2013-09-25 11:07:05 -07:00
Michael Fang
ad5dc502a5 Merge 2013-09-25 07:36:37 -07:00
Bhavesh Patel
2233312946 8016328: Regression : Javadoc i18n regression caused by fix for 8012375
Reviewed-by: jjg
2013-09-24 16:12:06 -07:00
Michael Fang
7dac5a00c3 Merge 2013-09-24 14:35:24 -07:00
Michael Fang
072f43e117 8025215: jdk8 l10n resource file translation update 4
Reviewed-by: naoto, yhuang
2013-09-24 14:20:33 -07:00
Jonathan Gibbons
48d1808d53 8002154: [doclint] doclint should check for issues which are errors in javadoc
Reviewed-by: bpatel
2013-09-24 13:48:12 -07:00
Jonathan Gibbons
e762b2997d 8025272: doclint needs to check for valid usage of @value tag
Reviewed-by: bpatel
2013-09-24 11:46:25 -07:00
Jonathan Gibbons
026c5d7620 8025246: [doclint] doclint is showing error on anchor already defined when it's not
Reviewed-by: bpatel
2013-09-24 10:51:28 -07:00
Jonathan Gibbons
14ceb05e0e 8025050: Doclint doesn't recognize <dfn> tag
Reviewed-by: bpatel
2013-09-24 10:48:11 -07:00
Eric McCorkle
c101eca6bb 6499673: Assertion check for TypeVariable.getUpperBound() fails
Fix TypeVariable.getUpperBound to return results as specified

Reviewed-by: jjg
2013-09-23 15:37:59 -04:00
Alexander Zuev
e815841576 4881267: improve diagnostic for "instanceof T" for type parameter T
Reviewed-by: vromero, jjg
2013-09-23 18:29:27 +04:00
Andreas Lundblad
48774216f2 6386236: Please rename com.sun.tools.javac.util.ListBuffer.lb()
Static factory method ListBuffer.lb removed. Replaced by constructor calls.

Reviewed-by: jfranck, jjg
2013-09-23 10:42:38 +02:00
Vicente Romero
70e873ec73 8024696: Missing null check in bound method reference capture
Reviewed-by: jjg, briangoetz
2013-09-22 12:53:03 +01:00
Jan Lahoda
9f6d1df747 8023835: TreeMaker.QualIdent() too leafy
Reviewed-by: jjg
2013-09-20 16:33:35 +02:00
Werner Dietl
8b909ba558 8025110: TreeCopier does not correctly copy LabeledStatementTree
Reviewed-by: jjg
2013-09-19 19:18:37 -07:00
Vicente Romero
e3d450e3d3 8024437: Inferring the exception thrown: sometimes fails to compile
Reviewed-by: jjg
2013-09-19 20:57:37 +01:00
Fredrik Öhrström
5db62ec900 8024609: sjavac assertion fails during call to BuildState.collectArtifacts
Reviewed-by: jjg
2013-09-19 08:26:26 -07:00
Jan Lahoda
1c9e7a8edc 8022567: Javac Should Generate Warnings For Raw Array Type
Reviewed-by: jjg
2013-09-19 17:05:08 +02:00
Alexander Zuev
ca51d27ee3 8017248: Compiler Diacritics Issue
Reviewed-by: naoto
2013-09-19 17:05:32 +04:00
Bhavesh Patel
484e378a9d 8015249: javadoc fails to document static final fields in annotation types
Reviewed-by: jjg
2013-09-18 17:13:26 -07:00
Andreas Lundblad
775822bed7 8024127: javac, Code_attribute.exception_table_langth should be Code_attribute.exception_table_length
Exception_table_langth renamed to exception_table_length

Reviewed-by: jfranck, jjg
2013-09-18 14:39:27 +02:00
Jonathan Gibbons
7cc012b008 8024538: -Xdoclint + -Xprefer:source + incremental compilation == FAIL
Reviewed-by: darcy
2013-09-17 14:17:13 -07:00
Jan Lahoda
315696de00 8021112: Spurious unchecked warning reported by javac
6480588: No way to suppress deprecation warnings when implementing deprecated interface

Fixing DeferredLintHandler configuration, so lint warnings are reported with correct @SuppressWarnings settings

Reviewed-by: jjg, vromero
2013-09-16 14:13:44 +02:00
Vicente Romero
86baa378e4 7047734: javac, the LVT is not generated correctly in several scenarios
Reviewed-by: jjg, mcimadamore
2013-09-14 19:04:47 +01:00
Vicente Romero
0a312ba2ce 8024207: javac crash in Flow.AssignAnalyzer.visitIdent
Reviewed-by: jjg
2013-09-14 15:23:21 +01:00
Vicente Romero
204f4422ba 8023558: Javac creates invalid bootstrap methods for complex lambda/methodref case
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: jjg
2013-09-12 22:40:29 +01:00
Eric McCorkle
914b1751c4 8013846: javac fails to reject semantically equivalent generic method declarations
Cause javac to consider intersection types with the same elements to be equal regardless of order.

Reviewed-by: jjg, vromero
2013-09-12 14:52:28 -04:00
Bhavesh Patel
a357688f61 8015496: Information that package is deprecated is missing in profiles view
Reviewed-by: jjg
2013-09-11 14:50:11 -07:00