From 6e286ec0f9cb4cd7c5de70cb20d4edfcc0b387df Mon Sep 17 00:00:00 2001 From: konsoletyper Date: Sat, 22 Mar 2014 13:32:40 +0400 Subject: [PATCH] Fixes another bug in Windows build --- .../org/teavm/classlib/impl/report/JCLComparisonVisitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/impl/report/JCLComparisonVisitor.java b/teavm-classlib/src/main/java/org/teavm/classlib/impl/report/JCLComparisonVisitor.java index 4933c5820..c82b298b0 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/impl/report/JCLComparisonVisitor.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/impl/report/JCLComparisonVisitor.java @@ -161,7 +161,7 @@ class JCLComparisonVisitor extends ClassVisitor { @Override public void visitEnd() { - if (jclClass == null || jclClass.status != JCLStatus.FOUND) { + if (jclPackage != null && (jclClass == null || jclClass.status != JCLStatus.FOUND)) { jclPackage.status = JCLStatus.PARTIAL; } }