Closed
Description
Nickolay Mazurkin opened SPR-6399 and commented
I create a bean with java.security.SecureRandom type property which is injected.
GenericTypeAwarePropertyDescriptor warns me that SecureRandom has ambiguous write methods with the following message.
Invalid JavaBean property 'seed' being accessed! Ambiguous write methods found next to actually used [public void java.security.SecureRandom.setSeed(long)]: [public synchronized void java.security.SecureRandom.setSeed(byte[])]
I fully understand that it does mean. But java.security.SecureRandom is a JDK's class and I can do nothing to make this bean properly formed. And I don't want to see this warn message in my log too.
Affects: 3.0 RC2
Issue Links:
- Spring inconsistently resolves an overloaded setter method [SPR-4931] #9606 Spring inconsistently resolves an overloaded setter method
Referenced from: commits 61f2371