geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r810656 - in /geronimo/specs/trunk/geronimo-validation_1.0_spec: ./ src/main/java/javax/validation/ src/main/java/javax/validation/bootstrap/ src/main/java/javax/validation/constraints/ src/main/java/javax/validation/groups/ src/main/java/j...
Date Wed, 02 Sep 2009 18:34:18 GMT
Author: dwoods
Date: Wed Sep  2 18:34:15 2009
New Revision: 810656

URL: http://svn.apache.org/viewvc?rev=810656&view=rev
Log:
GERONIMO-4619 Update to CR5 api level, which renamed ConstraintPayload to Payload, fixed typo of getUnorderdConstraintDescriptorsMatchingGroups(), added PriveledgedAction handlers around ClassLoaders and some minor source formatting updates

Added:
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Payload.java
      - copied, changed from r810598, geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintPayload.java
Removed:
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintPayload.java
Modified:
    geronimo/specs/trunk/geronimo-validation_1.0_spec/pom.xml
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Configuration.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Constraint.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintDefinitionException.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidator.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorContext.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorFactory.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolation.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolationException.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupDefinitionException.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupSequence.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/MessageInterpolator.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/OverridesAttribute.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Path.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ReportAsSingleViolation.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/TraversableResolver.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/UnexpectedTypeException.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Valid.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validation.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationException.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationProviderResolver.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validator.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorContext.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorFactory.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/bootstrap/ProviderSpecificBootstrap.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertFalse.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertTrue.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMax.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMin.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Digits.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Future.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Max.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Min.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/NotNull.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Null.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Past.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Pattern.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Size.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/groups/Default.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/BeanDescriptor.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ConstraintDescriptor.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ElementDescriptor.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/PropertyDescriptor.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/BootstrapState.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ConfigurationState.java
    geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ValidationProvider.java

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/pom.xml?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/pom.xml (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/pom.xml Wed Sep  2 18:34:15 2009
@@ -32,7 +32,7 @@
 
     <groupId>org.apache.geronimo.specs</groupId>
     <artifactId>geronimo-validation_1.0_spec</artifactId>
-    <version>1.0-EA4-SNAPSHOT</version>
+    <version>1.0-EA5-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>Bean Validation 1.0 Spec API</name>
     <description>Bean Validation Spec API 1.0 JSR-303</description>

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Configuration.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Configuration.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Configuration.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Configuration.java Wed Sep  2 18:34:15 2009
@@ -39,3 +39,4 @@
 
 	ValidatorFactory buildValidatorFactory();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Constraint.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Constraint.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Constraint.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Constraint.java Wed Sep  2 18:34:15 2009
@@ -32,3 +32,4 @@
 public @interface Constraint {
     public Class<? extends ConstraintValidator<?,?>>[] validatedBy();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintDefinitionException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintDefinitionException.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintDefinitionException.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintDefinitionException.java Wed Sep  2 18:34:15 2009
@@ -36,3 +36,4 @@
         super(cause);
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidator.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidator.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidator.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidator.java Wed Sep  2 18:34:15 2009
@@ -26,3 +26,4 @@
 
     boolean isValid(T value, ConstraintValidatorContext constraintValidatorContext);
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorContext.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorContext.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorContext.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorContext.java Wed Sep  2 18:34:15 2009
@@ -59,3 +59,4 @@
         }
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorFactory.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorFactory.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintValidatorFactory.java Wed Sep  2 18:34:15 2009
@@ -23,3 +23,4 @@
 
     <T extends ConstraintValidator<?, ?>> T getInstance(Class<T> key);
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolation.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolation.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolation.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolation.java Wed Sep  2 18:34:15 2009
@@ -39,3 +39,4 @@
 
     ConstraintDescriptor<?> getConstraintDescriptor();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolationException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolationException.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolationException.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintViolationException.java Wed Sep  2 18:34:15 2009
@@ -39,3 +39,4 @@
         return constraintViolations;
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupDefinitionException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupDefinitionException.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupDefinitionException.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupDefinitionException.java Wed Sep  2 18:34:15 2009
@@ -36,3 +36,4 @@
         super(cause);
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupSequence.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupSequence.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupSequence.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/GroupSequence.java Wed Sep  2 18:34:15 2009
@@ -29,3 +29,4 @@
 public @interface GroupSequence {
     Class<?>[] value();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/MessageInterpolator.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/MessageInterpolator.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/MessageInterpolator.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/MessageInterpolator.java Wed Sep  2 18:34:15 2009
@@ -33,3 +33,4 @@
         Object getValidatedValue();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/OverridesAttribute.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/OverridesAttribute.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/OverridesAttribute.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/OverridesAttribute.java Wed Sep  2 18:34:15 2009
@@ -42,3 +42,4 @@
         OverridesAttribute[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Path.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Path.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Path.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Path.java Wed Sep  2 18:34:15 2009
@@ -31,3 +31,4 @@
         Object getKey();
     }
 }
+

Copied: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Payload.java (from r810598, geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintPayload.java)
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Payload.java?p2=geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Payload.java&p1=geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintPayload.java&r1=810598&r2=810656&rev=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ConstraintPayload.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Payload.java Wed Sep  2 18:34:15 2009
@@ -17,7 +17,10 @@
 package javax.validation;
 
 /**
+ * Non-portable implementation specific way to provide metadata to constraints.
+ *
  * @version $Rev$ $Date$
  */
-public interface ConstraintPayload {
+public interface Payload {
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ReportAsSingleViolation.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ReportAsSingleViolation.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ReportAsSingleViolation.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ReportAsSingleViolation.java Wed Sep  2 18:34:15 2009
@@ -28,3 +28,4 @@
 @Retention(RUNTIME)
 public @interface ReportAsSingleViolation {
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/TraversableResolver.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/TraversableResolver.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/TraversableResolver.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/TraversableResolver.java Wed Sep  2 18:34:15 2009
@@ -35,3 +35,4 @@
         Path pathToTraversableObject,
         ElementType elementType);
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/UnexpectedTypeException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/UnexpectedTypeException.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/UnexpectedTypeException.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/UnexpectedTypeException.java Wed Sep  2 18:34:15 2009
@@ -38,3 +38,4 @@
         super(cause);
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Valid.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Valid.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Valid.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Valid.java Wed Sep  2 18:34:15 2009
@@ -31,3 +31,4 @@
 @Retention(RUNTIME)
 public @interface Valid {
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validation.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validation.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validation.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validation.java Wed Sep  2 18:34:15 2009
@@ -21,6 +21,8 @@
 import java.io.InputStream;
 import java.io.InputStreamReader;
 import java.net.URL;
+import java.security.AccessController;
+import java.security.PrivilegedAction;
 import java.util.ArrayList;
 import java.util.Enumeration;
 import java.util.List;
@@ -95,23 +97,23 @@
                 throw new ValidationException("No resolver provided");
 
             // create a default resolver if not supplied by providerResolver()
-            GenericBootstrapImpl state = new GenericBootstrapImpl();
+            GenericBootstrapImpl impl = new GenericBootstrapImpl();
             if ( vpResolver == null )
-                vpResolver = state.getDefaultValidationProviderResolver();
+                vpResolver = impl.getDefaultValidationProviderResolver();
             else
-                state.providerResolver(vpResolver);
+                impl.providerResolver(vpResolver);
 
             // check each provider discovered by the resolver
             for (ValidationProvider<?> vProvider : vpResolver.getValidationProviders()) {
                 if (providerClass.isAssignableFrom(vProvider.getClass())) {
-                    // Create a ValidationProvider<T> from the above bootstrap state
+                    // Create a ValidationProvider<T> from the above bootstrap impl
                     // and configurationType
-                    return providerClass.cast(vProvider).createSpecializedConfiguration(state);
+                    return providerClass.cast(vProvider).createSpecializedConfiguration(impl);
                 }
             }
 
             // throw a Spec required exception
-            throw new ValidationException("No resover found for provider " + providerClass);
+            throw new ValidationException("No provider found for " + providerClass);
         }
     }
 
@@ -167,7 +169,7 @@
                     resolv = getDefaultValidationProviderResolver();
                 return resolv.getValidationProviders().get(0).createGenericConfiguration(this);
             } catch (Exception e) {
-                throw new ValidationException("Could not create a default provider", e);
+                throw new ValidationException("Could not create Configuration.", e);
             }
         }
     }
