You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to create a reproducible test for another issue, I ran into this.
I created a simple Test.java, compiled it, and executed it successfully. However, when I tried to open it with the app, nothing appears to have happened.
Here's the source code for the Java 1.8 compiled output that I'm trying to decompile:
public class Test {
public static void main (String args[]) {
int x = Integer.parseInt(args[0]);
int y = Integer.parseInt(args[1]);
long z = l(x, y);
System.err.println(String.format("x=%d y=%d z=%d", x, y, z));
}
public static long l (int x, int y) {
long rc = ((long)y << 32L) | x;
return rc;
}
}
I don't anticipate this code causing a core problem but I am wondering if the app will only read jar files. If that's the case, then the open file dialog should prevent me from doing something that is not allowed.
Alternatively, if it is an app problem, it probably would be a good idea for someone to easily find out what to type from the command line to bypass the app.
The text was updated successfully, but these errors were encountered:
Version 1.6.6 on Windows 10 (20H2 Build 19042.630) won't open anything for me and doesn't give any clues about why not. I tried the jar version and the exe version. And I've tried all the latest versions in each 1.x series down to 1.1.0. 1.1.0 opens files, but the search feature doesn't work. I'm continuing to use version 0.3.6 unless the file I'm decompiling is too big for it.
I'm using JD-GUI for macOS version 1.6.6.
While attempting to create a reproducible test for another issue, I ran into this.
I created a simple Test.java, compiled it, and executed it successfully. However, when I tried to open it with the app, nothing appears to have happened.
Here's the source code for the Java 1.8 compiled output that I'm trying to decompile:
public class Test {
public static void main (String args[]) {
int x = Integer.parseInt(args[0]);
int y = Integer.parseInt(args[1]);
long z = l(x, y);
System.err.println(String.format("x=%d y=%d z=%d", x, y, z));
}
public static long l (int x, int y) {
long rc = ((long)y << 32L) | x;
return rc;
}
}
$ javac Test.java
$ java Test 1 2
x=1 y=2 z=8589934593
I don't anticipate this code causing a core problem but I am wondering if the app will only read jar files. If that's the case, then the open file dialog should prevent me from doing something that is not allowed.
Alternatively, if it is an app problem, it probably would be a good idea for someone to easily find out what to type from the command line to bypass the app.
The text was updated successfully, but these errors were encountered: