Closed miosman closed 10 years ago
I have bumped into the same issue. I even wonder why the apply method is implemented with overloading because the signature parameters are interface and implementation of the same interface. A simple fix should be to remove the implementation parameter method and use instanceof in the other method to handle the concrete implementation details.
I don't have compile time error but IDEA shows an error. It seems that it is relevant to IDEA. Are you using IDEA too?
Yea, forgot to mention that this indeed seems an Idea issue because the JDK compiler runs the code fine. (Or maybe Idea implementation is strict and JDK compiler is lenient)
Yep me too the error was shown in IDEA. Seems to be an IDEA issue. Closing the issue.
Using spring-social-config to configure sign-in with provider lead to compilation error if the project is configured with bytecode level 1.8. Code snippet below
When compiling the previous code with bytecode level 1.8. The compiler gives an 'ambiguous method call ' error on the AbstractConfiguredSecurityBuilder.apply method.
I am using spring-boot 1.0.2.RELEASE with spring-secuirty 3.2.3.RELEASE and spring-social 1.1.0.RELEASE.