Reviewers: robertvawter_google.com, Description: http://b/issue?id=1958188
Please review this at http://gwt-code-reviews.appspot.com/48805 Affected files: rg/CssResourceGenerator.java Index: rg/CssResourceGenerator.java =================================================================== --- rg/CssResourceGenerator.java (revision 5514) +++ rg/CssResourceGenerator.java (working copy) @@ -918,10 +918,18 @@ String functionName = def.getValues().get(0).isIdentValue().getIdent(); // Find the method - JMethod method = context.getClientBundleType().findMethod( - functionName, new JType[0]); - - if (method == null) { + JMethod methods[] = context.getClientBundleType().getOverridableMethods(); + boolean foundMethod = false; + if (methods != null) { + for (JMethod method : methods) { + if (method.getName().equals(functionName)) { + foundMethod = true; + break; + } + } + } + + if (!foundMethod) { logger.log(TreeLogger.ERROR, "Unable to find DataResource method " + functionName + " in " + context.getClientBundleType().getQualifiedSourceName()); --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---