mirror of
https://gitea.998043.xyz/novice/plugin-privacy.git
synced 2026-07-13 14:01:20 +08:00
newest
This commit is contained in:
@@ -29,13 +29,13 @@
|
||||
package com.novitechie;
|
||||
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
import jdk.internal.org.objectweb.asm.ClassReader;
|
||||
import jdk.internal.org.objectweb.asm.ClassWriter;
|
||||
import jdk.internal.org.objectweb.asm.Opcodes;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@@ -146,13 +146,13 @@ public class SafeClassWriter extends ClassWriter {
|
||||
throws IOException {
|
||||
while (!"java/lang/Object".equals(type)) {
|
||||
String[] itfs = info.getInterfaces();
|
||||
for (int i = 0; i < itfs.length; ++i) {
|
||||
if (itfs[i].equals(itf)) {
|
||||
for (String s : itfs) {
|
||||
if (s.equals(itf)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
for (int i = 0; i < itfs.length; ++i) {
|
||||
if (typeImplements(itfs[i], typeInfo(itfs[i]), itf)) {
|
||||
for (String s : itfs) {
|
||||
if (typeImplements(s, typeInfo(s), itf)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user