Skip to content

Commit

Permalink
Make getTarget protected
Browse files Browse the repository at this point in the history
To allow calling from caplets loaded by a different class loader.
  • Loading branch information
pron committed Feb 24, 2015
1 parent b071280 commit 60747a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capsule/src/main/java/Capsule.java
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ protected final <T extends Capsule> T sup(Class<T> caplet) {
return null;
}

final <T extends Capsule> T getCallTarget(Class<T> clazz) {
protected final <T extends Capsule> T getCallTarget(Class<T> clazz) {
/*
* Here we're implementing both the "invokevirtual" and "invokespecial".
* We want to somehow differentiate the case where the function is called directly -- and should, like invokevirtual, target cc, the
Expand Down

0 comments on commit 60747a8

Please sign in to comment.