Permalink
Browse files

print error details when asm or java failed to read class bytecode.

  • Loading branch information...
1 parent 02cb66c commit 767ecc854f4217b1bd43180bab7b23b4c56e03c8 @atsushieno atsushieno committed Jan 31, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 JavaArchive.java
View
@@ -94,6 +94,7 @@ void getPackages (HashMap<String, JavaPackage> packages, JarFile file)
}
pkg.addClass (new JavaClass (c, node));
} catch (Throwable t) {
+ t.printStackTrace ();
System.err.println ("warning J2X9001: Couldn't load class " + name + " : " + t);
}
}

0 comments on commit 767ecc8

Please sign in to comment.