Skip to content

Commit

Permalink
pass path to isClass
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicPlayerA10 committed Oct 4, 2024
1 parent facba15 commit ba50189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private void loadInput() {

private void loadClass(String pathInJar, byte[] bytes) {
try {
if (ClassHelper.isClass(bytes)) {
if (ClassHelper.isClass(pathInJar, bytes)) {
ClassWrapper classWrapper = ClassHelper.loadClass(
pathInJar,
bytes,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected void transform(ClassWrapper scope, Context context) throws Exception {
/**
* Tries to remove pop's source values
*
* @param insnContext Instructon context
* @param insnContext Instruction context
* @return If removed
*/
private boolean tryRemovePop(InsnContext insnContext) {
Expand Down

0 comments on commit ba50189

Please sign in to comment.