commit | 8b8afc6a555229da62350a8aad6a3c61a811d97e | [log] [tgz] |
---|---|---|
author | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Thu Apr 03 00:49:01 2008 +0000 |
committer | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Thu Apr 03 00:49:01 2008 +0000 |
tree | 65684771e8d676a4f72f7c1d7bf4f787f8bfd7fb | |
parent | 73d1792f70d478cb98e5afea94d6c9052aaf83ad [diff] |
Build fix: a messageSend can have a null binding if the target compilation unit has a problem. git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2328 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/jdt/TypeRefVisitor.java b/dev/core/src/com/google/gwt/dev/jdt/TypeRefVisitor.java index 053426b..df9510e 100644 --- a/dev/core/src/com/google/gwt/dev/jdt/TypeRefVisitor.java +++ b/dev/core/src/com/google/gwt/dev/jdt/TypeRefVisitor.java
@@ -66,7 +66,7 @@ @Override public void endVisit(MessageSend messageSend, BlockScope scope) { - if (messageSend.binding.isStatic()) { + if (messageSend.binding != null && messageSend.binding.isStatic()) { maybeDispatch(scope, messageSend, messageSend.actualReceiverType); } }