Commit Graph

2292 Commits

Author SHA1 Message Date
Bhavesh Patel
3033b82865 8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
Reviewed-by: jjg
2013-10-24 11:22:50 -07:00
Christine Lu
7217e11778 Added tag jdk8-b113 for changeset 220220c28a95 2013-10-24 09:10:52 -07:00
Eric McCorkle
e62fb20a59 8023682: Incorrect attributes emitted for anonymous class declaration
Cause javac to emit type annotations on new instruction as well as anonymous class supertype for annotated anonymous classes.

Reviewed-by: jjg, jfranck
2013-10-24 01:27:10 -04:00
Eric McCorkle
fb5a684124 8006732: support correct bytecode storage of type annotations in multicatch
Fix issue with annotations being added before attribution, which causes multicatch not to work right and several tests to fail.

Reviewed-by: jfranck, jjg
2013-10-23 23:20:32 -04:00
Jan Lahoda
017ea08922 8026936: Initialize LamdbaToMethod lazily and as required
Reviewed-by: jjg, rfield
2013-10-23 15:45:18 -07:00
David Katleman
a9467bf52b Merge 2013-10-23 08:50:36 -07:00
Jan Lahoda
14fe29f845 8026861: Wrong LineNumberTable for variable declarations in lambdas
Setting or correcting positions for many trees produced by LambdaToMethod.

Reviewed-by: vromero, rfield
2013-10-23 07:50:04 +02:00
Jan Lahoda
237d1940c6 8027191: Fix for JDK-8026861 refers to an incorrect bug number
Reverting changeset e7c8a164d7bd, so that it can be applied again with a correct bug number

Reviewed-by: jjg
2013-10-23 23:02:17 +02:00
Bhavesh Patel
80787f47a9 8026770: javadoc creates invalid HTML in profile summary pages
Reviewed-by: jjg
2013-10-23 13:54:13 -07:00
Robert Field
c9ceea7ac7 8022720: Method refeerences - private method should be accessible (nested classes)
Reviewed-by: jjg, ksrini
2013-10-23 10:28:10 -07:00
Jan Lahoda
5ea357c66e 8026508: Invokedynamic instructions don't get line number table entries
Setting or correcting positions for many trees produced by LambdaToMethod.

Reviewed-by: vromero, rfield
2013-10-23 07:50:04 +02:00
Jonathan Gibbons
806a84e4de Merge 2013-10-22 17:44:43 -07:00
Jonathan Gibbons
53d2f8ae31 8027119: Cleanup javadoc comments for taglet API
Reviewed-by: mduigou
2013-10-22 17:42:10 -07:00
Robert Field
69709943c3 8023668: Desugar serializable lambda bodies using more robust naming scheme
Lambda / bridged method-reference naming overhaul

Reviewed-by: ksrini, briangoetz
2013-10-22 16:53:21 -07:00
Tim Bell
4c2ade4cc3 8027039: [jprt] Remove 32-bit Solaris from jprt.properties files
Reviewed-by: mduigou, mchung
2013-10-22 16:30:06 -07:00
Vicente Romero
48b6b38e52 8025290: javac implicit versus explicit lambda compilation error
Reviewed-by: jjg, dlsmith
2013-10-22 13:54:49 +01:00
Joel Borggrén-Franck
d8d3ea2057 8026857: AnnoConstruct.getAnnotationsByType does not search supertype for inherited annotations if @SomeContainer({}) is present
An empty container should not stop javac from looking at supertypes for inherited repeating annotations

Reviewed-by: jjg
2013-10-22 10:08:49 +02:00
Kumar Srinivasan
39fb59399a 8026758: Inefficient code in LambdaToMethod
Reviewed-by: jjg, jlahoda, rfield
2013-10-21 20:10:43 -07:00
Joel Borggrén-Franck
4a79e1cec8 8026855: AnnoConstruct.getAnnotationsByType includes inherited indirectly present annotations even when containee type is not inheritable
In AnnoConstruct.getAnnotationByType() check that the annotation sought after is inherited before looking on supertypes.

