flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [12/50] git commit: [flex-falcon] [refs/heads/dual] - report on unexpected condition
Date Thu, 13 Apr 2017 17:43:43 GMT
report on unexpected condition


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/65ef0d9a
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/65ef0d9a
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/65ef0d9a

Branch: refs/heads/dual
Commit: 65ef0d9a5daf0964783e96c8ef7ab0a25d593323
Parents: 200c568
Author: Alex Harui <aharui@apache.org>
Authored: Tue Mar 14 15:36:54 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Mar 14 15:36:54 2017 -0700

----------------------------------------------------------------------
 .../org/apache/flex/compiler/internal/graph/GoogDepsWriter.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/65ef0d9a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
index 5833696..187ca8f 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
@@ -372,6 +372,11 @@ public class GoogDepsWriter {
 	boolean onProtoChain(String name, String base)
 	{
 		GoogDep gd = depMap.get(name);
+		if (gd == null)
+		{
+			System.out.println("no dep info for " + name);
+			return false;
+		}
 		if (gd.fileInfo.impls != null)
 		{
 			if (gd.fileInfo.impls.contains(base))


Mime
View raw message