public class com.sun.javafx.PlatformUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.PlatformUtil
super_class: java.lang.Object
{
private static final java.lang.String os;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String version;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean embedded;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String embeddedType;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean useEGL;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean doEGLCompositing;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.String javafxPlatform;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final boolean ANDROID;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean WINDOWS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean WINDOWS_VISTA_OR_LATER;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean WINDOWS_7_OR_LATER;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean MAC;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean LINUX;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean SOLARIS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean IOS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean STATIC_BUILD;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.javafx.PlatformUtil.os:Ljava/lang/String;
1: ldc "os.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.javafx.PlatformUtil.version:Ljava/lang/String;
2: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/javafx/PlatformUtil.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putstatic com.sun.javafx.PlatformUtil.javafxPlatform:Ljava/lang/String;
3: invokestatic com.sun.javafx.PlatformUtil.loadProperties:()V
4: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/javafx/PlatformUtil.lambda$1()Ljava/lang/Boolean; (6)
()Ljava/lang/Boolean;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putstatic com.sun.javafx.PlatformUtil.embedded:Z
5: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/javafx/PlatformUtil.lambda$2()Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putstatic com.sun.javafx.PlatformUtil.embeddedType:Ljava/lang/String;
6: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/javafx/PlatformUtil.lambda$3()Ljava/lang/Boolean; (6)
()Ljava/lang/Boolean;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putstatic com.sun.javafx.PlatformUtil.useEGL:Z
7: getstatic com.sun.javafx.PlatformUtil.useEGL:Z
ifeq 10
8: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/javafx/PlatformUtil.lambda$4()Ljava/lang/Boolean; (6)
()Ljava/lang/Boolean;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putstatic com.sun.javafx.PlatformUtil.doEGLCompositing:Z
9: goto 11
10: StackMap locals:
StackMap stack:
iconst_0
putstatic com.sun.javafx.PlatformUtil.doEGLCompositing:Z
11: StackMap locals:
StackMap stack:
ldc "android"
getstatic com.sun.javafx.PlatformUtil.javafxPlatform:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
ldc "Dalvik"
ldc "java.vm.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
iconst_0
goto 13
StackMap locals:
StackMap stack:
12: iconst_1
StackMap locals:
StackMap stack: int
13: putstatic com.sun.javafx.PlatformUtil.ANDROID:Z
14: getstatic com.sun.javafx.PlatformUtil.os:Ljava/lang/String;
ldc "Windows"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic com.sun.javafx.PlatformUtil.WINDOWS:Z
15: getstatic com.sun.javafx.PlatformUtil.WINDOWS:Z
ifeq 16
ldc 6.0
invokestatic com.sun.javafx.PlatformUtil.versionNumberGreaterThanOrEqualTo:(F)Z
ifeq 16
iconst_1
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: putstatic com.sun.javafx.PlatformUtil.WINDOWS_VISTA_OR_LATER:Z
18: getstatic com.sun.javafx.PlatformUtil.WINDOWS:Z
ifeq 19
ldc 6.1
invokestatic com.sun.javafx.PlatformUtil.versionNumberGreaterThanOrEqualTo:(F)Z
ifeq 19
iconst_1
goto 20
StackMap locals:
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: putstatic com.sun.javafx.PlatformUtil.WINDOWS_7_OR_LATER:Z
21: getstatic com.sun.javafx.PlatformUtil.os:Ljava/lang/String;
ldc "Mac"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic com.sun.javafx.PlatformUtil.MAC:Z
22: getstatic com.sun.javafx.PlatformUtil.os:Ljava/lang/String;
ldc "Linux"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 23
getstatic com.sun.javafx.PlatformUtil.ANDROID:Z
ifne 23
iconst_1
goto 24
StackMap locals:
StackMap stack:
23: iconst_0
StackMap locals:
StackMap stack: int
24: putstatic com.sun.javafx.PlatformUtil.LINUX:Z
25: getstatic com.sun.javafx.PlatformUtil.os:Ljava/lang/String;
ldc "SunOS"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic com.sun.javafx.PlatformUtil.SOLARIS:Z
26: getstatic com.sun.javafx.PlatformUtil.os:Ljava/lang/String;
ldc "iOS"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic com.sun.javafx.PlatformUtil.IOS:Z
27: ldc "Substrate VM"
ldc "java.vm.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic com.sun.javafx.PlatformUtil.STATIC_BUILD:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lcom/sun/javafx/PlatformUtil;
private static boolean versionNumberGreaterThanOrEqualTo(float);
descriptor: (F)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.javafx.PlatformUtil.version:Ljava/lang/String;
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
fload 0
fcmpl
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
2: ireturn
3: StackMap locals:
StackMap stack: java.lang.Exception
pop
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 value F
Exception table:
from to target type
0 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
value
public static boolean isWindows();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.WINDOWS:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isWinVistaOrLater();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.WINDOWS_VISTA_OR_LATER:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isWin7OrLater();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.WINDOWS_7_OR_LATER:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isMac();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.MAC:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isLinux();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.LINUX:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean useEGL();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.useEGL:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean useEGLWindowComposition();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.doEGLCompositing:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean useGLES2();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "false"
astore 0
start local 0 1: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/javafx/PlatformUtil.lambda$5()Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
2: astore 0
3: ldc "true"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals: java.lang.String
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 useGles2 Ljava/lang/String;
public static boolean isSolaris();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.SOLARIS:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isUnix();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.LINUX:Z
ifne 1
getstatic com.sun.javafx.PlatformUtil.SOLARIS:Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isEmbedded();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.embedded:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getEmbeddedType();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.embeddedType:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isIOS();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.IOS:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isStaticBuild();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.STATIC_BUILD:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static void loadPropertiesFromFile(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=1
start local 0 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 1: new java.io.FileInputStream
dup
aload 0
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 2
start local 2 2: aload 1
aload 2
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
3: aload 2
invokevirtual java.io.InputStream.close:()V
end local 2 4: goto 7
StackMap locals: java.io.File java.util.Properties
StackMap stack: java.io.IOException
5: astore 2
start local 2 6: aload 2
invokevirtual java.io.IOException.printStackTrace:()V
end local 2 7: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.PlatformUtil.javafxPlatform:Ljava/lang/String;
ifnonnull 9
8: aload 1
ldc "javafx.platform"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic com.sun.javafx.PlatformUtil.javafxPlatform:Ljava/lang/String;
9: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
getstatic com.sun.javafx.PlatformUtil.javafxPlatform:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 10: aload 2
invokevirtual java.lang.String.length:()I
istore 3
start local 3 11: iconst_0
istore 4
start local 4 12: aload 1
invokevirtual java.util.Properties.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 21
StackMap locals: java.io.File java.util.Properties java.lang.String int int top java.util.Iterator
StackMap stack:
13: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 14: aload 5
checkcast java.lang.String
astore 7
start local 7 15: aload 7
aload 2
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
16: iconst_1
istore 4
17: aload 7
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
start local 8 18: aload 8
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 21
19: aload 1
aload 7
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 20: aload 8
aload 9
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
end local 9 end local 8 end local 7 end local 5 21: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
22: iload 4
ifne 28
23: getstatic java.lang.System.err:Ljava/io/PrintStream;
24: new java.lang.StringBuilder
dup
ldc "Warning: No settings found for javafx.platform='"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
25: getstatic com.sun.javafx.PlatformUtil.javafxPlatform:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
28: StackMap locals: java.io.File java.util.Properties java.lang.String int int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 file Ljava/io/File;
1 29 1 p Ljava/util/Properties;
2 4 2 in Ljava/io/InputStream;
6 7 2 e Ljava/io/IOException;
10 29 2 prefix Ljava/lang/String;
11 29 3 prefixLength I
12 29 4 foundPlatform Z
14 21 5 o Ljava/lang/Object;
15 21 7 key Ljava/lang/String;
18 21 8 systemKey Ljava/lang/String;
20 21 9 value Ljava/lang/String;
Exception table:
from to target type
1 4 5 Class java.io.IOException
MethodParameters:
Name Flags
file final
private static java.io.File getRTDir();
descriptor: ()Ljava/io/File;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=6, args_size=0
0: ldc "PlatformUtil.class"
astore 0
start local 0 1: ldc Lcom/sun/javafx/PlatformUtil;
astore 1
start local 1 2: aload 1
aload 0
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.lang.String java.lang.Class java.net.URL
StackMap stack:
aload 2
invokevirtual java.net.URL.toString:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ldc "jar:file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
7: aload 3
bipush 33
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 9
8: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 3
iconst_4
10: aload 3
bipush 33
invokevirtual java.lang.String.lastIndexOf:(I)I
11: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 12: aload 4
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
aload 4
bipush 92
invokevirtual java.lang.String.lastIndexOf:(I)I
13: invokestatic java.lang.Math.max:(II)I
istore 5
start local 5 14: new java.io.File
dup
new java.net.URL
dup
aload 4
iconst_0
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
15: areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 16: StackMap locals:
StackMap stack: java.net.MalformedURLException
pop
17: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
1 16 0 theClassFile Ljava/lang/String;
2 16 1 theClass Ljava/lang/Class;
3 16 2 url Ljava/net/URL;
6 16 3 classUrlString Ljava/lang/String;
12 16 4 s Ljava/lang/String;
14 16 5 lastIndexOfSlash I
Exception table:
from to target type
0 4 16 Class java.net.MalformedURLException
5 8 16 Class java.net.MalformedURLException
9 15 16 Class java.net.MalformedURLException
private static void loadProperties();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc "java.vm.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: ldc "os.arch"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 2: getstatic com.sun.javafx.PlatformUtil.javafxPlatform:Ljava/lang/String;
ifnonnull 6
3: aload 1
ifnull 4
aload 1
ldc "arm"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
4: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
ifnull 5
aload 0
ldc "Embedded"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
ifgt 6
5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/javafx/PlatformUtil.lambda$6()Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 8 0 vmname Ljava/lang/String;
2 8 1 arch Ljava/lang/String;
public static boolean isAndroid();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.PlatformUtil.ANDROID:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "javafx.platform"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Boolean lambda$1();
descriptor: ()Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "com.sun.javafx.isEmbedded"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$2();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "embedded"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Boolean lambda$3();
descriptor: ()Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "use.egl"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Boolean lambda$4();
descriptor: ()Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "doNativeComposite"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$5();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "use.gles2"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Void lambda$6();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=0
0: invokestatic com.sun.javafx.PlatformUtil.getRTDir:()Ljava/io/File;
astore 0
start local 0 1: new java.io.File
dup
aload 0
ldc "javafx.platform.properties"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 1
start local 1 2: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 5
3: aload 1
invokestatic com.sun.javafx.PlatformUtil.loadPropertiesFromFile:(Ljava/io/File;)V
4: aconst_null
areturn
5: StackMap locals: java.io.File java.io.File
StackMap stack:
ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 6: new java.io.File
dup
aload 2
7: new java.lang.StringBuilder
dup
ldc "lib"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc "javafx.platform.properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 11: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 14
12: aload 3
invokestatic com.sun.javafx.PlatformUtil.loadPropertiesFromFile:(Ljava/io/File;)V
13: aconst_null
areturn
14: StackMap locals: java.lang.String java.io.File
StackMap stack:
ldc "javafx.runtime.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 15: new java.io.File
dup
aload 4
16: new java.lang.StringBuilder
dup
getstatic java.io.File.separator:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "javafx.platform.properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 18: aload 5
invokevirtual java.io.File.exists:()Z
ifeq 21
19: aload 5
invokestatic com.sun.javafx.PlatformUtil.loadPropertiesFromFile:(Ljava/io/File;)V
20: aconst_null
areturn
21: StackMap locals: java.lang.String java.io.File
StackMap stack:
aconst_null
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 22 0 rtDir Ljava/io/File;
2 22 1 rtProperties Ljava/io/File;
6 22 2 javaHome Ljava/lang/String;
11 22 3 javaHomeProperties Ljava/io/File;
15 22 4 javafxRuntimePath Ljava/lang/String;
18 22 5 javafxRuntimePathProperties Ljava/io/File;
}
SourceFile: "PlatformUtil.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles