-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #5015: Fix Gradle/broken task dependency and serialization #5022
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Note - the failing test is because of #4984, this PR should not have any effect on that test (negative or positive). |
@lkishalmi can I merge this before #4984 fix ? |
First this should go to master first. then it would be backported (cherry-picked) for NB16u1 as a separate PR. |
…pache#5022) * Avoid failing on broken tasks during dependency inspection * Corrected bad check for primitive class that passed also generated proxies (fixes apache#5015)
…pache#5022) * Avoid failing on broken tasks during dependency inspection * Corrected bad check for primitive class that passed also generated proxies (fixes apache#5015)
…pache#5022) * Avoid failing on broken tasks during dependency inspection * Corrected bad check for primitive class that passed also generated proxies (fixes apache#5015)
During debugging of #5015, I've also encountered some broken task that depended on a non-existing class: so I wrapped task dependencies into
try-catch(LinkageError)
.The not serializable bug itself was caused by an improper test for primitive that passed on even some generated proxy with no package. The current version will still pass more values than just primitive wrappers (anything from java.lang).