You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Spring 5.x DataSource proxying does not work with Oracle UCP on JDK 9+ [SPR-17003] #21541
And some AOP advice is trying to build an interface-based proxy for that PoolDataSource, I assume? Since that's the only known source of such signature conflicts in interfaces...
This turns out to be a side effect of #21264 where we're trying to combine interfaces for AspectJ pointcut matching. We ignore any such failures now, proceeding with the original target method (as we did before). This is ready for release in 5.1 RC1 and 5.0.8 this week; feel free to give it an early try against the upcoming 5.1.0.BUILD-SNAPSHOT / 5.0.8.BUILD-SNAPSHOT.
Activity
spring-projects-issues commentedon Jul 4, 2018
Juergen Hoeller commented
Which kind of proxying is attempted here? In other words, what does the
DataSourcesetup look like specifically?spring-projects-issues commentedon Jul 4, 2018
David J. M. Karlsen commented
For my case (it is another user at stack-overflow) it is:
spring-projects-issues commentedon Jul 4, 2018
Juergen Hoeller commented
And some AOP advice is trying to build an interface-based proxy for that
PoolDataSource, I assume? Since that's the only known source of such signature conflicts in interfaces...spring-projects-issues commentedon Jul 5, 2018
David J. M. Karlsen commented
It gets triggered if I
@EnableHystrixfrom https://cloud.spring.io/spring-cloud-netflix/single/spring-cloud-netflix.html - but I can imagine any aspect/AOP will trigger this.spring-projects-issues commentedon Jul 22, 2018
Juergen Hoeller commented
This turns out to be a side effect of #21264 where we're trying to combine interfaces for AspectJ pointcut matching. We ignore any such failures now, proceeding with the original target method (as we did before). This is ready for release in 5.1 RC1 and 5.0.8 this week; feel free to give it an early try against the upcoming
5.1.0.BUILD-SNAPSHOT/5.0.8.BUILD-SNAPSHOT.