Skip to content

Decompiled class does not use fully-qualified name of superclass when it collides with decompiled class name #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tobyhammett opened this issue Apr 20, 2020 · 1 comment

Comments

@tobyhammett
Copy link

Using jd-core version 1.1.3 from Maven, I decompiled the following class:


import java.io.InputStream;

public class FilterInputStream extends java.io.FilterInputStream {
	
	protected FilterInputStream(InputStream in) {
		super(in);
	}
	
}

I got the result:


import java.io.FilterInputStream;
import java.io.InputStream;

public class FilterInputStream extends FilterInputStream {
  protected FilterInputStream(InputStream in) {
    super(in);
  }
}

The decompiled version does not compile because it uses "extends FilterInputStream" instead of "extends java.io.FilterInputStream".

@luca-vercelli
Copy link

This bug seems solved using github version, doesn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants