1185 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Maurizio Cimadamore
44641445d7 8016569: javac, add new flag for polymorphic method signatures
Reviewed-by: jjg
2013-06-14 16:25:09 +01: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
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
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
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