@ -30,6 +30,8 @@ import java.util.function.Consumer;
import org.springframework.beans.BeanUtils ;
import org.springframework.beans.BeanUtils ;
import org.springframework.beans.PropertyEditorRegistry ;
import org.springframework.beans.PropertyEditorRegistry ;
import org.springframework.beans.SimpleTypeConverter ;
import org.springframework.beans.SimpleTypeConverter ;
import org.springframework.beans.propertyeditors.CustomBooleanEditor ;
import org.springframework.beans.propertyeditors.CustomNumberEditor ;
import org.springframework.beans.propertyeditors.FileEditor ;
import org.springframework.beans.propertyeditors.FileEditor ;
import org.springframework.boot.convert.ApplicationConversionService ;
import org.springframework.boot.convert.ApplicationConversionService ;
import org.springframework.core.ResolvableType ;
import org.springframework.core.ResolvableType ;
@ -175,7 +177,9 @@ final class BindConverter {
private static final Set < Class < ? > > EXCLUDED_EDITORS ;
private static final Set < Class < ? > > EXCLUDED_EDITORS ;
static {
static {
Set < Class < ? > > excluded = new HashSet < > ( ) ;
Set < Class < ? > > excluded = new HashSet < > ( ) ;
excluded . add ( FileEditor . class ) ; // gh-12163
excluded . add ( CustomNumberEditor . class ) ;
excluded . add ( CustomBooleanEditor . class ) ;
excluded . add ( FileEditor . class ) ;
EXCLUDED_EDITORS = Collections . unmodifiableSet ( excluded ) ;
EXCLUDED_EDITORS = Collections . unmodifiableSet ( excluded ) ;
}
}