Skip to content

Commit

Permalink
Update JVM-SANDBOX-DEVELOPER-GUIDE-Chinese.md
Browse files Browse the repository at this point in the history
修复 alibaba#44 所反馈的问题
  • Loading branch information
oldmanpushcart authored Jan 31, 2018
1 parent dab8a9f commit 6fcd627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/JVM-SANDBOX-DEVELOPER-GUIDE-Chinese.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public class BrokenClockTinkerModule implements Module {

#### 根据SPI规范注册

1. 创建`META-INF/service/com.alibaba.jvm.sandbox.api.Module`文件
1. 创建`META-INF/services/com.alibaba.jvm.sandbox.api.Module`文件
2. 往文件内容中将之前的模块注入进来

```
Expand Down Expand Up @@ -431,4 +431,4 @@ java.lang.IllegalStateException

- 通过在`THROWS`事件环节的改变流程,可以让原本应该抛出异常的`checkState()`方法转变为抛出返回值。

你甚至可以窥探、篡改入参、返回值、抛出的异常等等,这些都将可以通过沙箱模块来实现。沙箱模块还能帮你实现很多有意思的功能,期待你的想象。
你甚至可以窥探、篡改入参、返回值、抛出的异常等等,这些都将可以通过沙箱模块来实现。沙箱模块还能帮你实现很多有意思的功能,期待你的想象。

0 comments on commit 6fcd627

Please sign in to comment.