Reviewed-by: jjg
2013-10-22 03:36:44 +02:00
Joe Darcy
7b509ee987 8026984: Clarity intended use of jdk.Exported
Reviewed-by: psandoz, mr, alanb
2013-10-21 15:37:11 -07:00
Vicente Romero
43754fccbd 8026956: test tools/javac/lambda/TargetType58.java is failing after a libs change
Reviewed-by: jfranck
2013-10-21 15:55:02 +01:00
Kumar Srinivasan
24394acaea 8026931: MethodParameters tests failing on Windows
Reviewed-by: jjg, vromero
2013-10-20 12:54:17 -07:00
Werner Dietl
29582c0ec0 8026791: wrong type_path encoded for method_return on an inner class constructor
Reviewed-by: jjg
2013-10-20 12:46:12 -07:00
Werner Dietl
84cadf2e45 8025109: Better encapsulation for AnnotatedType
Reviewed-by: jjg
2013-10-20 12:01:43 -07:00
Vicente Romero
027b935c1b 8024809: javac, some lambda programs are rejected by flow analysis
Reviewed-by: jjg, dlsmith
2013-10-19 17:43:09 +01:00
Bhavesh Patel
cee70e2272 8026567: Use meaningful style names for strong and italic styles
Reviewed-by: jjg
2013-10-18 16:34:42 -07:00
Jonathan Gibbons
cf30c20337 8026749: Missing LV table in lambda bodies
Reviewed-by: vromero, jlahoda
2013-10-18 15:03:34 -07:00
Joe Darcy
f8e08a9965 8026838: Fix new doclint issues in javax.annotation.processing
Reviewed-by: jjg
2013-10-17 19:10:19 -07:00
Lana Steuck
1761325728 Merge 2013-10-17 16:13:39 -07:00
Mandy Chung
1285dee32b 8015912: jdeps support to output in dot file format
8026255: Switch jdeps to follow traditional Java option style

Reviewed-by: alanb
2013-10-17 13:19:48 -07:00
Christine Lu
28cd7f48ee Added tag jdk8-b112 for changeset 96faa2507e3a 2013-10-17 09:41:12 -07:00
Matherey Nunez
c57660ca19 8008192: Better ordering checks needed in repeatingAnnotations/combo/ReflectionTest
Reviewed-by: jjg, jfranck
2013-10-17 13:50:00 +02:00
Matherey Nunez
7c6e4696ab 8015372: Update tests for Method Parameter Reflection API to check whether a parameter is final
Reviewed-by: jjg, jfranck
2013-10-17 13:27:36 +02:00
Eric McCorkle
b8aff04aa0 8026286: Improper locking of annotation queues causes assertion failures
8026063: Calls to annotate.flush() cause incorrect type annotations to be generated

Fix locking in ClassReader.java

Reviewed-by: jfranck
2013-10-16 16:33:04 -04:00
David Katleman
6c2816e717 Merge 2013-10-16 12:05:07 -07:00
Jonathan Gibbons
ef68cc1fc1 8026704: Build failure with --enable-debug
Reviewed-by: ksrini
2013-10-16 10:47:21 -07:00
Werner Dietl
e5c34a89eb 8026564: import changes from type-annotations forest
Co-authored-by: Steve Sides <steve.sides@oracle.com>
Reviewed-by: jjg
2013-10-15 15:57:13 -07:00
Jan Lahoda
912fc38c65 8026510: The name of com.sun.tools.javac.comp.Annotate.Annotator is confusing
A mostly automated rename Annotate.Annotator->Annotate.Worker and enterAnnotation->run.

Reviewed-by: emc, jjg
2013-10-15 22:15:35 +02:00
Chris Hegarty
f5392a9718 Merge 2013-10-15 21:12:33 +01:00
Vicente Romero
1868655b89 8024947: javac should issue the potentially ambiguous overload warning only where the problem appears
Reviewed-by: jjg
2013-10-15 21:02:21 +01:00
Chris Hegarty
0fd34f307d Merge 2013-10-15 20:47:55 +01:00
Vicente Romero
53cc43916a 8025816: javac crash with method reference with a type variable as the site
Reviewed-by: jjg
2013-10-15 19:36:45 +01:00
Bhavesh Patel
99e02c21cd 8026370: javadoc creates empty <span class="italic"></span>
Reviewed-by: jjg
2013-10-15 11:20:27 -07:00
Jan Lahoda
52d83865b8 8026180: com.sun.source.tree.NewArrayTree refers to com.sun.tools.javac.util.List
Correcting import in NewArrayTree, adding test protecting againts improper types in API signatures

Reviewed-by: jjg
2013-10-15 16:23:18 +02:00
Chris Hegarty
95866e7e4f Merge 2013-10-15 14:17:11 +01:00
Jonathan Gibbons
0837163643 8025998: Missing LV table in lambda bodies
Reviewed-by: vromero
2013-10-14 23:07:43 -07:00
Jonathan Gibbons
31b34ce39c 8025693: recent javadoc changes cause com/sun/javadoc/testLinkOption/TestLinkOption.java to fail
Reviewed-by: darcy
2013-10-14 22:34:37 -07:00
Jonathan Gibbons
fc85ec65d8 8026371: "tidy" issues in langtools/src/**/*.html files
Reviewed-by: darcy
2013-10-14 16:28:44 -07:00
Jan Lahoda
da21af58f4 8014016: javac is too late detecting invalid annotation usage
Adding new queue to Annotate for validation tasks, performing annotation validation during enter

Reviewed-by: jjg, emc, jfranck
2013-10-14 22:11:09 +02:00
Jonathan Gibbons
09523f2583 8026368: doclint does not report empty tags when tag closed implicitly
Reviewed-by: darcy
2013-10-14 12:38:09 -07:00
Chris Hegarty
0eadafa765 Merge 2013-10-11 19:05:18 +01:00
Jan Lahoda
958096d69b 6278240: Exception from AnnotationValue.getValue() should list the found type not the required type
Reviewed-by: darcy, jfranck, jjg
2013-10-11 15:49:15 +02:00
Lana Steuck
7f8a6a5898 Merge 2013-10-11 03:09:42 -07:00
Robert Field
a8e63b82f1 8012557: Implement lambda methods on interfaces as private
8016320: Method reference in subinterface of type I.super::foo produces exception at runtime

Now that the VM supports interface instance private methods, lambda methods and lambda bridges are always private. Access is now through invokespecial.

Reviewed-by: vromero, jlahoda
2013-10-10 23:26:56 -07:00
Lana Steuck
aa4594456d Merge 2013-10-10 20:57:27 -07:00
Jonathan Gibbons
a29d963e53 8026294: 8025633 breaks langtools/test/com/sun/javadoc/testRepeatedAnnotations/TestRepeatedAnnotations.java
Reviewed-by: darcy
2013-10-10 17:13:32 -07:00
Eric McCorkle
a78344ba67 8008762: Type annotation on inner class in anonymous class show up as regular type annotations
8015257: type annotation with TYPE_USE and FIELD attributed differently if repeated
8013409: test failures for type annotations

Fixes to address some problems in type annotations

Reviewed-by: jfranck, jjg
2013-10-10 20:12:08 -04:00
Lana Steuck
fb3c32d988 Merge 2013-10-10 13:41:08 -07:00
Eric McCorkle
ad8c918fb1 8019461: Clean up javac diagnostics
7196553: Review error messages for repeating annotations

Changes to the diagnostic messages to improve clarity and JLS coherence

