Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

Member references in method bodies are not always updated. #9

Open
Col-E opened this issue Jun 25, 2017 · 0 comments
Open

Member references in method bodies are not always updated. #9

Col-E opened this issue Jun 25, 2017 · 0 comments

Comments

@Col-E
Copy link
Owner

Col-E commented Jun 25, 2017

This seems to be a edge-case. I've only experienced it when the name of the member being referenced shares the name with a member that does not belong in the jar.

One such example would be:

public void test() { println("Hello!"); }
public void println(String s){ System.out.println(s); }
public void println(String f, String s){ System.out.printf(f + s); }

This becomes:

public void a() { println("Hello!"); }
public void b(String s){ System.out.println(s); }
public void c(String f, String s){ System.out.printf(f + s); }

The method declarations are updated fine, but the references to them are not. Does not occur if the methods are named something else unique.

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

No branches or pull requests

1 participant