changeset 2792:59a7535b9ff7

8069069: Build failure because of dependency on generated file Summary: Make build spuriously fails to build property classes Reviewed-by: jlahoda
author mcimadamore
date Thu, 15 Jan 2015 16:24:25 +0000
parents c7a7b3fb997e
children ab5991ac1286
files src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java	Thu Jan 15 13:58:11 2015 +0000
+++ b/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: