Community
Participate
Working Groups
Build Identifier: eclipselink-2.3.0.v20110604-r9504 Client code: try { CriteriaBuilder cbuilder = getEntityManager().getCriteriaBuilder(); cbuilder.literal(null); System.out.println("Did not throw IllegalArgumentException"); } catch (IllegalArgumentException iae) { System.out.println("Received expected IllegalArgumentException"); } catch (Exception e) { System.out.println("Received unexpected exception:", e); } output: Did not throw IllegalArgumentException Reproducible: Always
Updating target milestone.
Created attachment 223277 [details] proposed fix and test cases
*** Bug 366248 has been marked as a duplicate of this bug. ***
*** Bug 366206 has been marked as a duplicate of this bug. ***
*** Bug 366199 has been marked as a duplicate of this bug. ***
Fix checked into main (2.5)
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink