Joel Borggrén-Franck
4de6d2c42c
7196531: Duplicate error messages on repeating annotations
...
Reviewed-by: jjg
2013-03-12 17:39:34 +01:00
Maurizio Cimadamore
22e2c128a2
8009545: Graph inference: dependencies between inference variables should be set during incorporation
...
Move all transitivity checks into the incorporation round
Reviewed-by: jjg
2013-03-12 16:02:43 +00:00
Maurizio Cimadamore
69ee819808
8008540: Constructor reference to non-reifiable array should be rejected
...
8008539: Spurious error when constructor reference mention an interface type
8008538: Constructor reference accepts wildcard parameterized types
Overhaul of Check.checkConstructorRefType
Reviewed-by: jjg
2013-03-12 16:02:13 +00:00
Joel Borggrén-Franck
c3e43ab7d5
8005205: tests missing bugid for repeating annotation change
...
Reviewed-by: jjg, ssides
2013-03-12 11:16:30 +01:00
Fredrik Öhrström
454b9ff071
8009843: sjavac should accept -cp as synonym for -classpath
...
Reviewed-by: jjg
2013-03-11 19:03:35 -07:00
Robert Field
41447ec765
8009742: Bad lambda name for lambda in a static initializer or ctor
...
Reviewed-by: mcimadamore
2013-03-11 10:02:55 -07:00
Vicente Romero
475c6f42ad
6181889: Empty try/finally results in bytecodes being generated
...
Reviewed-by: mcimadamore
2013-03-11 15:35:13 +00:00
Robert Field
867e1720c2
8009582: Method reference generic constructor gives: IllegalArgumentException: Invalid lambda deserialization
...
Reviewed-by: mcimadamore
2013-03-07 08:26:13 -08:00
Vicente Romero
b04bec8156
8009170: Regression: javac generates redundant bytecode in assignop involving arrays
...
Reviewed-by: mcimadamore
2013-03-07 10:12:13 +00:00
Vicente Romero
7fe4d602a6
8009138: javac, equals-hashCode warning tuning
...
Reviewed-by: mcimadamore
2013-03-07 10:04:28 +00:00
Maurizio Cimadamore
1823b93919
8009391: Synthetic name of serializable lambda methods should not contain negative numbers
...
Use hex representation of method signature hashcode to avoid negative numbers
Reviewed-by: jjg
2013-03-06 15:33:39 +00:00
Maurizio Cimadamore
a4e10d2aad
8009459: Wrong behavior of diamond finder with source level 7
...
Diamond finder doesn't take into account different inference behaviors
Reviewed-by: jjg
2013-03-06 15:33:17 +00:00
Maurizio Cimadamore
c9bae7b335
8009299: Javac crashes when compiling method reference to static interface method
...
Assertion in Check.checMethod is too strict
Reviewed-by: jjg
2013-03-06 15:29:30 +00:00
Lana Steuck
3c0b52b10b
Merge
2013-03-05 11:51:58 -08:00
Maurizio Cimadamore
e788a0e536
8009129: Illegal access error when calling method reference
...
Javac generates method handle referencing non public type
Reviewed-by: jjg, rfield
2013-03-05 14:19:49 +00:00
Maurizio Cimadamore
7a28d6291d
8009154: Missing cast in method reference bridge leads to NoSuchMethodError
...
Missing cast in generated method reference bridge
Reviewed-by: rfield, jjg
2013-03-05 14:16:07 +00:00
Maurizio Cimadamore
3cbe22f256
8009227: Certain diagnostics should not be deferred
...
Add new diagnostic flag to mark non deferrable diagnostics
Reviewed-by: jjg
2013-03-05 14:12:07 +00:00
Maurizio Cimadamore
d0a0df54ed
8004962: Code generation crash with lambda and local classes
...
Translation info should be propagated from LambdaToMethod to Lower
Reviewed-by: jjg, rfield
2013-03-05 14:04:57 +00:00
Jonathan Gibbons
6c39105c60
8008949: javadoc stopped copying doc-files
...
Reviewed-by: bpatel
2013-03-01 10:47:39 -08:00
David Katleman
f21ded8eea
Added tag jdk8-b79 for changeset eef229ae322b
2013-02-28 10:43:03 -08:00
Maurizio Cimadamore
f932d844c1
8008537: Missing method reference lookup error when unbound search finds a static method
...
Static-ness check should be applied after member reference resolution
Reviewed-by: jjg
2013-02-28 14:05:52 +00:00
Maurizio Cimadamore
85067f7869
8008813: Structural most specific fails when method reference is passed to overloaded method
...
Bad logic for checking most specific method reference type
Reviewed-by: jjg
2013-02-28 14:05:44 +00:00
Maurizio Cimadamore
9c01455eb6
8008723: Graph Inference: bad graph calculation leads to assertion error
...
Dependencies are not propagated correctly through merged nodes during inference graph initialization
Reviewed-by: jjg
2013-02-28 14:00:52 +00:00
Vicente Romero
9f2721bfb1
8008436: javac should not issue a warning for overriding equals without hasCode if hashCode has been overriden by a superclass
...
Reviewed-by: jjg, mcimadamore
2013-02-26 09:04:19 +00:00
Jan Valenta
63fe735683
7112427: The doclet needs to be able to generate JavaFX documentation
...
Reviewed-by: jjg
2013-02-24 11:36:58 -08:00
Maurizio Cimadamore
7776fdebe7
8008708: Regression: separate compilation causes crash in wildcards inference logic
...
Invalid use of WildcardType.bound in Types.removeWildcards
Reviewed-by: jjg
2013-02-22 18:19:51 +00:00
Sonali Goel
96495bc664
8008337: Write test to check for compiler error when static method in interface is called via super()
...
Reviewed-by: mcimadamore
2013-02-22 13:31:35 +00:00
Lana Steuck
3c22954800
Merge
2013-02-21 17:49:56 -08:00
Eric Mccorkle
e84b39e459
8008658: Four new method param jtreg tests fail in nightly tests
...
Reviewed-by: jjg, ksrini, mcimadamore
2013-02-21 12:23:27 -08:00
Robert Field
bcaa703a49
8008405: Now that metafactory is in place, add javac lambda serialization tests
...
Tests part of original langtools serialization review.
Reviewed-by: mcimadamore
2013-02-21 14:43:51 -08:00
David Katleman
60f0c3f6fc
Added tag jdk8-b78 for changeset 27bb87e628ae
2013-02-21 11:13:58 -08:00
Maurizio Cimadamore
73b1aee3f4
8008444: Inherited generic functional descriptors are merged incorrectly
...
Missing call to Types.createMethodWithThrownTypes
Reviewed-by: jjg
2013-02-21 15:27:05 +00:00
Maurizio Cimadamore
6fd868a306
8007461: Regression: bad overload resolution when inner class and outer class have method with same name
...
Fix regression in varargs method resolution introduced by bad refactoring
Reviewed-by: jjg
2013-02-21 15:26:46 +00:00
Maurizio Cimadamore
8c1621ee38
8008293: Declared bounds not considered when functional interface containing unbound wildcards is instantiated
...
Wildcards inference should re-use some of the bounds info generated during capture conversion
Reviewed-by: jjg
2013-02-21 15:25:03 +00:00
Maurizio Cimadamore
5bbf5f39fc
8005183: Missing accessor for constructor reference pointing to private inner class ctor
...
Compiler should add bridges when translating private constructor reference
Reviewed-by: jjg
2013-02-21 15:23:48 +00:00
Maurizio Cimadamore
937b7d2fba
8008276: assertion error in com.sun.tools.javac.comp.TransTypes.visitApply
...
DiagnosticFilter used during speculative attribution is too broad
Reviewed-by: jjg
2013-02-21 15:21:38 +00:00
Maurizio Cimadamore
eb68b33185
8008227: Mixing lambdas with anonymous classes leads to NPE thrown by compiler
...
Disentangle cyclic dependency between static-ness of synthetic lambda method and static-ness of classes nested within lambdas
Reviewed-by: jjg
2013-02-21 15:19:29 +00:00
Peter Jensen
556f6dfebb
8006582: Test for parameter names feature
...
Reviewed-by: jjg, darcy, emc
2013-02-20 15:47:14 -08:00
Lana Steuck
898ada48bb
Merge
2013-02-19 20:53:35 -08:00
Eric Mccorkle
bfe1255adc
8006948: Update javac for MethodParameters format change
...
Reviewed-by: ksrini, forax
2013-02-19 17:19:01 -08:00
Vicente Romero
68a3295c8b
8006212: javac, convert jtreg tests from shell script to java
...
Reviewed-by: jjg
2013-02-19 17:53:16 +00:00
Joe Darcy
6e097b8776
8008267: Add @Supported annotation to com.sun.source types
...
Reviewed-by: jjg
2013-02-19 00:31:45 -08:00
Jonathan Gibbons
971f247b1b
8008339: Test TargetAnnoCombo.java is broken
...
Reviewed-by: jjh
2013-02-18 14:29:40 -08:00
Vicente Romero
e6b61ae08a
6563143: javac should issue a warning for overriding equals without hashCode
...
Reviewed-by: jjg, mcimadamore
2013-02-18 14:33:25 +00:00
David Holmes
e57875e8ab
Merge
2013-02-17 16:44:55 -05:00
Robert Field
b2a3c762ff
8004969: Generate $deserializeLambda$ method
...
8006763: super in method reference used in anonymous class - ClassFormatError is produced
8005632: Inner classes within lambdas cause build failures
8005653: Lambdas containing inner classes referencing external type variables do not correctly parameterize the inner classes
Reviewed-by: mcimadamore
2013-02-15 18:40:38 -08:00
Jonathan Gibbons
ff25ecbcbb
8008313: 8007052 breaks test/tools/javap/MethodParameters.java
...
Reviewed-by: darcy
2013-02-15 11:26:11 -08:00
Maurizio Cimadamore
fd17a4290b
8008309: TargetType60 fails because of bad golden file
...
Bad golden file
Reviewed-by: jjg
2013-02-15 18:13:00 +00:00
Maurizio Cimadamore
b9a88adb02
Merge
2013-02-15 16:37:19 +00:00
Sonali Goel
30058417e1
8007427: Annotation element as '_' gives compiler error instead of a warning
...
8007401: Write test to check for generation of warnings when '_' is used as an identifier
Extended identifier production not used in annotation values
Reviewed-by: jjg
2013-02-15 16:31:19 +00:00