final class io.netty.util.internal.NativeLibraryLoader$NoexecVolumeDetector
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.util.internal.NativeLibraryLoader$NoexecVolumeDetector
super_class: java.lang.Object
{
private static boolean canExecuteExecutable(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic io.netty.util.internal.PlatformDependent.javaVersion:()I
bipush 7
if_icmpge 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canExecute:()Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.getPosixFilePermissions:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/util/Set;
5: astore 1
start local 1 6: getstatic java.nio.file.attribute.PosixFilePermission.OWNER_EXECUTE:Ljava/nio/file/attribute/PosixFilePermission;
7: getstatic java.nio.file.attribute.PosixFilePermission.GROUP_EXECUTE:Ljava/nio/file/attribute/PosixFilePermission;
8: getstatic java.nio.file.attribute.PosixFilePermission.OTHERS_EXECUTE:Ljava/nio/file/attribute/PosixFilePermission;
9: invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
10: astore 2
start local 2 11: aload 1
aload 2
invokeinterface java.util.Set.containsAll:(Ljava/util/Collection;)Z
ifeq 13
12: iconst_0
ireturn
13: StackMap locals: java.util.Set java.util.Set
StackMap stack:
aload 1
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
astore 3
start local 3 14: aload 3
aload 2
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
15: aload 0
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
aload 3
invokestatic java.nio.file.Files.setPosixFilePermissions:(Ljava/nio/file/Path;Ljava/util/Set;)Ljava/nio/file/Path;
pop
16: aload 0
invokevirtual java.io.File.canExecute:()Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 file Ljava/io/File;
6 17 1 existingFilePermissions Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
11 17 2 executePermissions Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
14 17 3 newPermissions Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/util/internal/NativeLibraryLoader$NoexecVolumeDetector;
}
SourceFile: "NativeLibraryLoader.java"
NestHost: io.netty.util.internal.NativeLibraryLoader
InnerClasses:
private final NoexecVolumeDetector = io.netty.util.internal.NativeLibraryLoader$NoexecVolumeDetector of io.netty.util.internal.NativeLibraryLoader