class sun.nio.fs.WindowsWatchService extends sun.nio.fs.AbstractWatchService
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.WindowsWatchService
super_class: sun.nio.fs.AbstractWatchService
{
private static final int WAKEUP_COMPLETION_KEY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private final sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.nio.fs.WindowsWatchService$Poller poller;
descriptor: Lsun/nio/fs/WindowsWatchService$Poller;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int ALL_FILE_NOTIFY_EVENTS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 351
void <init>(sun.nio.fs.WindowsFileSystem);
descriptor: (Lsun/nio/fs/WindowsFileSystem;)V
flags: (0x0000)
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.nio.fs.AbstractWatchService.<init>:()V
1: aload 0
invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
putfield sun.nio.fs.WindowsWatchService.unsafe:Lsun/misc/Unsafe;
2: lconst_0
lstore 2
start local 2 3: ldc -1
lconst_0
lconst_0
invokestatic sun.nio.fs.WindowsNativeDispatcher.CreateIoCompletionPort:(JJJ)J
lstore 2
4: goto 7
StackMap locals: sun.nio.fs.WindowsWatchService sun.nio.fs.WindowsFileSystem long
StackMap stack: sun.nio.fs.WindowsException
5: astore 4
start local 4 6: new java.io.IOException
dup
aload 4
invokevirtual sun.nio.fs.WindowsException.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 7: StackMap locals:
StackMap stack:
aload 0
new sun.nio.fs.WindowsWatchService$Poller
dup
aload 0
aload 1
aload 0
lload 2
invokespecial sun.nio.fs.WindowsWatchService$Poller.<init>:(Lsun/nio/fs/WindowsWatchService;Lsun/nio/fs/WindowsFileSystem;Lsun/nio/fs/WindowsWatchService;J)V
putfield sun.nio.fs.WindowsWatchService.poller:Lsun/nio/fs/WindowsWatchService$Poller;
8: aload 0
getfield sun.nio.fs.WindowsWatchService.poller:Lsun/nio/fs/WindowsWatchService$Poller;
invokevirtual sun.nio.fs.WindowsWatchService$Poller.start:()V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/fs/WindowsWatchService;
0 10 1 fs Lsun/nio/fs/WindowsFileSystem;
3 10 2 port J
6 7 4 x Lsun/nio/fs/WindowsException;
Exception table:
from to target type
3 4 5 Class sun.nio.fs.WindowsException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fs
java.nio.file.WatchKey register(java.nio.file.Path, java.nio.file.WatchEvent$Kind<?>[], java.nio.file.WatchEvent$Modifier[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/WatchEvent$Kind;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
flags: (0x0080) ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.nio.fs.WindowsWatchService.poller:Lsun/nio/fs/WindowsWatchService$Poller;
aload 1
aload 2
aload 3
invokevirtual sun.nio.fs.WindowsWatchService$Poller.register:(Ljava/nio/file/Path;[Ljava/nio/file/WatchEvent$Kind;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/WindowsWatchService;
0 1 1 path Ljava/nio/file/Path;
0 1 2 events [Ljava/nio/file/WatchEvent$Kind;
0 1 3 modifiers [Ljava/nio/file/WatchEvent$Modifier;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;[Ljava/nio/file/WatchEvent$Kind<*>;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
MethodParameters:
Name Flags
path
events
modifiers
void implClose();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.WindowsWatchService.poller:Lsun/nio/fs/WindowsWatchService$Poller;
invokevirtual sun.nio.fs.WindowsWatchService$Poller.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/WindowsWatchService;
Exceptions:
throws java.io.IOException
}
SourceFile: "WindowsWatchService.java"
NestMembers:
sun.nio.fs.WindowsWatchService$FileKey sun.nio.fs.WindowsWatchService$Poller sun.nio.fs.WindowsWatchService$WindowsWatchKey
InnerClasses:
public abstract Kind = java.nio.file.WatchEvent$Kind of java.nio.file.WatchEvent
public abstract Modifier = java.nio.file.WatchEvent$Modifier of java.nio.file.WatchEvent
private FileKey = sun.nio.fs.WindowsWatchService$FileKey of sun.nio.fs.WindowsWatchService
private Poller = sun.nio.fs.WindowsWatchService$Poller of sun.nio.fs.WindowsWatchService
private WindowsWatchKey = sun.nio.fs.WindowsWatchService$WindowsWatchKey of sun.nio.fs.WindowsWatchService