Commit Graph

973 Commits

Author SHA1 Message Date
Mandy Chung
dc74edc516 8013531: Provide a utility class in com.sun.tools.classfile to find field/method references
Reviewed-by: alanb
2013-04-30 15:43:00 -07:00
Vicente Romero
a20460d6cb 8008562: javac, a refactoring to Bits is necessary in order to provide a change history
Reviewed-by: mcimadamore
2013-04-26 10:17:01 +01:00
Vicente Romero
625f8df5f5 8012723: strictfp interface misses strictfp modifer on default method
Reviewed-by: mcimadamore
2013-04-26 10:04:01 +01:00
Joel Borggrén-Franck
16bec05e63 8011027: Type parameter annotations not passed through to javax.lang.model
Reviewed-by: jjg, darcy
2013-04-22 10:24:19 +02:00
Joel Borggrén-Franck
51d2ddd790 8012681: Commit for JDK-8012656 breaks tl build
Reviewed-by: vromero, chegar, alanb
2013-04-19 11:57:46 +02:00
Jonathan Gibbons
3c7d12fc05 8012656: cache frequently used name strings for DocImpl classes
Reviewed-by: darcy
2013-04-18 20:00:14 -07:00
Jan Lahoda
77b43bacfd 8008174: DocTree API should provide start and end positions for tree nodes
Adding DocSourcePositions to allow access to DocTree starting/ending position

Co-authored-by: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Reviewed-by: jjg, darcy
2013-04-17 15:54:24 +02:00
Vicente Romero
0e9ad4439a 8011181: javac, empty UTF8 entry generated for inner class
Reviewed-by: jjg
2013-04-17 11:11:33 +01:00
Maurizio Cimadamore
8ab167f0ed 8010923: Avoid redundant speculative attribution
Add optimization to avoid speculative attribution for certain argument expressions

Reviewed-by: jjg
2013-04-15 14:18:30 +01:00
Maurizio Cimadamore
8b680bdde2 8011392: Missing checkcast when casting to intersection type
Javac should emit a checkcast for each additional target type specified in an intersection type cast

Reviewed-by: jjg
2013-04-15 14:17:30 +01:00
Maurizio Cimadamore
8f2d47cf79 8011028: lang/INFR/infr001/infr00101md/infr00101md.java fails to compile after switch to JDK8-b82
Fix bug in Types.removeWildcards

Reviewed-by: jjg
2013-04-15 14:16:05 +01:00
Maurizio Cimadamore
e59fd44a73 8011376: Spurious checked exception errors in nested method call
Fallback attribution logic doesn't work properly when lambda throws checked exceptions

Reviewed-by: jjg
2013-04-15 14:15:07 +01:00
Maurizio Cimadamore
2b94dbb504 8011377: Javac crashes when multiple lambdas are defined in an array
Wrong attribution environment used by DeferredAttr

Reviewed-by: jjg
2013-04-15 14:12:17 +01:00
Maurizio Cimadamore
efc501257b 8011383: Symbol.getModifiers omits ACC_ABSTRACT from interface with default methods
Fixup for default method modifiers erroneously applies to class-level modifiers

Reviewed-by: jjg
2013-04-15 14:11:29 +01:00
Bhavesh Patel
56d97d6507 8009686: Generated javadoc documentation should be able to display type annotation on an array
Reviewed-by: jjg
2013-04-13 18:48:29 -07:00
Maurizio Cimadamore
3044b19d21 8010659: Javac Crashes while building OpenJFX
Reviewed-by: jjg
2013-04-13 12:25:44 +01:00
Joel Borggrén-Franck
6f2f8b14be 7015104: use new subtype of TypeSymbol for type parameters
Reviewed-by: jjg, mcimadamore
2013-04-12 12:05:04 +02:00
Vicente Romero
cde5be4904 8011432: javac, compiler regression iterable + captured type
Reviewed-by: mcimadamore
2013-04-10 12:31:02 +01:00
Bhavesh Patel
b82442a565 8005091: javadoc should be able to return the receiver type
Reviewed-by: jjg
2013-04-09 14:18:22 -07:00
Jonathan Gibbons
a45f8e0ef9 8011677: EndPosTables should avoid hidden references to Parser
Reviewed-by: mcimadamore
2013-04-08 11:57:37 -07:00
Jonathan Gibbons
876df30973 8011676: Instances of Tokens.Comment should not be defined in inner classes
Reviewed-by: mcimadamore
2013-04-08 11:54:26 -07:00
Maurizio Cimadamore
da9dd76b20 8010822: Intersection type cast for functional expressions does not follow spec EDR
Remove support for marker interfaces; redefine intersection type casts to be order-independent

Reviewed-by: jjg
2013-04-08 15:59:29 +01:00
Maurizio Cimadamore
ea55015155 8009131: Overload: javac should discard methods that lead to errors in lambdas with implicit parameter types
Lambdas that have errors in their bodies should make enclosing overload resolution fail

Reviewed-by: jjg
2013-04-08 15:57:10 +01:00
Maurizio Cimadamore
b4b6e4f82e 8010404: Lambda debugging: redundant LineNumberTable entry for lambda capture
Ignore indy entries in LineNumberTable

