We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7e620f commit 254dadeCopy full SHA for 254dade
sources/net.sf.j2s.java.core/src/java/lang/Class.java
@@ -2482,7 +2482,7 @@ public InputStream getResourceAsStream(String name) {
2482
/**
2483
* @j2sNative
2484
*
2485
- if (data == null || data == "error" || data.indexOf && data.indexOf("[Exception") == 0)
+ if (data == null || data == Boolean.FALSE || data == "error" || data.indexOf && data.indexOf("[Exception") == 0)
2486
return null;
2487
2488
var bytes = (data.__BYTESIZE == 1 ? data : J2S._strToBytes(data));
0 commit comments