Javassist 3.17.0-GA何时可用 [英] When will Javassist 3.17.0-GA be available

查看:104
本文介绍了Javassist 3.17.0-GA何时可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道什么时候可以使用Javassist 3.17.0-GA吗?

Anyone know when Javassist 3.17.0-GA will be made available?

Javaassit中的一个错误(已在3.17.0-GA中修复)正在打破与Java 7一起使用时的PowerMock:
https://issues.jboss.org/browse/JASSIST-160?focusedCommentId=12718716&page=com.atlassian.jira.plugin.system.issuetabpanels:comment- tabpanel#comment-12718716

There is a bug in Javaassit (fixed in 3.17.0-GA) that is breaking PowerMock when used with Java 7: https://issues.jboss.org/browse/JASSIST-160?focusedCommentId=12718716&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12718716

关联的PowerMock错误
http://code.google.com/p/powermock/issues/detail?id=355

Associated PowerMock bug http://code.google.com/p/powermock/issues/detail?id=355

推荐答案

可用。看来更新版本已解决了我的问题,我相信会和您的问题相似。我认为您的问题是 java.lang.VerifyError:需要一个堆栈映射框架的某种变体。

It's available. It looks like updating the version has resolved my issue which I believe would have been similar to yours. I assume your problem is some variation of java.lang.VerifyError: Expecting a stackmap frame.

在编写Javassist的3.19版本时,可用。 PowerMock 1.5.1 也已更新为使用Javassist 3.18 GA 。

At the time of writing version 3.19 of Javassist is available. PowerMock 1.5.1 is also updated to use Javassist 3.18 GA.



替代修补程序

除了升级,其他推荐的解决方案之一是此处结合使用Java 7堆栈映射问题和此处已链接到)。


Alternative fixes
Besides the upgrade, one of the other recommended solutions is the use of the JVM argument -XX:-UseSplitVerifier from a combination of here on Java 7 stack map issues and here on the PowerMock issues registry about java.lang.VerifyError (which you have linked to).

替代修复的实现

在IntelliJ中,我已将-UseSplitVerifier添加到我的JUnit运行器中,但也有有关将其添加到构建中的Maven Surefire 插件中以使解决方案可移植的建议,例如帖子。

Implementations Of Alternative Fixes
In IntelliJ I've added the -UseSplitVerifier to my JUnit runner but there are also recommendations about adding it to the Maven Surefire plugin in your build in order to make the solution portable such as is recommended in this post.

这篇关于Javassist 3.17.0-GA何时可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