pantsbuild / jarjar

An export of https://code.google.com/p/jarjar/ @ svn:r142 for pants tool use and further development.
Apache License 2.0
37 stars 27 forks source link

Shading code with lambdas fails at runtime #51

Open baroquebobcat opened 4 years ago

baroquebobcat commented 4 years ago

I ran into this when trying to shade some code I'd written with lambdas. I think this is the jarjar equivalent of https://issues.apache.org/jira/browse/MSHADE-260 I could work up a proof of concept if needed, but I think the link has enough detail.

The workaround is to exclude the packages that use lambdas.

baroquebobcat commented 4 years ago

Specifically, the bootstrap method handle arguments are not shaded.