rmannibucau commented on pull request #421:
URL: https://github.com/apache/maven/pull/421#issuecomment-751766701


   @mkarg java lang proxies don't know how to invoke the default method so you 
will not get the expected behavior. This is a common breaking change since 
default methods were introduced. Some workaround for 2 java versions can look 
like 
https://github.com/Talend/component-runtime/blob/master/component-runtime-impl/src/main/java/org/talend/sdk/component/runtime/reflect/Defaults.java#L34
 but this is really a workaround. jsonp got this breakage BTW even if it had 
been warned :(.
   
   > Isn't master only be used for Maven >= 4 ?
   
   Yes, point is more that if kept, it must not be backported and that if for 
maven 4 it can be added as a not default method too ;).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to