-
Apr 16th, 2009, 07:31 PM
#1
AbstractPermission class is incompatible with JDK 1.4.2
Apologies if this is a duplicate report but I searched first and couldn't find it so here goes...
I was trying out the Spring Security contacts example under WebSphere 6.0.2.x (JDK 1.4.2) and ran into the following exception when clicking on the "Admin Permission" link:
java.lang.NoSuchMethodError: java.lang.Class: method getSimpleName()Ljava/lang/String; not found
A check of the stack trace in system out showed that "org.springframework.security.acls.domain.Abstract Permission.toString" was the offending method. A check of the source revealed the problem:
public final String toString() {
return this.getClass().getSimpleName() + "[" + getPattern() + "=" + mask + "]";
}
The java.lang.Class.getSimpleName() method is new to JDK 1.5.
So, did I misunderstand the requirements for Spring Security and JDK 1.5 is a requirement or is this a bug?
-
May 5th, 2009, 12:02 PM
#2
Little help pls
Any thoughts on this one? Anyone?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules