Fixes by anonymous for SerializePreserver:

* jode/obfuscator/ClassIdentifier.java.in (isSerializable):
The Serializable interface lives in java.io not in java.lang.
* jode/obfuscator/modules/SerializePreserver.java.in:
This class needs to implement OptionHandler.


git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1356 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
hoenicke 23 years ago
parent 686154fca2
commit 910456c0b0
  1. 8
      jode/ChangeLog
  2. 2
      jode/jode/obfuscator/ClassIdentifier.java.in
  3. 2
      jode/jode/obfuscator/modules/SerializePreserver.java.in

@ -1,3 +1,11 @@
2002-01-16 Jochen Hoenicke <jochen@gnu.org>
Fixes by anonymous for SerializePreserver:
* jode/obfuscator/ClassIdentifier.java.in (isSerializable):
The Serializable interface lives in java.io not in java.lang.
* jode/obfuscator/modules/SerializePreserver.java.in:
This class needs to implement OptionHandler.
2001-11-29 Jochen Hoenicke <jochen@gnu.org>
* jode/obfuscator/modules/MultiIdentifierMatcher.java.in

@ -264,7 +264,7 @@ public class ClassIdentifier extends Identifier {
}
public boolean isSerializable() {
return ClassInfo.forName("java.lang.Serializable")
return ClassInfo.forName("java.io.Serializable")
.implementedBy(info);
}
public boolean hasSUID() {

@ -23,7 +23,7 @@ import jode.obfuscator.*;
import java.lang.reflect.Modifier;
import @COLLECTIONS@.Collection;
public class SerializePreserver implements IdentifierMatcher {
public class SerializePreserver implements IdentifierMatcher, OptionHandler {
boolean onlySUID = true;
public SerializePreserver() {

Loading…
Cancel
Save