-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
添加LOGO 增加测试用例日志 完善模块管理日志 提交CoreLoadedClassDataSource的单元测试 完成CoreModuleManager测试用例 提交CoreModuleManager的单元测试 优化import 修复问题 #117 完善测试用例 修复重复查询user_module的BUG
- Loading branch information
luanjia
committed
Dec 11, 2018
1 parent
24259b0
commit 9f74182
Showing
512 changed files
with
3,023 additions
and
511 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+11 KB
sandbox-agent/target/classes/com/alibaba/jvm/sandbox/agent/AgentLauncher.class
Binary file not shown.
Binary file added
BIN
+3.74 KB
sandbox-agent/target/classes/com/alibaba/jvm/sandbox/agent/SandboxClassLoader.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,11 @@ | |
* @author [email protected] | ||
* @since {@code sandbox-api:1.0.10} | ||
*/ | ||
class AdviceAdapterListener implements EventListener { | ||
public class AdviceAdapterListener implements EventListener { | ||
|
||
private final AdviceListener adviceListener; | ||
|
||
AdviceAdapterListener(final AdviceListener adviceListener) { | ||
public AdviceAdapterListener(final AdviceListener adviceListener) { | ||
this.adviceListener = adviceListener; | ||
} | ||
|
||
|
@@ -71,6 +71,16 @@ final public void onEvent(final Event event) throws Throwable { | |
adviceListener.before(advice); | ||
break; | ||
} | ||
|
||
/** | ||
* 这里需要感知到IMMEDIATELY,修复#117 | ||
*/ | ||
case IMMEDIATELY_THROWS: | ||
case IMMEDIATELY_RETURN: { | ||
final InvokeEvent invokeEvent = (InvokeEvent) event; | ||
opStackRef.get().popByExpectInvokeId(invokeEvent.invokeId); | ||
} | ||
|
||
case RETURN: { | ||
final OpStack opStack = opStackRef.get(); | ||
final ReturnEvent rEvent = (ReturnEvent) event; | ||
|
Oops, something went wrong.