md-5 / SpecialSource

Automatic generator and renamer of jar obfuscation mappings.
Other
206 stars 49 forks source link

SpecialSource doesn't remap fields properly #39

Closed PizzaCrust closed 8 years ago

PizzaCrust commented 8 years ago

Mapped Code:

public class Test {
     private Test test = new Test();
}

Reversed Mapped Code:

public class RemappedTest {
  private RemappedTest test = new RemappedTest();
}

It should be:

public class RemappedTest {
  private RemappedTest a = new RemappedTest();
}

This is what is happening to me right now.

md-5 commented 8 years ago

Your input is wrong, this trivial example definitely works, otherwise everything would be broken.

PizzaCrust commented 8 years ago

I have fixed this issue by adding --live to "Enable runtime inheritance lookup".