8069069: Build failure because of dependency on generated file
Summary: Make build spuriously fails to build property classes
Reviewed-by: jlahoda
--- 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: