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
Jonathan Gibbons
de59aa8b3f
8020663: Restructure some properties to facilitate better translation
...
Reviewed-by: darcy
2013-08-20 14:46:54 -07:00
Kumar Srinivasan
c9f3cedbfa
7179455: tools/javac/processing/model/testgetallmembers/Main.java fails against JDK 7 and JDK 8
...
Reviewed-by: jjg
2013-08-20 14:15:45 -07:00
Joe Darcy
557cb9c6b1
8011043: Warn about use of 1.5 and earlier source and target values
...
Reviewed-by: jjg
2013-08-20 12:15:19 -07:00
Joel Borggrén-Franck
07d44a6520
8019243: AnnotationTypeMismatchException instead of MirroredTypeException
...
Reviewed-by: jjg
2013-08-20 17:21:47 +02:00
Alexander Zuev
7947e49ae3
7182350: Regression in wording of unchecked warning message
...
Reviewed-by: mcimadamore, jjg
2013-08-20 17:34:06 +04:00
Kumar Srinivasan
7870f1a6dc
7071377: Exception when javac -processor is given a class name with invalid postfix
...
Reviewed-by: jjg, vromero
2013-08-19 07:47:10 -07:00
Erik Joelsson
99a38df3ab
8023146: Sjavac test failes in langtools nightly
...
Reviewed-by: mcimadamore, jfranck
2013-08-16 16:00:12 +02:00
Jan Lahoda
d992a67102
8022508: javac crashes if the generics arity of a base class is wrong
...
Reviewed-by: mcimadamore, vromero
2013-08-15 22:36:08 +02:00
Chris Hegarty
42ebef739f
Merge
2013-08-15 21:34:46 +01:00
Jan Lahoda
59e0637339
8015809: More user friendly compile-time errors for uncaught exceptions in lambda expression
...
Producing individual errors for uncaught undeclared exceptions inside lambda expressions, rather than one error for the whole lambda
Reviewed-by: mcimadamore
2013-08-15 22:33:43 +02:00
Vicente Romero
746be81338
8022053: javac generates unverifiable initializer for nested subclass of local class
...
Reviewed-by: jjg, mcimadamore
2013-08-16 10:32:42 +01:00
Christine Lu
4d93dffa7b
Added tag jdk8-b103 for changeset 30c8df7a1168
2013-08-15 09:26:00 -07:00
Erik Joelsson
fd4983b254
8015145: Smartjavac needs more flexibility with linking to sources
...
Reviewed-by: jjg, ohrstrom
2013-08-15 17:24:35 +02:00
Bhavesh Patel
0c6e63367d
8016921: Change the profiles table on overview-summary.html page to a list
...
Reviewed-by: jjg
2013-08-14 21:44:51 -07:00
Kumar Srinivasan
d91b6547d3
6840442: JavaCompiler.getTask() has incomplete specification for IllegalArgumentException
...
Reviewed-by: jjg
2013-08-14 18:58:39 -07:00
Jonathan Gibbons
43991d588a
8017191: Javadoc is confused by @link to imported classes outside of the set of generated packages
...
Reviewed-by: bpatel
2013-08-14 16:41:01 -07:00
Kumar Srinivasan
ce4eb93249
8007517: DefaultMethodRegressionTests.java fail in TL
...
Reviewed-by: jjg, vromero
2013-08-14 07:07:55 -07:00
Vicente Romero
d36ef0edd0
8013394: compile of iterator use fails with error \"defined in an inaccessible class or interface\"
...
Reviewed-by: mcimadamore
2013-08-14 10:53:37 +01:00
Lana Steuck
b93ce53426
Merge
2013-08-13 18:34:06 -07:00
Lana Steuck
1e69f7c4c9
Merge
2013-08-13 10:35:35 -07:00
Maurizio Cimadamore
58d92c516a
8021567: Javac doesn't report \"java: reference to method is ambiguous\" any more
...
Javac incorrectly forgets about constant folding results within lambdas
Reviewed-by: jjg, vromero
2013-08-12 17:28:31 +01:00
Maurizio Cimadamore
4e85a5ae43
6537020: JCK tests: a compile-time error should be given in case of ambiguously imported fields (types, methods)
...
Hiding check does not support interface multiple inheritance
Reviewed-by: jjg
2013-08-12 17:25:07 +01:00
Vicente Romero
190f9337b1
6983297: methods missing from NewArrayTree
...
Reviewed-by: jjg
2013-08-10 16:29:26 +01:00
Vicente Romero
22652f5354
8022622: javac, two tests are failing with compile time error after class Collector was modified
...
Reviewed-by: mcimadamore
2013-08-10 16:26:50 +01:00
Vicente Romero
cee3c2853b
8009640
: -profile <compact> does not work when -bootclasspath specified
...
Reviewed-by: jjg
2013-08-10 13:27:38 +01:00
Kumar Srinivasan
35e27fd594
8022161: javac Null Pointer Exception in Enter.visitTopLevel
...
Reviewed-by: jjg, vromero, jlahoda
2013-08-09 15:01:33 -07:00
Chris Hegarty
bea82c70dc
Merge
2013-08-09 14:44:53 +01:00
Christine Lu
18489ee44f
Added tag jdk8-b102 for changeset 8de709d0c375
2013-08-08 10:10:52 -07:00
Vicente Romero
cecb5cc0ea
8019486: javac, generates erroneous LVT for a test case with lambda code
...
Reviewed-by: mcimadamore
2013-08-08 11:49:16 +01:00
Bhavesh Patel
a8090b5024
4749567: stddoclet: Add CSS style for setting header/footer to be italic
...
Reviewed-by: jjg
2013-08-07 16:09:31 -07:00
Bhavesh Patel
69a3c42db7
7198274: RFE : Javadoc Accessibility : Use CSS styles rather than <strong> or <i> tags
...
Reviewed-by: jjg
2013-08-07 15:00:24 -07:00
Vicente Romero
3103641be3
8008274: javac should not reference/use sample code
...
Reviewed-by: jjg
2013-08-07 11:04:07 +01:00
Vicente Romero
0fb4cd9d38
8020997: TreeMaker.AnnotationBuilder creates broken element literals with repeating annotations
...
Reviewed-by: jjg, jfranck
2013-08-07 10:41:20 +01:00
Lana Steuck
7e65ce7648
Merge
2013-08-06 17:12:42 -07:00
Lana Steuck
1d38cac0b6
Merge
2013-08-06 17:01:50 -07:00
Joel Borggrén-Franck
70ac5c3a48
8009367: Wrong kind of name used in comparison in javax.lang.model code for repeatable annotations
...
Reviewed-by: jjg, darcy
2013-08-07 01:32:39 +02:00
Lana Steuck
9bc34baa1a
Merge
2013-08-06 10:03:25 -07:00
Vicente Romero
5f5b303d7e
8022186: javac generates dead code if a try with an empty body has a finalizer
...
Reviewed-by: jjg
2013-08-06 15:08:49 +01:00
Chris Hegarty
e1c0d5e0cc
Merge
2013-08-02 11:11:28 +01:00
Christine Lu
761794aa7c
Added tag jdk8-b101 for changeset f27df16b814f
2013-08-01 04:56:28 -07:00
Kumar Srinivasan
da7f38703d
8014826: c.s.t.javac.tree.Pretty.visitNewArray() prints duplicate dimension markers
...
Reviewed-by: jjg, vromero
2013-07-31 08:37:34 -07:00
Vicente Romero
5540c7cbe1
8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
...
Reviewed-by: jjg
2013-07-31 10:52:01 +01:00
Jan Lahoda
0847cbc403
8021338: Diamond finder may mark a required type argument as unnecessary
...
Reviewed-by: mcimadamore
2013-07-28 10:17:45 +02:00
Jan Lahoda
21ab6d5558
8020689: Missing LineNumberTable entries in compiled class files
...
Reviewed-by: ksrini, mcimadamore
2013-07-28 10:17:45 +02:00
Lana Steuck
f5da332e66
Merge
2013-07-26 14:08:37 -07:00
Chris Hegarty
3ec24e3419
Merge
2013-07-25 19:06:03 +01:00
Maurizio Cimadamore
da6bbaf42b
8020843: javac crashes on accessibility check with method reference with typevar receiver
...
Method reference overload check doesn't walk through type-variable receivers
Reviewed-by: jjg
2013-07-25 14:51:40 +01:00
Maurizio Cimadamore
663170c654
8016081: field initialized with lambda in annotation types doesn't compile
...
Check for annotation attributes should skip over synthetic methods
Reviewed-by: jjg
2013-07-25 14:49:16 +01:00
Maurizio Cimadamore
67362236e8
8020804: javac crashes when speculative attribution infers intersection type with array component
...
Assertion is causing javac to crash because of lack of support for arrays in intersection types
Reviewed-by: jjg
2013-07-25 14:47:43 +01:00
Christine Lu
a2fc898bfc
Added tag jdk8-b100 for changeset 7a1ff44c7732
2013-07-25 03:19:39 -07:00
Joel Borggrén-Franck
2030148ec2
8007961: javax.lang.model tests for repeating annotations fail in getAnnotationsByType
...
Reviewed-by: jjg
2013-07-25 11:02:27 +02:00
Jonathan Gibbons
0c5c756933
8020556: doclint does not check type variables for @throws
...
Reviewed-by: mcimadamore
2013-07-24 17:35:42 -07:00
Bhavesh Patel
dd0661e5ad
8016675: Make Javadoc pages more robust
...
Reviewed-by: jlaskey, ksrini
2013-07-24 15:18:33 -07:00
Eric McCorkle
be2ea6f949
8016880: 42 tests in annot102* fail with compile-time errors
...
Fixes error in type equality when bounds of type variables have annotations.
Reviewed-by: jjg, mcimadamore
2013-07-23 20:42:54 -04:00
Jonathan Gibbons
2a95b6ac74
8021215: javac gives incorrect doclint warnings on normal package statements
...
Reviewed-by: darcy
2013-07-23 16:06:11 -07:00
Lana Steuck
524a340ac9
Merge
2013-07-22 17:39:45 -07:00
Kumar Srinivasan
c6c6fe7b5e
8017216: javac doesn't fill in end position for some errors of type not found
...
8019421: Javac doesn't fill in end position for some annotation related errors
8019422: Javac doesn't fill in end position for uninitialized variable errors
Reviewed-by: jjg, mcimadamore
2013-07-19 07:22:53 -07:00
Christine Lu
c1ca4a663a
Added tag jdk8-b99 for changeset 38dd7ede2dfb
2013-07-18 03:39:33 -07:00
Jonathan Gibbons
c42bcf4526
8020664: doclint gives incorrect warnings on normal package statements
...
Reviewed-by: mcimadamore
2013-07-17 19:16:12 -07:00
Jonathan Gibbons
772640d4e8
8020313: doclint doesn't reset HTML anchors correctly
...
Reviewed-by: mcimadamore
2013-07-17 19:12:03 -07:00
Jonathan Gibbons
89197f0946
8014636: TestLiteralCodeInPre fails on windows
...
Reviewed-by: ksrini
2013-07-17 18:18:45 -07:00
Maurizio Cimadamore
70e005a7eb
8013638: Few policy tests are failing in Lambda nightly
...
BridgeHarness test is leaving files open
Reviewed-by: ksrini
2013-07-17 19:28:40 +01:00
Lana Steuck
be00b8110f
Merge
2013-07-17 10:40:53 -07:00
Jan Lahoda
35af8eccde
8020586: Warning produced for an incorrect file
...
Always using DeferredLintHandler.immediateHandler when processing import classes
Reviewed-by: mcimadamore
2013-07-17 15:08:58 +02:00
Maurizio Cimadamore
a2a579a4bd
8019942: Graph inference: avoid redundant computation during bound incorporation
...
Bound incorporation should not perform same operation multiple times
Reviewed-by: jjg
2013-07-17 14:21:12 +01:00
Maurizio Cimadamore
717a989214
8019340: varargs-related warnings are meaningless on signature-polymorphic methods such as MethodHandle.invokeExact
...
Disable certain varargs warnings when compiling polymorphic signature calls
Reviewed-by: jjg
2013-07-17 14:19:25 +01:00
Maurizio Cimadamore
73953320cc
8020149: Graph inference: wrong logic for picking best variable to solve
...
Replace logic for selecting best inference leaf in the graph during an unsticking round
Reviewed-by: jjg
2013-07-17 14:19:02 +01:00
Maurizio Cimadamore
8850329bc1
8016640: compiler hangs if the generics arity of a base class is wrong
...
Check.checkCompatibleConcretes hang when javac creates synthetic supertypes for 269 model API
Reviewed-by: jjg
2013-07-17 14:16:25 +01:00
Maurizio Cimadamore
defbb67771
7041019: Bogus type-variable substitution with array types with dependencies on accessibility check
...
Call to upperBound() when performing type-variable substitution on element type leads to unsoundness
Reviewed-by: jjg
2013-07-17 14:14:49 +01:00
Maurizio Cimadamore
732e49f6dc
8020286: Wrong diagnostic after compaction
...
Compact diagnostic shows the least relevant method in the list
Reviewed-by: jjg
2013-07-17 14:14:32 +01:00
Maurizio Cimadamore
eb4e8153b3
8020147: Spurious errors when compiling nested stuck lambdas
...
Scope of deferred types is not copied correctly; postAttr analyzer should not run on stuck expressions
Reviewed-by: jjg
2013-07-17 14:13:15 +01:00
Maurizio Cimadamore
e92a56fade
8012238: Nested method capture and inference
...
8008200: java/lang/Class/asSubclass/BasicUnit.java fails to compile
Inference support should be more flexible w.r.t. nested method calls returning captured types
Reviewed-by: jjg, vromero
2013-07-17 14:11:41 +01:00
Maurizio Cimadamore
99b0413d48
8016175: Add bottom-up type-checking support for unambiguous method references
...
Type-checking of non-overloaded method references should be independent from target-type
Reviewed-by: jjg, vromero
2013-07-17 14:09:46 +01:00
Maurizio Cimadamore
941752ea25
8012242: Lambda compatibility and checked exceptions
...
Inference variables in 'throws' clause with no constraints should be inferred as RuntimeException
Reviewed-by: jjg, vromero
2013-07-17 14:04:01 +01:00
Jonathan Gibbons
9dd2fe90d4
8020278: NPE in javadoc
...
Reviewed-by: mcimadamore, vromero
2013-07-12 13:11:12 -07:00
Maurizio Cimadamore
617386d568
8013404: Unclear spec for target typing with conditional operator (?:)
...
Fix previously ignored test
Reviewed-by: jjg, vromero
2013-07-11 15:37:02 +01:00
Robert Field
d3d1da337a
8016281: The SAM method should be passed to the metafactory as a MethodType not a MethodHandle
...
8020010: Move lambda bridge creation from metafactory and VM to compiler
Langtools/javac component of the bridge support and MethodType vs. MethodHandle changes.
Reviewed-by: jjg, vromero, briangoetz, forax
2013-07-11 14:07:39 +01:00
David Katleman
94e178de87
Added tag jdk8-b98 for changeset d3db5fb3d72f
2013-07-11 10:13:57 -07:00
Kumar Srinivasan
424ac16db0
8020214: TEST_BUG: test/tools/javap/8007907/JavapReturns0AfterClassNotFoundTest.java broken
...
Reviewed-by: jjg
2013-07-09 14:54:20 -07:00
Lana Steuck
a7cb4ce7b0
Merge
2013-07-05 13:29:04 -07:00
Lana Steuck
9b5da4e548
Merge
2013-07-05 11:06:24 -07:00
Maurizio Cimadamore
7229f89614
8019824: very long error messages on inference error
...
Inference error messages shows several spurious captured variables generated during an inference loop
Reviewed-by: jjg, vromero
2013-07-05 11:05:02 +01:00
Maurizio Cimadamore
4442f43ea3
8016702: use of ternary operator in lambda expression gives incorrect results
...
Constant types erroneously creep in during inference
Reviewed-by: jjg, vromero
2013-07-05 11:04:22 +01:00
Maurizio Cimadamore
28b5759093
8016059: Cannot compile following lambda
...
8016060: Lambda isn't compiled with return statement
Spurious error triggered during unnecessary recovery round
Reviewed-by: jjg, vromero
2013-07-05 11:03:04 +01:00
Maurizio Cimadamore
86f630b63e
8019480: Javac crashes when method is called on a type-variable receiver from lambda expression
...
Logic for shortcircuiting speculative attribution doesn't handle type-variable receivers
Reviewed-by: jjg, vromero
2013-07-05 11:02:17 +01:00
Maurizio Cimadamore
7e6f7dcca5
8017618: NullPointerException in RichDiagnosticFormatter for bad input program
...
RDF crashes when diagnostic contains type 'void'
Reviewed-by: jjg, vromero
2013-07-05 11:00:19 +01:00
Vicente Romero
684d5ec76d
6356530: -Xlint:serial does not flag abstract classes with concrete methods/members
...
Reviewed-by: mcimadamore
2013-07-04 10:41:08 +01:00
Vicente Romero
8277af52ee
8009924: some langtools tools do not accept -cp as an alias for -classpath
...
Reviewed-by: jjg
2013-07-04 10:35:33 +01:00
Christine Lu
7b58133588
Added tag jdk8-b97 for changeset 6774fe79db80
2013-07-04 01:01:07 -07:00
Vicente Romero
ea2c99f5bb
6326693: variable x might already have been assigned, when assignment is in catch block
...
Reviewed-by: mcimadamore
2013-07-02 22:49:40 +01:00
Kumar Srinivasan
bab861035d
8019460: tests in changeset do not have @bug tag
...
Reviewed-by: darcy
2013-07-01 16:36:08 -07:00
Dmytro Sheyko
ba85477f84
8019397: javap does not show SourceDebugExtension properly
...
Reviewed-by: jjg
2013-07-02 10:21:41 +01:00
Joe Darcy
547a050fe1
7162089: Add support for repeating annotations to javax.annotation.processing
...
Reviewed-by: abuckley, jjg, jfranck
2013-07-01 11:58:45 -07:00
Maurizio Cimadamore
1c13f5e4cb
7034798: Ambiguity error for abstract method call is too eager
...
Javac should wait and see if ambiguous methods can be reconciled at the end of an overload resolution round
Reviewed-by: jjg, vromero
2013-07-01 14:57:03 +01:00
Vicente Romero
a33129c6af
6983646: javap should identify why a DefaultAttribute is being used
...
Reviewed-by: jjg
2013-06-29 20:12:24 +01:00
Lana Steuck
c5e36903f7
Merge
2013-06-28 19:47:54 -07:00
Vicente Romero
39673a6ee9
8005552: c.s.t.javap.AttributeWriter.visitLocalVariableTable() uses incorrect format string
...
Reviewed-by: mcimadamore
2013-06-28 14:36:06 +01:00
Vicente Romero
e8952a4764
6473148: TreePath.iterator() should document the iteration order
...
Reviewed-by: mcimadamore
2013-06-28 13:20:44 +01:00
Eric McCorkle
95e39e6039
8016760: Failure of regression test langtools/tools/javac/T6725036.java
...
Marking the failing test @ignore; the proposed change for 8015666 addresses the underlying issue
Reviewed-by: jjg
2013-06-28 06:54:58 -04:00
Eric McCorkle
9b1ec513d5
8013357: javac accepts erroneous binary comparison operations
...
Javac does not report type errors on illegal Object == primitive comparisons
Reviewed-by: abuckley, mcimadamore
2013-06-27 17:45:56 -04:00
David Katleman
8ba7651e27
Added tag jdk8-b96 for changeset 51ef92228b23
2013-06-27 13:40:36 -07:00
Kumar Srinivasan
704f96a0d5
7080001: Need to bump version numbers in build.properties for 8
...
Reviewed-by: jjg
2013-06-27 12:42:47 -07:00
Joe Darcy
21d2b03764
8019308: Add descriptions of Java SE 7 and 8 language changes to SourceVersion
...
Reviewed-by: jjg
2013-06-27 11:46:23 -07:00
Jan Valenta
97f7bab3c7
8015720: since tag isn't copied while generating JavaFX documentation
...
Reviewed-by: jjg
2013-06-27 17:47:18 +02:00
Vicente Romero
a87b5d942d
7008643: inlined finally clauses confuse debuggers
...
Reviewed-by: jjg
2013-06-27 16:06:56 +01:00
Vicente Romero
4e49cb5fc5
8016099: Some @SuppressWarnings annotations ignored ( unchecked, rawtypes )
...
Reviewed-by: jjg
2013-06-27 16:04:05 +01:00
Vicente Romero
9e35962ebf
8017609: javac, ClassFile.read(Path) should be ClassFile.read(Path, Attribute.Factory)
...
Reviewed-by: jjg
2013-06-27 09:54:50 +01:00
Vicente Romero
94991de3c3
7066788: javah again accepts -old option (ineffectively) which was removed in 1.5
...
Reviewed-by: jjg
2013-06-27 09:51:59 +01:00
Erik Joelsson
7cdf8d8a08
8014513: Sjavac doesn't detect 32-bit jvm properly
...
Reviewed-by: jjg
2013-06-27 10:35:36 +02:00
Eric McCorkle
a2c99b7e5c
8014230: Compilation incorrectly succeeds with inner class constructor with 254 parameters
...
The compiler does not account fr extra parameters due to inner this parameters
Reviewed-by: jjg
2013-06-27 00:37:13 -04:00
Bhavesh Patel
b2c41f305e
8013738: Two javadoc tests have bug 0000000
...
Reviewed-by: jjg
2013-06-26 20:45:47 -07:00
Bhavesh Patel
9a773a649c
8014017: extra space in javadoc class heading
...
Reviewed-by: jjg
2013-06-26 20:42:43 -07:00
Bhavesh Patel
561009c4ac
8007338: Method grouping tab line-folding
...
Reviewed-by: jjg
2013-06-26 20:38:21 -07:00
Matherey Nunez
eedcd5d290
8014137: Update test/tools/javac/literals/UnderscoreLiterals to add testcases with min/max values
...
Reviewed-by: jjg, darcy
2013-06-26 18:03:58 -07:00
David Katleman
ed14278b82
8016684: JDK8 b94 source with GPL header errors
...
Reviewed-by: tbell, darcy
2013-06-26 11:26:33 -07:00
Kumar Srinivasan
3ab53b61f0
8016908: TEST_BUG: removing non-ascii characters causes tests to fail
...
Reviewed-by: jjg, vromero
2013-06-26 09:54:46 -07:00
Alexander Zuev
fd80bae5c5
8006973: jtreg test fails: test/tools/javac/warnings/AuxiliaryClass/SelfClassWithAux.java
...
Reviewed-by: ksrini
2013-06-25 20:08:52 +04:00
Vicente Romero
d7fff903e8
8017104: javac should have a class for primitive types that inherits from Type
...
Reviewed-by: jjg
2013-06-25 16:12:53 +01:00
Eric McCorkle
17f5808828
8012722: Single comma in array initializer should parse
...
Annotations of the form @Foo({,}) should parse
Reviewed-by: jjg
2013-06-24 22:03:57 -04:00
Lana Steuck
1159b21b3f
Merge
2013-06-24 14:27:32 -07:00
Eric McCorkle
bca53c33de
8007546: ClassCastException on JSR308 tests
...
8015993: jck-compiler tests are failed with java.lang.ClassCastException
Fix ClassCastExceptions arising from addition of AnnotatedType.
Reviewed-by: jjg, abuckley
2013-06-20 19:01:20 -04:00
David Katleman
fa27360b22
Added tag jdk8-b95 for changeset 41b9fc8961f6
2013-06-20 10:17:55 -07:00
Maurizio Cimadamore
1a284a49c9
8016613: javac should avoid source 8 only analysis when compiling for source 7
...
Reviewed-by: jjg
2013-06-20 08:45:43 +01:00
Maurizio Cimadamore
53f06da300
8016610: javac, add new internal symbols to make operator resolution faster
...
Reviewed-by: jjg
2013-06-19 22:07:05 +01:00
Chris Hegarty
01cde5204c
Merge
2013-06-19 13:00:00 +01:00
Chris Hegarty
700804c6f2
8017045: anti-delta fix for 8013789
...
Reviewed-by: alanb
2013-06-19 11:48:05 +01:00
Vicente Romero
88aaaa7878
8006981: javac, method toString() of class ...javac.code.Flags doesn't print all the flag bits
...
Reviewed-by: jjg
2013-06-19 11:09:13 +01:00
Michael Fang
a3d1e73878
8015657: jdk8 l10n resource file translation update 3
...
Reviewed-by: yhuang
2013-06-18 20:56:04 -07:00
Chris Hegarty
85d8fa9b97
Merge
2013-06-18 20:08:49 +01:00
Vicente Romero
a48b1a1a91
8016267: javac, TypeTag refactoring has provoked performance issues
...
Reviewed-by: jjg
2013-06-18 19:02:48 +01:00
Maurizio Cimadamore
d1a88e0b7a
8016607: javac, avoid analyzing lambdas for source 7 compilation
...
Reviewed-by: jjg
2013-06-18 18:57:52 +01:00
Chris Hegarty
9c098465a5
Merge
2013-06-18 09:36:46 +01:00
Maurizio Cimadamore
1839512a15
8013789: Compiler should emit bridges in interfaces
...
Paired with 8015402: Lambda metafactory should not attempt to determine bridge methods
Reviewed-by: vromero
2013-06-17 20:29:31 -07:00
Joe Darcy
55c85107b7
8016779: Fix doclint warnings in javax.lang.model
...
Reviewed-by: jjg
2013-06-17 14:46:01 -07:00
Chris Hegarty
be5d596030
Merge
2013-06-17 11:27:46 +01:00
Lana Steuck
9edd6e01f1
Merge
2013-06-16 22:38:04 -07:00
Vicente Romero
5d4b6cd0d0
8008023: Get rid of utf8 chars in two tests
...
Reviewed-by: jjg
2013-06-14 18:01:52 +01:00
Maurizio Cimadamore
44641445d7
8016569: javac, add new flag for polymorphic method signatures
...
Reviewed-by: jjg
2013-06-14 16:25:09 +01:00
David Katleman
18aa8b4042
Added tag jdk8-b94 for changeset f7887244ecd2
2013-06-13 09:49:19 -07:00
Vicente Romero
3596018eb7
8007907: javap, method com.sun.tools.javap.Main.run returns 0 even in case of class not found error
...
Reviewed-by: jjg
2013-06-11 09:59:34 +01:00
Vicente Romero
4836bfbcf1
8008547: javac, warning message: use of ''_'' as an identifier might not be supported in future releases, should be more especific
...
Reviewed-by: jjg
2013-06-11 09:35:58 +01:00
Chris Hegarty
d758772ec0
Merge
2013-06-11 09:25:57 +01:00
Lana Steuck
622541203a
Merge
2013-06-10 17:04:18 -07:00
Maurizio Cimadamore
80407ef47d
8013576: Add stat support to LambdaToMethod
...
LambdaToMethod should emit info to help diagnose/test lambda metafactory problems
Reviewed-by: jjg, vromero
2013-06-10 15:57:32 +01:00
Vicente Romero
7258bbbfde
7113519: test/tools/javac/VersionOpt.java passes on windows
...
Reviewed-by: jjg
2013-06-10 15:18:47 +01:00
Chris Hegarty
8bb77f2674
Merge
2013-06-10 09:52:54 +01:00
Bhavesh Patel
3f6b61d75e
8015997: Additional improvement in Javadoc framing
...
Reviewed-by: jjg
2013-06-07 16:12:04 -07:00
Jonathan Gibbons
a476a195ac
8016193: Fix OAC issue in langtools docs
...
Reviewed-by: darcy
2013-06-07 15:35:38 -07:00
David Katleman
e142a2e82d
Added tag jdk8-b93 for changeset 1697301ac053
2013-06-06 09:55:26 -07:00
Maurizio Cimadamore
dc899fbbed
Merge
2013-06-06 15:38:42 +01:00
Maurizio Cimadamore
459b2cba93
8015648: Duplicate variable in lambda causes javac crash
...
Missing flag in synthetic lambda blog is causing duplicates symbol to go undetected
Reviewed-by: jjg, vromero
2013-06-06 15:37:23 +01:00
Maurizio Cimadamore
abaf1a5c51
8015432: javac crashes with stack overflow when method called recursively from nested generic call
...
Check.checkMethod should only be called after inference has completed
Reviewed-by: jjg, vromero
2013-06-06 15:35:05 +01:00
Maurizio Cimadamore
07baf8072a
8008627: Compiler mishandles three-way return-type-substitutability
...
Compiler should not enforce an order in how ambiguous methods should be resolved
Reviewed-by: jjg, vromero
2013-06-06 15:33:40 +01:00
Maurizio Cimadamore
4cb585609d
7139681: Enhanced for loop: local variable scope inconsistent with JLS
...
For-each loop variable is incorrectly visible from the for-each expression
Reviewed-by: jjg, vromero
2013-06-06 15:32:41 +01:00
Maurizio Cimadamore
884ad14bdf
6360970: javac erroneously accept ambiguous field reference
...
Clash between ambiguous fields in superinterface and unambiguous field in subinterface is erroneously marked as unambiguous
Reviewed-by: jjg, vromero
2013-06-06 15:30:14 +01:00
Eric McCorkle
c58691dc6f
8015701: MethodParameters are not filled in for synthetic captured local variables
...
Synthetic parameters for captured local variables in an anonymous inner class are not added to MethodParameters attributes
Reviewed-by: mcimadamore
2013-06-06 08:48:23 -04:00
Alexander Zuev
63c141c512
7186887: Test T6567415.java can fail on a slow machine
...
Reviewed-by: jjg, ksrini
2013-06-05 16:58:10 +04:00
Jonathan Gibbons
bdfb93ee25
8004643: Reduce javac space overhead introduced with compiler support for repeating annotations
...
Reviewed-by: mcimadamore, jfranck
2013-06-04 14:17:50 -07:00
Vicente Romero
aeb1c4b67e
7165659: javac incorrectly sets strictfp access flag on inner-classes
...
Reviewed-by: jjg, mcimadamore
2013-06-04 13:21:41 +01:00