Sun Java System Application Server Platform Edition 9 Release Notes

Solution

Use the class of the topmost superclass as the argument to the find() method, and cast the result to the subclass.