final class jdk.jpackage.internal.WindowsRegistry
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jpackage.internal.WindowsRegistry
super_class: java.lang.Object
{
private static final int HKEY_LOCAL_MACHINE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "jpackage"
invokestatic java.lang.System.loadLibrary:(Ljava/lang/String;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/WindowsRegistry;
static final boolean readDisableRealtimeMonitoring();
descriptor: ()Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=0
0: iconst_1
ldc "Software\\Microsoft\\Windows Defender\\Real-Time Protection"
ldc "DisableRealtimeMonitoring"
iconst_0
invokestatic jdk.jpackage.internal.WindowsRegistry.readDwordValue:(ILjava/lang/String;Ljava/lang/String;I)I
istore 0
start local 0 1: iload 0
iconst_1
if_icmpne 2
iconst_1
ireturn
StackMap locals: int
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 result I
static final java.util.List<java.lang.String> readExclusionsPaths();
descriptor: ()Ljava/util/List;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: iconst_1
ldc "Software\\Microsoft\\Windows Defender\\Exclusions\\Paths"
invokestatic jdk.jpackage.internal.WindowsRegistry.openRegistryKey:(ILjava/lang/String;)J
lstore 1
start local 1 2: lload 1
lconst_0
lcmp
ifne 4
3: aload 0
areturn
4: StackMap locals: java.util.List long
StackMap stack:
iconst_0
istore 4
start local 4 5: StackMap locals: java.util.List long top int
StackMap stack:
lload 1
iload 4
invokestatic jdk.jpackage.internal.WindowsRegistry.enumRegistryValue:(JI)Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnull 9
7: aload 0
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: iinc 4 1
9: StackMap locals: java.util.List long java.lang.String int
StackMap stack:
aload 3
ifnonnull 5
10: lload 1
invokestatic jdk.jpackage.internal.WindowsRegistry.closeRegistryKey:(J)V
11: aload 0
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 12 0 result Ljava/util/List<Ljava/lang/String;>;
2 12 1 lKey J
6 12 3 valueName Ljava/lang/String;
5 12 4 index I
Signature: ()Ljava/util/List<Ljava/lang/String;>;
private static native int readDwordValue(int, java.lang.String, java.lang.String, int);
descriptor: (ILjava/lang/String;Ljava/lang/String;I)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
key
subKey
value
defaultValue
private static native long openRegistryKey(int, java.lang.String);
descriptor: (ILjava/lang/String;)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
key
subKey
private static native java.lang.String enumRegistryValue(long, int);
descriptor: (JI)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
lKey
index
private static native void closeRegistryKey(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
lKey
public static native boolean comparePaths(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
path1
path2
}
SourceFile: "WindowsRegistry.java"