class io.vertx.core.file.impl.FileSystemImpl$6 extends io.vertx.core.file.impl.FileSystemImpl$BlockingAction<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.file.impl.FileSystemImpl$6
super_class: io.vertx.core.file.impl.FileSystemImpl$BlockingAction
{
final io.vertx.core.file.impl.FileSystemImpl this$0;
descriptor: Lio/vertx/core/file/impl/FileSystemImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$path;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$user;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$group;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.vertx.core.file.impl.FileSystemImpl, io.vertx.core.file.impl.FileSystemImpl, io.vertx.core.Handler, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lio/vertx/core/file/impl/FileSystemImpl;Lio/vertx/core/file/impl/FileSystemImpl;Lio/vertx/core/Handler;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=7
start local 0 start local 3 0: aload 0
aload 2
putfield io.vertx.core.file.impl.FileSystemImpl$6.this$0:Lio/vertx/core/file/impl/FileSystemImpl;
aload 0
aload 4
putfield io.vertx.core.file.impl.FileSystemImpl$6.val$path:Ljava/lang/String;
aload 0
aload 5
putfield io.vertx.core.file.impl.FileSystemImpl$6.val$user:Ljava/lang/String;
aload 0
aload 6
putfield io.vertx.core.file.impl.FileSystemImpl$6.val$group:Ljava/lang/String;
aload 0
aload 1
aload 3
invokespecial io.vertx.core.file.impl.FileSystemImpl$BlockingAction.<init>:(Lio/vertx/core/file/impl/FileSystemImpl;Lio/vertx/core/Handler;)V
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/file/impl/FileSystemImpl$6;
0 1 3 $anonymous0 Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
MethodParameters:
Name Flags
this$0 final
this$1 final
$anonymous0
val$path final
val$user final
val$group final
public java.lang.Void perform();
descriptor: ()Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$6.this$0:Lio/vertx/core/file/impl/FileSystemImpl;
getfield io.vertx.core.file.impl.FileSystemImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$6.val$path:Ljava/lang/String;
invokeinterface io.vertx.core.impl.VertxInternal.resolveFile:(Ljava/lang/String;)Ljava/io/File;
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
astore 1
start local 1 1: aload 1
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokevirtual java.nio.file.FileSystem.getUserPrincipalLookupService:()Ljava/nio/file/attribute/UserPrincipalLookupService;
astore 2
start local 2 2: aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$6.val$user:Ljava/lang/String;
ifnonnull 3
aconst_null
goto 4
StackMap locals: java.nio.file.Path java.nio.file.attribute.UserPrincipalLookupService
StackMap stack:
3: aload 2
aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$6.val$user:Ljava/lang/String;
invokevirtual java.nio.file.attribute.UserPrincipalLookupService.lookupPrincipalByName:(Ljava/lang/String;)Ljava/nio/file/attribute/UserPrincipal;
StackMap locals:
StackMap stack: java.nio.file.attribute.UserPrincipal
4: astore 3
start local 3 5: aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$6.val$group:Ljava/lang/String;
ifnonnull 6
aconst_null
goto 7
StackMap locals: java.nio.file.attribute.UserPrincipal
StackMap stack:
6: aload 2
aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$6.val$group:Ljava/lang/String;
invokevirtual java.nio.file.attribute.UserPrincipalLookupService.lookupPrincipalByGroupName:(Ljava/lang/String;)Ljava/nio/file/attribute/GroupPrincipal;
StackMap locals:
StackMap stack: java.nio.file.attribute.GroupPrincipal
7: astore 4
start local 4 8: aload 4
ifnull 13
9: aload 1
ldc Ljava/nio/file/attribute/PosixFileAttributeView;
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
invokestatic java.nio.file.Files.getFileAttributeView:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
checkcast java.nio.file.attribute.PosixFileAttributeView
astore 5
start local 5 10: aload 5
ifnonnull 12
11: new io.vertx.core.file.FileSystemException
dup
ldc "Change group of file not supported"
invokespecial io.vertx.core.file.FileSystemException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: java.nio.file.attribute.GroupPrincipal java.nio.file.attribute.PosixFileAttributeView
StackMap stack:
aload 5
aload 4
invokeinterface java.nio.file.attribute.PosixFileAttributeView.setGroup:(Ljava/nio/file/attribute/GroupPrincipal;)V
end local 5 13: StackMap locals:
StackMap stack:
aload 3
ifnull 20
14: aload 1
aload 3
invokestatic java.nio.file.Files.setOwner:(Ljava/nio/file/Path;Ljava/nio/file/attribute/UserPrincipal;)Ljava/nio/file/Path;
pop
end local 4 end local 3 end local 2 end local 1 15: goto 20
StackMap locals: io.vertx.core.file.impl.FileSystemImpl$6
StackMap stack: java.lang.SecurityException
16: pop
17: new io.vertx.core.file.FileSystemException
dup
new java.lang.StringBuilder
dup
ldc "Accessed denied for chown on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.core.file.impl.FileSystemImpl$6.val$path:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.vertx.core.file.FileSystemException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 19: new io.vertx.core.file.FileSystemException
dup
aload 1
invokespecial io.vertx.core.file.FileSystemException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 20: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/core/file/impl/FileSystemImpl$6;
1 15 1 target Ljava/nio/file/Path;
2 15 2 service Ljava/nio/file/attribute/UserPrincipalLookupService;
5 15 3 userPrincipal Ljava/nio/file/attribute/UserPrincipal;
8 15 4 groupPrincipal Ljava/nio/file/attribute/GroupPrincipal;
10 13 5 view Ljava/nio/file/attribute/PosixFileAttributeView;
19 20 1 e Ljava/io/IOException;
Exception table:
from to target type
0 15 16 Class java.lang.SecurityException
0 15 18 Class java.io.IOException
public java.lang.Object perform();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.vertx.core.file.impl.FileSystemImpl$6.perform:()Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lio/vertx/core/file/impl/FileSystemImpl$BlockingAction<Ljava/lang/Void;>;
SourceFile: "FileSystemImpl.java"
EnclosingMethod: io.vertx.core.file.impl.FileSystemImpl.chownInternal:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/file/impl/FileSystemImpl$BlockingAction;
NestHost: io.vertx.core.file.impl.FileSystemImpl
InnerClasses:
io.vertx.core.file.impl.FileSystemImpl$6
protected abstract BlockingAction = io.vertx.core.file.impl.FileSystemImpl$BlockingAction of io.vertx.core.file.impl.FileSystemImpl