public class org.glassfish.grizzly.Grizzly
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.Grizzly
super_class: java.lang.Object
{
private static final java.util.regex.Pattern versionPattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.attributes.AttributeBuilder DEFAULT_ATTRIBUTE_BUILDER;
descriptor: Lorg/glassfish/grizzly/attributes/AttributeBuilder;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String dotedVersion;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int major;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int minor;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static boolean isTrackingThreadCache;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=0
0: ldc "((\\d+)\\.(\\d+)(\\.\\d+)*){1}(?:-(.+))?"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.glassfish.grizzly.Grizzly.versionPattern:Ljava/util/regex/Pattern;
1: getstatic org.glassfish.grizzly.attributes.AttributeBuilder.DEFAULT_ATTRIBUTE_BUILDER:Lorg/glassfish/grizzly/attributes/AttributeBuilder;
putstatic org.glassfish.grizzly.Grizzly.DEFAULT_ATTRIBUTE_BUILDER:Lorg/glassfish/grizzly/attributes/AttributeBuilder;
2: aconst_null
astore 0
start local 0 3: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 4: ldc Lorg/glassfish/grizzly/Grizzly;
ldc "version.properties"
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 0
5: aload 1
aload 0
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
6: goto 19
StackMap locals: java.io.InputStream java.util.Properties
StackMap stack: java.io.IOException
7: astore 2
start local 2 8: aload 2
invokevirtual java.io.IOException.printStackTrace:()V
end local 2 9: aload 0
ifnull 23
10: aload 0
invokevirtual java.io.InputStream.close:()V
11: goto 23
StackMap locals:
StackMap stack: java.io.IOException
12: pop
goto 23
13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
14: aload 0
ifnull 18
15: aload 0
invokevirtual java.io.InputStream.close:()V
16: goto 18
StackMap locals: java.io.InputStream java.util.Properties top java.lang.Throwable
StackMap stack: java.io.IOException
17: pop
18: StackMap locals:
StackMap stack:
aload 3
athrow
19: StackMap locals: java.io.InputStream java.util.Properties
StackMap stack:
aload 0
ifnull 23
20: aload 0
invokevirtual java.io.InputStream.close:()V
21: goto 23
StackMap locals:
StackMap stack: java.io.IOException
22: pop
23: StackMap locals:
StackMap stack:
aload 1
ldc "grizzly.version"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 24: getstatic org.glassfish.grizzly.Grizzly.versionPattern:Ljava/util/regex/Pattern;
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 25: aload 3
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 30
26: aload 3
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
putstatic org.glassfish.grizzly.Grizzly.dotedVersion:Ljava/lang/String;
27: aload 3
iconst_2
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic org.glassfish.grizzly.Grizzly.major:I
28: aload 3
iconst_3
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic org.glassfish.grizzly.Grizzly.minor:I
29: goto 33
30: StackMap locals: java.lang.String java.util.regex.Matcher
StackMap stack:
ldc "no.version"
putstatic org.glassfish.grizzly.Grizzly.dotedVersion:Ljava/lang/String;
31: iconst_m1
putstatic org.glassfish.grizzly.Grizzly.major:I
32: iconst_m1
putstatic org.glassfish.grizzly.Grizzly.minor:I
end local 3 end local 2 end local 1 end local 0 33: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 33 0 is Ljava/io/InputStream;
4 33 1 prop Ljava/util/Properties;
8 9 2 e Ljava/io/IOException;
24 33 2 version Ljava/lang/String;
25 33 3 matcher Ljava/util/regex/Matcher;
Exception table:
from to target type
4 6 7 Class java.io.IOException
10 11 12 Class java.io.IOException
4 9 13 any
15 16 17 Class java.io.IOException
20 21 22 Class java.io.IOException
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 Lorg/glassfish/grizzly/Grizzly;
public static java.util.logging.Logger logger(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/util/logging/Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class;
MethodParameters:
Name Flags
clazz
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic org.glassfish.grizzly.Grizzly.getDotedVersion:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 args [Ljava/lang/String;
MethodParameters:
Name Flags
args
public static java.lang.String getDotedVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.Grizzly.dotedVersion:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static int getMajorVersion();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.Grizzly.major:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int getMinorVersion();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.Grizzly.minor:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean equalVersion(int, int);
descriptor: (II)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
getstatic org.glassfish.grizzly.Grizzly.minor:I
if_icmpne 1
iload 0
getstatic org.glassfish.grizzly.Grizzly.major:I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 major I
0 2 1 minor I
MethodParameters:
Name Flags
major
minor
public static boolean isTrackingThreadCache();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.Grizzly.isTrackingThreadCache:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static void setTrackingThreadCache(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
putstatic org.glassfish.grizzly.Grizzly.isTrackingThreadCache:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 isTrackingThreadCache Z
MethodParameters:
Name Flags
isTrackingThreadCache
}
SourceFile: "Grizzly.java"