GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/9512

    [SPARK-6152] Use shaded ASM5 to support closure cleaning of Java 8 compiled 
classes

    This patch modifies Spark's closure cleaner (and a few other places) to use 
ASM 5, which is necessary in order to support cleaning of closures that were 
compiled by Java 8.
    
    In order to avoid ASM dependency conflicts, Spark excludes ASM from all of 
its dependencies and uses a shaded version of ASM 4 that comes from 
`reflectasm` (see [SPARK-782](https://issues.apache.org/jira/browse/SPARK-782) 
and #232). This patch updates Spark to use a shaded version of ASM 5.0.4 that 
was published by the Apache XBean project; the POM used to create the shaded 
artifact can be found at 
https://github.com/apache/geronimo-xbean/blob/xbean-4.4/xbean-asm5-shaded/pom.xml.
    
    
http://movingfulcrum.tumblr.com/post/80826553604/asm-framework-50-the-missing-migration-guide
 was a useful resource while upgrading the code to use the new ASM5 opcodes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark SPARK-6152

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/9512.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #9512
    
----
commit e5e27ce41be6541bf2a92562b1854b9a940d08a6
Author: Josh Rosen <[email protected]>
Date:   2015-11-05T23:36:16Z

    Use shaded ASM5 for closure cleaning.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to