bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Fwd: svn commit: r1614467 - /bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/cdi/BValInterceptor.java
Date Tue, 29 Jul 2014 19:25:47 GMT
Hi guys

OWB was broken in the version we use (release), only trunk supports it
correctly but it is a snapshot, not sure how to proceed on it since
now we have 3 failling tests for tck11.


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



---------- Forwarded message ----------
From:  <rmannibucau@apache.org>
Date: 2014-07-29 21:24 GMT+02:00
Subject: svn commit: r1614467 -
/bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/cdi/BValInterceptor.java
To: commits@bval.apache.org


Author: rmannibucau
Date: Tue Jul 29 19:24:07 2014
New Revision: 1614467

URL: http://svn.apache.org/r1614467
Log:
this breaks tck11 but this is a bug in OWB, I'll have a look later,
pushing it to not block users ATM

Modified:
    bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/cdi/BValInterceptor.java

Modified: bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/cdi/BValInterceptor.java
URL: http://svn.apache.org/viewvc/bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/cdi/BValInterceptor.java?rev=1614467&r1=1614466&r2=1614467&view=diff
==============================================================================
--- bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/cdi/BValInterceptor.java
(original)
+++ bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/cdi/BValInterceptor.java
Tue Jul 29 19:24:07 2014
@@ -89,7 +89,7 @@ public class BValInterceptor {
         final Object result = context.proceed();

         {
-            final Set<ConstraintViolation<?>> violations =
executableValidator.validateConstructorReturnValue(constructor,
result);
+            final Set<ConstraintViolation<?>> violations =
executableValidator.validateConstructorReturnValue(constructor,
context.getTarget());
             if (!violations.isEmpty()) {
                 throw new ConstraintViolationException(violations);
             }

Mime
View raw message