[ 
https://issues.apache.org/jira/browse/GEARPUMP-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866352#comment-15866352
 ] 

Karol Brejna commented on GEARPUMP-236:
---------------------------------------

As stated here: 
https://github.com/sbt/sbt-assembly/issues/205#issuecomment-278287602
there is probably a problem with shading. In our tests the plugin regenerated 
the classes that shouldn't be impacted by shading.
Moreover, the outcome of the operation made the classes not validated by JVM.

sbt-assembly we use (0.14.3) depends on jarjar(1.6.2)
jarjar seems to be based on org.ow2.asm 5.0.4 
(https://github.com/pantsbuild/jarjar/blob/master/lib/BUILD)

It seems like the bug is related to asm lib. 

The experiments show that after upgrading asm to 5.1.x

Let my put the findings in the proper sbt-assembly project issue and try to 
create a PR for Gerpump (that forces usage of asm 5.1) tomorrow.



> java.lang.VerifyError after assembly gearpump-core
> --------------------------------------------------
>
>                 Key: GEARPUMP-236
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-236
>             Project: Apache Gearpump
>          Issue Type: Bug
>            Reporter: Manu Zhang
>            Assignee: Karol Brejna
>
> {{java.lang.VerifyError}} exceptions are thrown in all main processes 
> (master, worker, executor, etc) after we assembly {{gearpump-core}}.  I added 
> {{-noverify}} to all of their jvm options as a work-around. We should find 
> the root cause and remove it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to