-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Backward compatibility broken in CharBooleanType?
PostPosted: Wed Jan 26, 2011 9:11 am 
Regular
Regular

Joined: Wed Oct 15, 2003 4:40 pm
Posts: 67
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?


Top
 Profile  
 
 Post subject: Re: Backward compatibility broken in CharBooleanType?
PostPosted: Wed Feb 02, 2011 3:29 am 
Regular
Regular

Joined: Wed Oct 15, 2003 4:40 pm
Posts: 67
Pardon the bump but I assume this an issue that could be of general interest...


Top
 Profile  
 
 Post subject: Re: Backward compatibility broken in CharBooleanType?
PostPosted: Thu Feb 10, 2011 9:36 am 
Regular
Regular

Joined: Wed Oct 15, 2003 4:40 pm
Posts: 67
Any RTFM pointer? More information needed? General apathy? ;-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.