commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1649705 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
Date Tue, 06 Jan 2015 01:17:15 GMT
Author: sebb
Date: Tue Jan  6 01:17:14 2015
New Revision: 1649705

URL: http://svn.apache.org/r1649705
Log:
Oops

Modified:
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java

Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java?rev=1649705&r1=1649704&r2=1649705&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
(original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
Tue Jan  6 01:17:14 2015
@@ -1161,7 +1161,7 @@ public class DomainValidator implements
     private static class IDNHolder {
         private static Method getMethod() {
             try {
-                Class clazz = Class.forName("java.net.IDN", false, DomainValidatorTest.class.getClassLoader());
+                Class clazz = Class.forName("java.net.IDN", false, DomainValidator.class.getClassLoader());
                 return clazz.getDeclaredMethod("toASCII", new Class[]{String.class});
             } catch (Exception e) {
               return null;



Mime
View raw message