2 Replies Latest reply on Mar 6, 2004 7:20 PM by Adrian Brock

    Using java.lang.Character in env-entry fails ...

    rkettrey Newbie

      I have the following excerpt in my ejb-jar file:

       <description>A description</description>

      When I look this up using the following code, I get a ClassCastException:
      char ch = ((Character)context.lookup("someName")).charValue();

      I used a debugger and the class type is coming back as java.lang.String! Ooops! Easy work-arounds I know, but wondered if I was the only one seeing this or if we have a small bug in Jboss (3.2.3)???