mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-02 12:39:14 +00:00
ObjectToObject converter now only matches public methods/constructors; private class method invocations also supported now through a makeAccessible call
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2675 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+2
-2
@@ -597,8 +597,7 @@ public class DefaultConversionTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void convertObjectToObjectValueOFMethod() {
|
||||
public void convertObjectToObjectValueOfMethod() {
|
||||
assertEquals(ISBN.valueOf("123456789"), conversionService.convert("123456789", ISBN.class));
|
||||
}
|
||||
|
||||
@@ -614,6 +613,7 @@ public class DefaultConversionTests {
|
||||
}
|
||||
|
||||
private static class SSN {
|
||||
|
||||
private String value;
|
||||
|
||||
public SSN(String value) {
|
||||
|
||||
Reference in New Issue
Block a user