8069069: Build failure because of dependency on generated file
authormcimadamore
Thu, 15 Jan 2015 16:24:25 +0000
changeset 28457 2c3ccb8ad8e9
parent 28456 b87fdde1404d
child 28458 f20c5dd05e34
8069069: Build failure because of dependency on generated file Summary: Make build spuriously fails to build property classes Reviewed-by: jlahoda
langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java	Thu Jan 15 13:58:11 2015 +0000
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java	Thu Jan 15 16:24:25 2015 +0000
@@ -28,8 +28,6 @@
 import com.sun.source.tree.LambdaExpressionTree.BodyKind;
 import com.sun.tools.javac.code.*;
 import com.sun.tools.javac.comp.Resolve.ResolveError;
-import com.sun.tools.javac.resources.CompilerProperties;
-import com.sun.tools.javac.resources.CompilerProperties.Fragments;
 import com.sun.tools.javac.tree.*;
 import com.sun.tools.javac.util.*;
 import com.sun.tools.javac.util.DefinedBy.Api;
@@ -798,7 +796,7 @@
                         case WRONG_MTHS:
                             //note: as argtypes are erroneous types, type-errors must
                             //have been caused by arity mismatch
-                            checkContext.report(tree, diags.fragment(Fragments.IncompatibleArgTypesInMref));
+                            checkContext.report(tree, diags.fragment("incompatible.arg.types.in.mref"));
                             break;
                         case ABSENT_MTH:
                         case STATICERR: