bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1614467 - /bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/cdi/BValInterceptor.java
Date Tue, 29 Jul 2014 19:24:08 GMT
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