Skip to content

Commit 8954e8f

Browse files
committed
minor
1 parent a065c28 commit 8954e8f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sources/net.sf.j2s.java.core/src/swingjs/JSUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ public static void loadJavaResourcesFromZip(ClassLoader cl, String zipFileName,
365365
BufferedInputStream bis = new BufferedInputStream(cl.getResourceAsStream(zipFileName));
366366
String prefix = J2S.getResourcePath(null, true); // will end with /
367367
fileList = getZipTools().cacheZipContentsStatic(bis, prefix, mapByteData, false);
368-
} catch (Exception e) {
368+
} catch (Throwable e) {
369369
System.out.println("JSUtil could not cache files from " + zipFileName);
370370
return;
371371
}

sources/net.sf.j2s.java.core/src/test/Test_Class.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ public static String localtest() {
323323

324324
public static void main(String[] args) {
325325

326+
System.out.println(Number.class.isAssignableFrom(Double.class));
326327
System.out.println(System.getProperty("user.dir"));
327328
System.out.println(System.getProperty("user.home"));
328329

0 commit comments

Comments
 (0)