[hibernate-commits] [hibernate/hibernate-validator] 2501af: HV-1104 Upgrade Karaf to 4.0.7 in our OSGi integra...

GitHub noreply at github.com
Wed Dec 7 08:55:07 EST 2016


  Branch: refs/heads/5.4
  Home:   https://github.com/hibernate/hibernate-validator
  Commit: 2501affba21a688251cdfb6e2d7e54d36176c004
      https://github.com/hibernate/hibernate-validator/commit/2501affba21a688251cdfb6e2d7e54d36176c004
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M osgi/karaf-features/src/main/features/features.xml
    M pom.xml

  Log Message:
  -----------
  HV-1104 Upgrade Karaf to 4.0.7 in our OSGi integration test


  Commit: 18ad7d9648b6330a322da6e5cc482df6123be927
      https://github.com/hibernate/hibernate-validator/commit/18ad7d9648b6330a322da6e5cc482df6123be927
  Author: Gunnar Morling <gunnar.morling at googlemail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M osgi/integrationtest/src/test/java/org/hibernate/validator/osgi/integrationtest/OsgiIntegrationTest.java

  Log Message:
  -----------
  HV-1104 Using only "system" feature in Karaf; the previously used "standard" pulls in "management as of Karaf 4.0.4 which may cause issues with firewalls preventing the exposure of the JMX server


  Commit: 4adc0ee9ae0113d0716b2dcb0b197d66bc9e3d58
      https://github.com/hibernate/hibernate-validator/commit/4adc0ee9ae0113d0716b2dcb0b197d66bc9e3d58
  Author: Gunnar Morling <gunnar.morling at googlemail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M osgi/integrationtest/src/test/java/org/hibernate/validator/osgi/integrationtest/OsgiIntegrationTest.java
    M osgi/karaf-features/src/main/features/features.xml
    M pom.xml

  Log Message:
  -----------
  HV-1177 Adding bundle for javax.annotation to make OSGi tests pass (moneta depends on it)


  Commit: fc6ab6ae189791f02039ea09ce7e155a5a133bcb
      https://github.com/hibernate/hibernate-validator/commit/fc6ab6ae189791f02039ea09ce7e155a5a133bcb
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M engine-jdk8-tests/src/test/java/org/hibernate/validator/test/internal/engine/typeannotationconstraint/TypeAnnotationConstraintTest.java
    M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
    M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
    M engine/src/main/java/org/hibernate/validator/internal/util/ReflectionHelper.java
    M engine/src/test/java/org/hibernate/validator/test/internal/util/ReflectionHelperTest.java

  Log Message:
  -----------
  HV-1165 Support type argument constraints for Set

This is a follow-up of HV-1062: it fixed the Map case but introduced a
regression for the Set case.

Also unify the tests so that they cover correctly all cases.

Also fix a misleading comment which led to this mistake.

Note that a few tests for Optional method validation got removed, they
will be reintroduced in a follow-up commit.


  Commit: dddc3d145e9a89dbae7c1a27d39a7a25b47e6cab
      https://github.com/hibernate/hibernate-validator/commit/dddc3d145e9a89dbae7c1a27d39a7a25b47e6cab
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M engine-jdk8-tests/src/test/java/org/hibernate/validator/test/internal/engine/typeannotationconstraint/TypeAnnotationConstraintTest.java
    M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
    M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedField.java
    M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedParameter.java

  Log Message:
  -----------
  HV-1176 Fix type argument constraints detection.

They could be ignored if they were the only constraints of a method's
parameters or return value.

This issue was detected by separating the tests of List and Optional:
the presence of an @Valid annotation for the List made the test work.


Compare: https://github.com/hibernate/hibernate-validator/compare/ef0cfad1b883...dddc3d145e9a


More information about the hibernate-commits mailing list