MYFACES-2338 MyFaces 1.2 has dependency to JDK 1.6 removed isEmpty() call, by just checking if length==0