Reviewed-by: jjg
2013-10-10 13:55:41 -04:00
Bhavesh Patel
a7125b5d2e 8025633: Fix javadoc to generate valid anchor names
Reviewed-by: jjg
2013-10-10 10:51:15 -07:00
Christine Lu
67a4e0fd30 Added tag jdk8-b111 for changeset 9c619baa6191 2013-10-10 10:09:28 -07:00
Magnus Ihse Bursie
a706cda2ed 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 14:58:04 +02:00
Andreas Lundblad
3e4c0741c4 8021237: clean up JavacAnnotatedConstruct
Refactored the static helper methods in JavacAnnoConstructs into ordinary methods and put them in a common superclass (AnnoConstruct) of Symbol and Type.

Reviewed-by: jjg, vromero, jfranck
2013-10-10 08:51:55 +02:00
Jan Lahoda
5ec0ba7c47 8025087: Annotation processing api returns default modifier for interface static method
ClassReader must not set Flags.DEFAULT for interface static methods

Reviewed-by: vromero, jjg
2013-10-09 13:09:31 +02:00
Jan Lahoda
7de3ec870d 8025141: java.lang.ClassFormatError: Illegal field modifiers in class (...)
Should not generate non-public $assertionsDisabled field into interfaces

Reviewed-by: jjg, vromero
2013-10-09 13:06:49 +02:00
Lana Steuck
33306e57d3 Merge 2013-10-08 14:59:46 -07:00
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
Steve Sides
03c9c56f88 8005542: jtreg test OverrideBridge.java contains @ignore
Reviewed-by: jjg
2013-10-04 16:23:05 -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
Chris Hegarty
85829db5d3 Merge 2013-10-03 19:28:07 +01:00
David Katleman
31995e22ba Added tag jdk8-b110 for changeset f5f4ff5ce376 2013-10-02 13:26:54 -07: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
Lana Steuck
cb1bbba5c8 Merge 2013-09-27 18:38:29 -07: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
Robert Field
9a6f8e8463 8025548: langtools test tools/javac/lambda/methodReference/BridgeMethod.java incorrectly assumes no other methods generated in lambda class
Reviewed-by: vromero
2013-09-27 13:06:38 -07:00
Mike Duigou
e3e8d44bd7 8024842: Define ABS_TEST_OUTPUT_DIR via TEST_OUTPUT_DIR
Reviewed-by: ihse, erikj, vromero
2013-09-27 11:34:32 -07:00
Sonali Goel
475b209cf7 8025537: Convert 2 javac/enumdeclarations tests in jtreg for regression ws
Reviewed-by: jjg
2013-09-27 10:39:52 -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
Lana Steuck
87d0ea84c1 Merge 2013-09-26 17:23:00 -07:00
Sonali Goel
e60e01be01 8011738: Write test to check for bootstrap attributes for lambda expressions in class file
Reviewed-by: mcimadamore
2013-09-26 15:04:15 -07:00
Vicente Romero
f5a3e39f94 8025139: javac patch for using bootstrap compiler for debugging is not working properly
Reviewed-by: jjg
2013-09-26 19:06:09 +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
Christine Lu
58d873f65a Added tag jdk8-b109 for changeset 70dd6db0a869 2013-09-26 10:43:55 -07:00
Bhavesh Patel
a949e946ab 8004825: javadoc crash DocletAbortException
Reviewed-by: jjg
2013-09-25 22:26:42 -07:00
Jonathan Gibbons
fd9a09c390 8025412: Add legal header and comments to test/tools/doclint/tidy/util/Main.java
Reviewed-by: bpatel
2013-09-25 14:04:24 -07:00
Michael Fang
33c36e737b Merge 2013-09-25 14:02:16 -07:00
Tim Bell
2578c3a839 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:24:13 -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
Alexander Zuev
eacd2bcb72 7154966: CRs found to be in Fixed state with no test and no noreg- keyword
Reviewed-by: ksrini
2013-09-23 17:27:38 +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
Andreas Lundblad
a2a38c6b65 8024988: javac, LVT test harness should generate tests .class files in the scratch folder
Set the CLASS_OUTPUT location to the scratch directory. Changed the argument to checkClassFile accordingly.

