Unusual method appeared when decompiling JAR file into java project

When attempting to decompile a JAR file into a Java project using the Java Decompiler JD-GUI, I encountered an issue with the decompiled methods. Here is an example:

public Node getNode() {
    Node res = null;
    try {
      Exception exception2, exception1 = null;
    } catch (Exception e) {
      e.printStackTrace();
    } 
    return res;
}

I’m seeking assistance in two aspects:

  1. How can I resolve the apparent issue with the Exception exception2, exception1 = null; try/catch block, as the original method should contain different code?
  2. Are there alternative methods available that are more efficient for decompiling JAR files into Java projects and executing them?

Hi there @chintuk1,

Welcome to the Unreal Engine Forums :slight_smile:

This topic has been moved from Community: Off-Topic to Programming & Scripting: C++.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing!