public class org.eclipse.jetty.util.Jetty
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.Jetty
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String POWERED_BY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean STABLE;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String GIT_HASH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String BUILD_TIMESTAMP;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.util.Properties __buildProperties;
descriptor: Ljava/util/Properties;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: ldc Lorg/eclipse/jetty/util/Jetty;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.util.Jetty.LOG:Lorg/slf4j/Logger;
1: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
putstatic org.eclipse.jetty.util.Jetty.__buildProperties:Ljava/util/Properties;
2: aconst_null
astore 0
aconst_null
astore 1
3: ldc Lorg/eclipse/jetty/util/Jetty;
ldc "/org/eclipse/jetty/version/build.properties"
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
4: astore 2
start local 2 5: getstatic org.eclipse.jetty.util.Jetty.__buildProperties:Ljava/util/Properties;
aload 2
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
6: aload 2
ifnull 14
aload 2
invokevirtual java.io.InputStream.close:()V
goto 14
StackMap locals: java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
7: astore 0
aload 2
ifnull 8
aload 2
invokevirtual java.io.InputStream.close:()V
end local 2 StackMap locals:
StackMap stack:
8: aload 0
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 1
aload 0
ifnonnull 10
aload 1
astore 0
goto 11
StackMap locals:
StackMap stack:
10: aload 0
aload 1
if_acmpeq 11
aload 0
aload 1
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 0
athrow
12: StackMap locals:
StackMap stack: java.lang.Exception
astore 0
start local 0 13: getstatic org.eclipse.jetty.util.Jetty.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 0
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 0 14: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.Jetty.__buildProperties:Ljava/util/Properties;
ldc "buildNumber"
ldc "unknown"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 15: aload 0
ldc "${"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
16: ldc "unknown"
astore 0
17: StackMap locals: java.lang.String
StackMap stack:
aload 0
putstatic org.eclipse.jetty.util.Jetty.GIT_HASH:Ljava/lang/String;
18: ldc "jetty.git.hash"
getstatic org.eclipse.jetty.util.Jetty.GIT_HASH:Ljava/lang/String;
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
19: getstatic org.eclipse.jetty.util.Jetty.__buildProperties:Ljava/util/Properties;
ldc "timestamp"
ldc "unknown"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic org.eclipse.jetty.util.Jetty.formatTimestamp:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.eclipse.jetty.util.Jetty.BUILD_TIMESTAMP:Ljava/lang/String;
20: ldc Lorg/eclipse/jetty/util/Jetty;
invokevirtual java.lang.Class.getPackage:()Ljava/lang/Package;
astore 1
start local 1 21: aload 1
ifnull 25
22: ldc "Eclipse Jetty Project"
aload 1
invokevirtual java.lang.Package.getImplementationVendor:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
23: aload 1
invokevirtual java.lang.Package.getImplementationVersion:()Ljava/lang/String;
ifnull 25
24: aload 1
invokevirtual java.lang.Package.getImplementationVersion:()Ljava/lang/String;
putstatic org.eclipse.jetty.util.Jetty.VERSION:Ljava/lang/String;
goto 26
25: StackMap locals: java.lang.Package
StackMap stack:
ldc "jetty.version"
getstatic org.eclipse.jetty.util.Jetty.__buildProperties:Ljava/util/Properties;
ldc "version"
ldc "10.0.z-SNAPSHOT"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putstatic org.eclipse.jetty.util.Jetty.VERSION:Ljava/lang/String;
26: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "<a href=\"https://eclipse.org/jetty\">Powered by Jetty:// "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.eclipse.jetty.util.Jetty.VERSION:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</a>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic org.eclipse.jetty.util.Jetty.POWERED_BY:Ljava/lang/String;
27: getstatic org.eclipse.jetty.util.Jetty.VERSION:Ljava/lang/String;
ldc "^.*\\.(RC|M)[0-9]+$"
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifeq 28
iconst_0
goto 29
StackMap locals:
StackMap stack:
28: iconst_1
StackMap locals:
StackMap stack: int
29: putstatic org.eclipse.jetty.util.Jetty.STABLE:Z
end local 1 end local 0 30: return
LocalVariableTable:
Start End Slot Name Signature
5 8 2 inputStream Ljava/io/InputStream;
13 14 0 e Ljava/lang/Exception;
15 30 0 gitHash Ljava/lang/String;
21 30 1 pkg Ljava/lang/Package;
Exception table:
from to target type
5 6 7 any
3 9 9 any
2 12 12 Class java.lang.Exception
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/Jetty;
private static java.lang.String formatTimestamp(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 1
start local 1 1: lload 1
invokestatic java.time.Instant.ofEpochMilli:(J)Ljava/time/Instant;
invokevirtual java.time.Instant.toString:()Ljava/lang/String;
2: areturn
end local 1 3: StackMap locals:
StackMap stack: java.lang.NumberFormatException
astore 1
start local 1 4: getstatic org.eclipse.jetty.util.Jetty.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
5: ldc "unknown"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 timestamp Ljava/lang/String;
1 3 1 epochMillis J
4 6 1 e Ljava/lang/NumberFormatException;
Exception table:
from to target type
0 2 3 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
timestamp
}
SourceFile: "Jetty.java"