发布于 2016-04-22 10:18:14 | 188 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Byteman Java字节码注入工具

Byteman 是一个Java字节码注入工具,用以简化 Java 应用程序的测试和开发,使用名为 fault injection 的技术。通过在应用代码中注入脚本来对应用进行测试。


 

Byteman 3.0.5 发布了,

一些新特性:

  • COMPILE/NOCOMPILE clauses can now be inserted into scripts at the top level or into individual rules to enable/inhibit compilation to bytecode

  • A new LinkMap builtin API has been added to the default Helper, allowing arbitrary data to be easily saved and retrieved from one rule execution to the next. Kudos to Red Hat's Richard Achmatowitz for implementing this extremely useful new API.

  • A new location specifier AT EXCEPTION EXIT has been provided allowing rules to be triggered by exceptions passing out of a method. After rule processing the original exception is  implicitly rethrown unless the rule explicitly THROWs a new synthetic exception or else swallows the exception and perform a synthetic RETURN. I'm very grateful to Red Hat's Gary Brown for pushing such an elegant implementation of this feature in my direction when I was convinced it was going to be my worst plumbing nightmare.

  • The DTest contrib package has been updated to allow instrumentation of a class by name as an alternative to providing the class instance. Many thanks to Red Hat's Ondrej Chaloupka for providing this update.

下载地址:http://byteman.jboss.org/downloads.html



历史版本 :
Java 字节码注入工具 Byteman 发布 4.0.0 正式版
Byteman 3.0.10 和 4.0.0-BETA5 发布,Java 字节码注入工具
Byteman 3.0.8 发布,Java 字节码注入工具
Byteman 3.0.7 发布,Java 字节码注入工具
Byteman 4.0.0-BETA3 发布,Java字节码注入工具
Byteman 4.0.0-BETA1 发布,Java 字节码注入工具
Byteman 3.0.6 发布,Java 字节码注入工具
Byteman 3.0.5 发布,Java 字节码注入工具
Byteman 3.0.3 发布,Java 字节码注入工具
Byteman 3.0.2 发布,Java 字节码注入工具
Byteman 3.0.0 发布,Java 字节码注入工具
Byteman 2.2.2 发布,Java 字节码注入工具
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务