Reviewed-by: jjg
2013-04-08 15:53:08 +01:00
Maurizio Cimadamore
f298073f33 8010922: Cleanup: add support for ad-hoc method check logic
Support pluggable method checkers

Reviewed-by: jjg
2013-04-08 15:51:41 +01:00
Joe Darcy
3aabe92c92 8011052: Add DEFAULT to javax.lang.model.Modifier
Reviewed-by: abuckley, jjg
2013-04-03 12:27:12 -07:00
Vicente Romero
a19d0728ba 4965689: class literal code wastes a byte
Reviewed-by: jjg
2013-04-02 10:51:16 +01:00
Jonathan Gibbons
84a50dc114 8006346: doclint should make allowance for headers generated by standard doclet
Reviewed-by: mcimadamore
2013-03-28 10:49:39 -07:00
Maurizio Cimadamore
059c4839bc 8010490: FindBugs: double assignments in LambdaToMethod.visitIdent
Remove dead code from LambdaToMethod

Reviewed-by: jjg
2013-03-28 11:39:04 +00:00
Maurizio Cimadamore
b67623d272 8010469: Bad assertion in LambdaToMethod
Add assertion in LambdaToMethod.serializedLambdaName

Reviewed-by: jjg
2013-03-28 11:38:38 +00:00
Joe Darcy
4d16263250 7059170: Assume availablility of URLClassLoader.close
Reviewed-by: jjg
2013-03-26 18:15:24 -07:00
Joe Darcy
af36b14fdb 7041251: Use j.u.Objects utility methods in langtools
Reviewed-by: jjg
2013-03-26 17:17:14 -07:00
Michael Fang
1a25595a25 Merge 2013-03-25 18:08:47 -07:00
Michael Fang
fa35aeb6eb 8010521: jdk8 l10n resource file translation update 2
Reviewed-by: naoto, yhuang
2013-03-25 16:55:14 -07:00
Maurizio Cimadamore
7ee4846b45 8010387: Javac crashes when diagnostic mentions anonymous inner class' type variables
Rich formatter doesn't preprocess supertypes of an anonymous inner class

Reviewed-by: jjg
2013-03-22 12:44:48 +00:00
Maurizio Cimadamore
2b66afe14d 8010303: Graph inference: missing incorporation step causes spurious inference error
Multiple equality constraints on inference vars are not used to generate new inference constraints

Reviewed-by: jjg
2013-03-22 12:43:09 +00:00
Maurizio Cimadamore
710a687c15 8009820: AssertionError when compiling java code with two identical static imports
Speculative attribution is carried out twice with same method symbol in case of static imports

Reviewed-by: jjg
2013-03-22 12:41:13 +00:00
Maurizio Cimadamore
cec722fe8f 8010101: Intersection type cast issues redundant unchecked warning
Code for checking intersection type cast is incorrectly swapping operands, leading to spurious warnings

Reviewed-by: jjg
2013-03-22 12:39:34 +00:00
Maurizio Cimadamore
2454c8c5ae 8009649: Lambda back-end should generate invokespecial for method handles referring to private instance methods
Private lambda methods should be accessed through invokespecial

Reviewed-by: jjg
2013-03-22 12:38:12 +00:00
Joe Darcy
08c578cdcf 8010364: Clarify javax.lang.model API for Type Annotations
Reviewed-by: jjg, abuckley
2013-03-20 17:41:40 -07:00
Jonathan Gibbons
d4e9a74af5 8010317: DocLint incorrectly reports some <pre> tags as empty
Reviewed-by: darcy
2013-03-19 19:16:59 -07:00
Jonathan Gibbons
622349cdb1 8010333: Remove com.sun.tools.javac.Server
Reviewed-by: darcy
2013-03-19 17:05:57 -07:00
Jonathan Gibbons
ab8f7a3762 8010361: fix some langtools findbugs issues
Reviewed-by: darcy
2013-03-19 17:04:03 -07:00
Jonathan Gibbons
a52c1dd51a 8010315: doclint errors in javac public API
Reviewed-by: darcy
2013-03-19 15:13:44 -07:00
Joe Darcy
479d5c83b0 8010179: Remove transitional target values from javac
Reviewed-by: jjg, mcimadamore
2013-03-19 13:10:40 -07:00
Jonathan Gibbons
49d55f9300 8007803: Implement javax.lang.model API for Type Annotations
Reviewed-by: darcy
2013-03-18 18:33:13 -07:00
Jonathan Gibbons
0e8a3df6c7 8008425: Remove interim new javax.lang.model API for type-annotations
Reviewed-by: darcy
2013-03-18 14:40:32 -07:00
Vicente Romero
a7e53ae56d 5053846: javac: MethodRef entries are duplicated in the constant pool
Reviewed-by: mcimadamore
2013-03-15 09:02:26 +00:00
Robert Field
46e9ef69a7 8010010: NPE generating serializedLambdaName for nested lambda
Reviewed-by: mcimadamore
2013-03-14 22:54:17 -07:00
Mandy Chung
857b7efb96 8005428: Update jdeps to read the same profile information as by javac
Reviewed-by: alanb
2013-03-14 10:33:31 -07:00