Reviewed-by: jjg, vromero
2013-09-23 10:10:07 +02:00
Lana Steuck
186556ad21 Merge 2013-09-22 20:20:38 -07: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
Lana Steuck
e432d5256a Merge 2013-09-20 19:16:55 -07: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
Christine Lu
cb06edc1bf Added tag jdk8-b108 for changeset 669e1adcbf50 2013-09-19 09:37:26 -07: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
2be05076f8 8024096: some javadoc tests may contain false positive results
Reviewed-by: jjg
2013-09-18 22:47:06 -07: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
Lana Steuck
8ba6b5e2f1 Merge 2013-09-17 08:21:11 -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
Chris Hegarty
db6134b0fa Merge 2013-09-14 20:46:37 +01: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
Christine Lu
2de4350911 Added tag jdk8-b107 for changeset bd69808a67e1 2013-09-12 11:09:20 -07: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
Eric McCorkle
1b72835883 8024510: lib/combo/tools/javac/combo/TemplateTest.java fails
Edit regex in Template to allow "MAJOR." pattern.

Reviewed-by: briangoetz
2013-09-11 08:30:58 -04:00
Maurizio Cimadamore
de5e0f4b27 8024414: javac, should facilitate the use of the bootstrap compiler for debugging
Reviewed-by: jjg
2013-09-10 16:47:40 +01:00
Andreas Lundblad
fae7d60062 8005222: Fixed bugs should have tests with bugid in @bug tag
Reviewed-by: jfranck, jjg
2013-09-10 13:47:51 +02:00
Jan Lahoda
a9e5e17bd2 8019521: Enhanced rethrow disabled in lambdas
Fixing effectively final detection inside lambdas, small cleanup related to thrown types detection in lambdas

Reviewed-by: mcimadamore, jjg
2013-09-09 23:13:45 +02:00
Jonathan Gibbons
810c76f567 8006972: jtreg test fails: test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java
Reviewed-by: darcy
2013-09-09 17:36:23 -07:00
Brian Goetz
b03e5fc290 8015322: Javac template test framework
Putback of the javac template test framework from the Lambda repository

Reviewed-by: jjg
2013-09-09 17:11:55 -04:00
Eric McCorkle
5b76a0d216 8022322: Reject default and static methods in annotation
Causes javac to reject static and default method declarations inside an annotation

