Minimum requirement for 5.5.2 is Java 7 not Java 6 as indicated

Description

Collections.emptyIterator(); is only available in Java 1.7 not in 1.6

java.lang.NoSuchMethodError: java.util.Collections.emptyIterator()Ljava/util/Iterator; at org.hibernate.validator.internal.engine.ValidatorImpl.createIteratorForCascadedValue(ValidatorImpl.java:647) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraints(ValidatorImpl.java:614) at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:412) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraint(ValidatorImpl.java:723) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraints(ValidatorImpl.java:601) at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:412) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraint(ValidatorImpl.java:723) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraints(ValidatorImpl.java:601) at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:412) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraint(ValidatorImpl.java:723) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraints(ValidatorImpl.java:601) at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:412) at org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:206)

Environment

None

Activity

Show:

Hardy FerentschikSeptember 15, 2014 at 8:56 AM

Thanks for the bug report. This is a duplicate of HV-924. The introduction of Collections.emptyIterator() was accidentally. We will release a maintenance release (5.1.3) shortly.

Duplicate

Details

Assignee

Reporter

Labels

Bug Testcase Reminder (view)

Bug reports should generally be accompanied by a test case!

Bug Testcase Reminder (edit)

Bug reports should generally be accompanied by a test case!

Participants

Hardy Ferentschik
Vadim Bauer

Components

Affects versions

Priority

Created September 15, 2014 at 7:50 AM
Updated October 22, 2014 at 2:50 PM
Resolved October 2, 2014 at 8:52 AM

Flag notifications