Hi, I have a custom type that has been running in a JBoss 4.2.x:
Code:
public class BooleanKETyyppi extends CharBooleanType {
private static final long serialVersionUID = 1L;
protected final String getTrueString() {
return "K";
}
protected final String getFalseString() {
return "E";
}
public String getName() { return "kylla_ei"; }
}
Now I tried running the same application in an AS 6 Final and I end up with a deployment exception
Code:
java.lang.VerifyError: class osti.malli.BooleanKETyyppi overrides final method getTrueString.
What is the recommended way of rewriting the custom type so it can be run on both AS 4 and AS 6?