class sun.nio.fs.SolarisWatchService extends sun.nio.fs.AbstractWatchService
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.SolarisWatchService
super_class: sun.nio.fs.AbstractWatchService
{
private static final sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static int addressSize;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final int SIZEOF_PORT_EVENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int OFFSETOF_EVENTS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int OFFSETOF_SOURCE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int OFFSETOF_OBJECT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int SIZEOF_FILEOBJ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int OFFSET_FO_NAME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final short PORT_SOURCE_USER;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final short PORT_SOURCE_FILE;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
private static final int FILE_MODIFIED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int FILE_ATTRIB;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int FILE_NOFOLLOW;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 268435456
private static final int FILE_DELETE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final int FILE_RENAME_TO;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private static final int FILE_RENAME_FROM;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final int UNMOUNTED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 536870912
private static final int MOUNTEDOVER;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1073741824
private final sun.nio.fs.SolarisWatchService$Poller poller;
descriptor: Lsun/nio/fs/SolarisWatchService$Poller;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
putstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
1: getstatic sun.nio.fs.SolarisWatchService.unsafe:Lsun/misc/Unsafe;
invokevirtual sun.misc.Unsafe.addressSize:()I
putstatic sun.nio.fs.SolarisWatchService.addressSize:I
2: bipush 16
bipush 24
invokestatic sun.nio.fs.SolarisWatchService.dependsArch:(II)I
putstatic sun.nio.fs.SolarisWatchService.SIZEOF_PORT_EVENT:I
3: bipush 40
bipush 80
invokestatic sun.nio.fs.SolarisWatchService.dependsArch:(II)I
putstatic sun.nio.fs.SolarisWatchService.SIZEOF_FILEOBJ:I
4: bipush 36
bipush 72
invokestatic sun.nio.fs.SolarisWatchService.dependsArch:(II)I
putstatic sun.nio.fs.SolarisWatchService.OFFSET_FO_NAME:I
5: new sun.nio.fs.SolarisWatchService$1
dup
invokespecial sun.nio.fs.SolarisWatchService$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
6: invokestatic sun.nio.fs.SolarisWatchService.init:()V
7: return
LocalVariableTable:
Start End Slot Name Signature
private static int dependsArch(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.nio.fs.SolarisWatchService.addressSize:I
iconst_4
if_icmpne 1
iload 0
goto 2
StackMap locals:
StackMap stack:
1: iload 1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value32 I
0 3 1 value64 I
MethodParameters:
Name Flags
value32
value64
void <init>(sun.nio.fs.UnixFileSystem);
descriptor: (Lsun/nio/fs/UnixFileSystem;)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.nio.fs.AbstractWatchService.<init>:()V
1: iconst_m1
istore 2
start local 2 2: invokestatic sun.nio.fs.SolarisWatchService.portCreate:()I
istore 2
3: goto 6
StackMap locals: sun.nio.fs.SolarisWatchService sun.nio.fs.UnixFileSystem int
StackMap stack: sun.nio.fs.UnixException
4: astore 3
start local 3 5: new java.io.IOException
dup
aload 3
invokevirtual sun.nio.fs.UnixException.errorString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
aload 0
new sun.nio.fs.SolarisWatchService$Poller
dup
aload 0
aload 1
aload 0
iload 2
invokespecial sun.nio.fs.SolarisWatchService$Poller.<init>:(Lsun/nio/fs/SolarisWatchService;Lsun/nio/fs/UnixFileSystem;Lsun/nio/fs/SolarisWatchService;I)V
putfield sun.nio.fs.SolarisWatchService.poller:Lsun/nio/fs/SolarisWatchService$Poller;
7: aload 0
getfield sun.nio.fs.SolarisWatchService.poller:Lsun/nio/fs/SolarisWatchService$Poller;
invokevirtual sun.nio.fs.SolarisWatchService$Poller.start:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/fs/SolarisWatchService;
0 9 1 fs Lsun/nio/fs/UnixFileSystem;
2 9 2 port I
5 6 3 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
2 3 4 Class sun.nio.fs.UnixException
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.SolarisWatchService.poller:Lsun/nio/fs/SolarisWatchService$Poller;
aload 1
aload 2
aload 3
invokevirtual sun.nio.fs.SolarisWatchService$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/SolarisWatchService;
0 1 1 dir 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
dir
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.SolarisWatchService.poller:Lsun/nio/fs/SolarisWatchService$Poller;
invokevirtual sun.nio.fs.SolarisWatchService$Poller.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/SolarisWatchService;
Exceptions:
throws java.io.IOException
private static native void init();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int portCreate();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.nio.fs.UnixException
private static native void portAssociate(int, int, long, int);
descriptor: (IIJI)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.nio.fs.UnixException
MethodParameters:
Name Flags
port
source
object
events
private static native void portDissociate(int, int, long);
descriptor: (IIJ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.nio.fs.UnixException
MethodParameters:
Name Flags
port
source
object
private static native void portSend(int, int);
descriptor: (II)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.nio.fs.UnixException
MethodParameters:
Name Flags
port
events
private static native int portGetn(int, long, int);
descriptor: (IJI)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.nio.fs.UnixException
MethodParameters:
Name Flags
port
address
max
}
SourceFile: "SolarisWatchService.java"
NestMembers:
sun.nio.fs.SolarisWatchService$1 sun.nio.fs.SolarisWatchService$DirectoryNode sun.nio.fs.SolarisWatchService$EntryNode sun.nio.fs.SolarisWatchService$Node sun.nio.fs.SolarisWatchService$Poller sun.nio.fs.SolarisWatchService$SolarisWatchKey
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
sun.nio.fs.SolarisWatchService$1
private abstract DirectoryNode = sun.nio.fs.SolarisWatchService$DirectoryNode of sun.nio.fs.SolarisWatchService
private EntryNode = sun.nio.fs.SolarisWatchService$EntryNode of sun.nio.fs.SolarisWatchService
private abstract Node = sun.nio.fs.SolarisWatchService$Node of sun.nio.fs.SolarisWatchService
private Poller = sun.nio.fs.SolarisWatchService$Poller of sun.nio.fs.SolarisWatchService
private SolarisWatchKey = sun.nio.fs.SolarisWatchService$SolarisWatchKey of sun.nio.fs.SolarisWatchService