Reviewed-by: jjg
2013-09-09 16:26:55 -04:00
Vicente Romero
1704a9454c 8024154: Fix for 8016177: structural most specific and stuckness breaks 6 langtools tests
Reviewed-by: jjg, jfranck
2013-09-09 16:32:08 +01:00
Andreas Lundblad
5df75e001d 8022260: Rename javac.code.Annotations to javac.code.SymbolMetadata
Reviewed-by: jfranck, jjg
2013-09-09 09:58:20 +02:00
Vicente Romero
a3b1359af5 8024398: javac, compiler crashes with try with empty body
Reviewed-by: jjg
2013-09-08 11:54:21 +01:00
Lana Steuck
8e78895234 Merge 2013-09-06 17:10:02 -07:00
Jonathan Gibbons
f607953eb8 8024434: problem running javadoc tests in samevm mode on Windows
Reviewed-by: darcy
2013-09-06 15:31:59 -07:00
Lana Steuck
f8f8a3aa45 Merge 2013-09-06 14:20:49 -07:00
Chris Hegarty
0983a5be41 Merge 2013-09-06 10:05:08 +01:00
Vicente Romero
26758f0ffd 8024039: javac, previous solution for JDK-8022186 was incorrect
Reviewed-by: jjg
2013-09-06 09:53:24 +01:00
Bhavesh Patel
9c6d420370 8023608: method grouping tabs folding issue
Reviewed-by: jjg
2013-09-05 16:35:47 -07:00
Christine Lu
16c7de0027 Added tag jdk8-b106 for changeset fa7b69611589 2013-09-05 02:46:21 -07:00
Andreas Lundblad
4bf1e0d989 8023974: Drop 'implements Completer' and 'implements SourceCompleter' from ClassReader resp. JavaCompiler
Reviewed-by: jjg, jfranck
2013-09-05 11:27:27 +02:00
Jonathan Gibbons
7da0f59aec 8024288: javadoc generated-by comment should always be present
Reviewed-by: bpatel
2013-09-04 14:44:05 -07:00
Vicente Romero
d28e08b529 8008275: javac.Main should be @Supported
Reviewed-by: jjg
2013-09-04 11:53:09 +01:00
Maurizio Cimadamore
4cc7a55aab 8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
Reviewed-by: jjg, vromero
2013-09-04 00:01:05 +01:00
Vicente Romero
cab6b226ff 8023545: Misleading error message when using diamond operator with private constructor
Reviewed-by: jjg
2013-09-03 23:41:37 +01:00
Maurizio Cimadamore
06caeea3d6 8023389: Javac fails to infer type for lambda used with intersection type and wildcards
Reviewed-by: jjg, vromero
2013-09-03 23:31:33 +01:00
Vicente Romero
46d7a993ad 8022162: Incorrect signature determination for certain inner class generics
Reviewed-by: jjg
2013-09-02 22:44:06 +01:00
Maurizio Cimadamore
0382c78ff1 8016177: structural most specific and stuckness
Reviewed-by: jjg, vromero
2013-09-02 22:38:36 +01:00
Evgeniya Stepanova
4337286502 8015663: Need to supply tests to provide javadoc for profiles support code coverage
Reviewed-by: jjg
2013-08-30 17:36:47 -07:00
Bhavesh Patel
b8f8cab5f4 8022738: doclet should only generate functional interface text if source >= 8
Reviewed-by: jjg
2013-08-30 16:38:54 -07:00
Jonathan Gibbons
4cf2250826 8008367: Sub-packages missing from Profiles javadoc
Reviewed-by: bpatel
2013-08-30 16:27:08 -07:00
Bhavesh Patel
5793c3a33c 8015882: Javadoc prints NPE when using Taglet
Reviewed-by: jjg
2013-08-30 16:16:28 -07:00
Bhavesh Patel
2b93265564 7198273: RFE : Javadoc Accessibility : Hyperlinks should contain text or an image with alt text
Reviewed-by: jjg
2013-08-30 15:59:33 -07:00
Jonathan Gibbons
3dd18b5d8c 8024093: Two *.rej files checked in to langtools/test directory
Reviewed-by: mchung
2013-08-30 15:14:51 -07:00
Jonathan Gibbons
4449fa0c56 8023700: Use non breaking space in various labels
Reviewed-by: bpatel
2013-08-30 11:48:36 -07:00
Chris Hegarty
bed1164562 Merge 2013-08-30 10:17:10 +01:00
Jonathan Gibbons
d7bccbe430 8023833: Replace direct use of AnnotatedType in javadoc code
Reviewed-by: darcy
2013-08-29 19:19:23 -07:00
Lana Steuck
1fd46874aa Merge 2013-08-29 16:34:12 -07:00
Jonathan Gibbons
9ffac2cf47 8022744: javac -Xpkginfo command's documentation is sparse
Reviewed-by: darcy
2013-08-29 12:11:36 -07:00
Jonathan Gibbons
50d89c0ca7 8013384: Potential infinite loop in javadoc
Reviewed-by: darcy
2013-08-29 12:03:28 -07:00
Jonathan Gibbons
445a49ecb6 8023522: tools/javac/tree/TypeAnnotationsPretty.java test cases with @TA newline fail on windows only
Reviewed-by: darcy
2013-08-29 11:57:52 -07:00
Jonathan Gibbons
a001ae0b98 8001669: javadoc internal DocletAbortException should set cause when appropriate
Reviewed-by: darcy
2013-08-29 11:41:20 -07:00
Christine Lu
048d171c6a Added tag jdk8-b105 for changeset aa9db9b9ecb1 2013-08-29 09:42:12 -07:00
Jonathan Gibbons
c56513ee82 8010310: [javadoc] Error processing sources with -private
Reviewed-by: vromero, mcimadamore
2013-08-28 15:40:33 -07:00
Henry Jen
8873ff4e48 8014566: Remove @ignore tags from MethodReference66 and InInterface when 8013875 is fixed
Reviewed-by: briangoetz, jjg
2013-08-28 10:17:23 -07:00
Joe Darcy
336aaacb9d 8023826: Typo in warning about obsolete source / target values
Reviewed-by: jjg, wmdietl
2013-08-27 11:58:53 -07:00
Bhavesh Patel
856570998b 7052170: javadoc -charset option generates wrong meta tag
Reviewed-by: jjg
2013-08-27 11:41:39 -07:00
Lana Steuck
d9ce1f067a Merge 2013-08-26 22:18:38 -07:00
Werner Dietl
d99f710f70 8023768: Use the unannotatedType in cyclicity checks
Reviewed-by: jjg
2013-08-26 15:55:46 -07:00
Lana Steuck
3674bb7404 Merge 2013-08-26 14:54:10 -07:00
Jonathan Gibbons
041cadb78d 8023701: Fix badly named test
Reviewed-by: bpatel
2013-08-26 11:48:37 -07:00
Lana Steuck
83b39d45ac Merge 2013-08-23 14:17:49 -07:00
Chris Hegarty
9b9f3253d3 Merge 2013-08-23 22:12:54 +01:00
Jonathan Gibbons
32a617d198 8022173: Relax some warnings in doclint
Reviewed-by: darcy
2013-08-22 12:41:20 -07:00
Eric McCorkle
0d3a9fcd89 8020745: Suspicious MethodParameters attribute generated for local classes capturing local variables
Corrected an error in a previous patch that caused captured locals to be added to the beginning, not the end of a parameter list.