@@ -195,9 +197,9 @@
             List<ValidationProvider<?>> providers;
 
             // get our class loader
-            ClassLoader cl = Thread.currentThread().getContextClassLoader();
+            ClassLoader cl = PrivClassLoader.get(null);
             if (cl == null)
-                cl = DefaultValidationProviderResolver.class.getClassLoader();
+                cl = PrivClassLoader.get(DefaultValidationProviderResolver.class);
 
             // use any previously cached providers
             synchronized (providerCache) {
@@ -261,5 +263,29 @@
             // caller must handle the case of no providers found
             return providers;
         }
+
+        private static class PrivClassLoader implements PrivilegedAction<ClassLoader> {
+            private final Class<?> c;
+
+            public static ClassLoader get(Class<?> c) {
+                final PrivClassLoader action = new PrivClassLoader(c);
+                if (System.getSecurityManager() != null)
+                    return AccessController.doPrivileged(action);
+                else
+                    return action.run();
+            }
+
+            private PrivClassLoader(Class<?> c) {
+                this.c = c;
+            }
+
+            public ClassLoader run() {
+                if (c != null)
+                    return c.getClassLoader();
+                else
+                    return Thread.currentThread().getContextClassLoader();
+            }
+        }
     }
- }
+}
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationException.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationException.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationException.java Wed Sep  2 18:34:15 2009
@@ -36,3 +36,4 @@
         super(cause);
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationProviderResolver.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationProviderResolver.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationProviderResolver.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidationProviderResolver.java Wed Sep  2 18:34:15 2009
@@ -25,3 +25,4 @@
 public interface ValidationProviderResolver {
     List<ValidationProvider<?>> getValidationProviders();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validator.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validator.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validator.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/Validator.java Wed Sep  2 18:34:15 2009
@@ -38,3 +38,4 @@
 
     public <T> T unwrap(Class<T> type);
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorContext.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorContext.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorContext.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorContext.java Wed Sep  2 18:34:15 2009
@@ -26,3 +26,4 @@
 
     Validator getValidator();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorFactory.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorFactory.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/ValidatorFactory.java Wed Sep  2 18:34:15 2009
@@ -28,3 +28,4 @@
 
     public <T> T unwrap(Class<T> type);
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/bootstrap/ProviderSpecificBootstrap.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/bootstrap/ProviderSpecificBootstrap.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/bootstrap/ProviderSpecificBootstrap.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/bootstrap/ProviderSpecificBootstrap.java Wed Sep  2 18:34:15 2009
@@ -17,6 +17,7 @@
 package javax.validation.bootstrap;
 
 import javax.validation.Configuration;
+import javax.validation.spi.ValidationProvider;
 import javax.validation.ValidationProviderResolver;
 
 public interface ProviderSpecificBootstrap<T extends Configuration<T>> {

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertFalse.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertFalse.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertFalse.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertFalse.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
     @Retention(RUNTIME)
@@ -50,3 +50,4 @@
         AssertFalse[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertTrue.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertTrue.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertTrue.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/AssertTrue.java Wed Sep  2 18:34:15 2009
@@ -26,7 +26,7 @@
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
 import java.lang.annotation.Target;
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -40,7 +40,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
     @Retention(RUNTIME)
@@ -49,3 +49,4 @@
         AssertTrue[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMax.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMax.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMax.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMax.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     String value();
 
@@ -52,3 +52,4 @@
         DecimalMax[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMin.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMin.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMin.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/DecimalMin.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     String value();
 
@@ -52,3 +52,4 @@
         DecimalMin[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Digits.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Digits.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Digits.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Digits.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     int integer();
 
@@ -54,3 +54,4 @@
         Digits[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Future.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Future.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Future.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Future.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
     @Retention(RUNTIME)
@@ -50,3 +50,4 @@
         Future[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Max.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Max.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Max.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Max.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     long value();
 
@@ -52,3 +52,4 @@
         Max[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Min.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Min.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Min.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Min.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     long value();
 
@@ -52,3 +52,4 @@
         Min[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/NotNull.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/NotNull.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/NotNull.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/NotNull.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
     @Retention(RUNTIME)
@@ -50,3 +50,4 @@
         NotNull[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Null.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Null.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Null.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Null.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
     @Retention(RUNTIME)
@@ -50,3 +50,4 @@
         Null[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Past.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Past.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Past.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Past.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
     @Retention(RUNTIME)
@@ -50,3 +50,4 @@
         Past[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Pattern.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Pattern.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Pattern.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Pattern.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -46,7 +46,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     public static enum Flag {
 
@@ -82,3 +82,4 @@
         Pattern[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Size.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Size.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Size.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/constraints/Size.java Wed Sep  2 18:34:15 2009
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 import javax.validation.Constraint;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -41,7 +41,7 @@
 
     Class<?>[] groups() default {};
 
-    Class<? extends ConstraintPayload>[] payload() default {};
+    Class<? extends Payload>[] payload() default {};
 
     int min() default 0;
 
@@ -54,3 +54,4 @@
         Size[] value();
     }
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/groups/Default.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/groups/Default.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/groups/Default.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/groups/Default.java Wed Sep  2 18:34:15 2009
@@ -21,3 +21,4 @@
  */
 public interface Default {
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/BeanDescriptor.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/BeanDescriptor.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/BeanDescriptor.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/BeanDescriptor.java Wed Sep  2 18:34:15 2009
@@ -28,3 +28,4 @@
 
     Set<PropertyDescriptor> getConstrainedProperties();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ConstraintDescriptor.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ConstraintDescriptor.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ConstraintDescriptor.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ConstraintDescriptor.java Wed Sep  2 18:34:15 2009
@@ -21,7 +21,7 @@
 import java.util.Map;
 import java.util.Set;
 import javax.validation.ConstraintValidator;
-import javax.validation.ConstraintPayload;
+import javax.validation.Payload;
 
 /**
  * @version $Rev$ $Date$
@@ -31,7 +31,7 @@
 
     Set<Class<?>> getGroups();
 
-    Set<Class<ConstraintPayload>> getPayload();
+    Set<Class<? extends Payload>> getPayload();
 
     List<Class<? extends ConstraintValidator<T, ?>>>
         getConstraintValidatorClasses();
@@ -42,3 +42,4 @@
 
     boolean isReportAsSingleViolation();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ElementDescriptor.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ElementDescriptor.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ElementDescriptor.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/ElementDescriptor.java Wed Sep  2 18:34:15 2009
@@ -29,5 +29,6 @@
 
     Set<ConstraintDescriptor<?>> getConstraintDescriptors();
 
-    Set<ConstraintDescriptor<?>> getUnorderdConstraintDescriptorsMatchingGroups(Class<?>... groups);
+    Set<ConstraintDescriptor<?>> getUnorderedConstraintDescriptorsMatchingGroups(Class<?>... groups);
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/PropertyDescriptor.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/PropertyDescriptor.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/PropertyDescriptor.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/metadata/PropertyDescriptor.java Wed Sep  2 18:34:15 2009
@@ -24,3 +24,4 @@
 
     String getPropertyName();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/BootstrapState.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/BootstrapState.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/BootstrapState.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/BootstrapState.java Wed Sep  2 18:34:15 2009
@@ -26,3 +26,4 @@
 
     ValidationProviderResolver getDefaultValidationProviderResolver();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ConfigurationState.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ConfigurationState.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ConfigurationState.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ConfigurationState.java Wed Sep  2 18:34:15 2009
@@ -40,3 +40,4 @@
 
     Map<String, String> getProperties();
 }
+

Modified: geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ValidationProvider.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ValidationProvider.java?rev=810656&r1=810655&r2=810656&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ValidationProvider.java (original)
+++ geronimo/specs/trunk/geronimo-validation_1.0_spec/src/main/java/javax/validation/spi/ValidationProvider.java Wed Sep  2 18:34:15 2009
@@ -30,3 +30,4 @@
 
     ValidatorFactory buildValidatorFactory(ConfigurationState configurationState);
 }
+



Mime
View raw message