OSDN Git Service

auto import from //branches/cupcake_rel/...@140373
[android-x86/build.git] / tools / droiddoc / src / ClassInfo.java
index 36edbf8..a3fcc92 100644 (file)
@@ -1193,7 +1193,7 @@ public class ClassInfo extends DocInfo implements ContainerInfo, Comparable, Sco
         ClassInfo cl = this;
         while (cl != null) {
             PackageInfo pkg = cl.containingPackage();
-            if (pkg.isHidden()) {
+            if (pkg != null && pkg.isHidden()) {
                 return true;
             }
             if (cl.comment().isHidden()) {