Reviewed-by: jjg, mcimadamore, ksrini, abuckley
2013-08-22 12:47:46 -04:00
Christine Lu
f06b171fe2 Added tag jdk8-b104 for changeset c45de6831abc 2013-08-22 09:10:22 -07:00
Vicente Romero
c65abc95df 8023112: javac should not use lazy constant evaluation approach for method references
Reviewed-by: jjg, mcimadamore
2013-08-22 13:12:43 +01:00
Vicente Romero
7b989a82fd 8022316: Generic throws, overriding and method reference
Reviewed-by: jjg, mcimadamore
2013-08-22 10:22:44 +01:00
Eric McCorkle
febfa82cfb 8023520: Add missing test for JDK-7118412
The test for JDK-7118412 was dropped from the changeset in a merging accident.

Reviewed-by: jjg
2013-08-21 20:41:42 -04:00
Jonathan Gibbons
64412dad17 8022287: javac.sym.Profiles uses a static Map when it should not
Reviewed-by: ksrini
2013-08-21 17:26:22 -07:00
Eric McCorkle
8073e1a535 7118412: Shadowing of type-variables vs. member types
4987840: What is the scope of an annotation?

Fixed issue with shadowing of type names.

Reviewed-by: jjg, abuckley, mcimadamore
2013-08-21 20:23:36 -04:00
Werner Dietl
1dc32a077e 8023515: import type-annotations updates
Reviewed-by: jjg
2013-08-21 16:13:50 -07:00
Lana Steuck
2bf2c26103 Merge 2013-08-20 17:46:21 -07:00
Jonathan Gibbons
c7b90c0ca4 8013887: In class use, some tables are randomly unsorted
Reviewed-by: bpatel
2013-08-20 15:12:16 -07:00
Jonathan Gibbons
f8295608fb 8022080: javadoc generates invalid HTML in Turkish locale
Reviewed-by: bpatel
2013-08-20 14:55:20 -07:00