public class sun.net.util.URLUtil
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.net.util.URLUtil
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.net.util.URLUtil this
         0: .line 36
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.net.util.URLUtil this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/net/util/URLUtil;

  public static java.lang.String urlNoFragString(java.net.URL);
    descriptor: (Ljava/net/URL;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // java.net.URL url
         0: .line 48
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* strForm */
        start local 1 // java.lang.StringBuilder strForm
         1: .line 50
            aload 0 /* url */
            invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
            astore 2 /* protocol */
        start local 2 // java.lang.String protocol
         2: .line 51
            aload 2 /* protocol */
            ifnull 6
         3: .line 53
            aload 2 /* protocol */
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            astore 2 /* protocol */
         4: .line 54
            aload 1 /* strForm */
            aload 2 /* protocol */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         5: .line 55
            aload 1 /* strForm */
            ldc "://"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 58
      StackMap locals: java.lang.StringBuilder java.lang.String
      StackMap stack:
            aload 0 /* url */
            invokevirtual java.net.URL.getHost:()Ljava/lang/String;
            astore 3 /* host */
        start local 3 // java.lang.String host
         7: .line 59
            aload 3 /* host */
            ifnull 15
         8: .line 61
            aload 3 /* host */
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            astore 3 /* host */
         9: .line 62
            aload 1 /* strForm */
            aload 3 /* host */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        10: .line 64
            aload 0 /* url */
            invokevirtual java.net.URL.getPort:()I
            istore 4 /* port */
        start local 4 // int port
        11: .line 65
            iload 4 /* port */
            iconst_m1
            if_icmpne 13
        12: .line 68
            aload 0 /* url */
            invokevirtual java.net.URL.getDefaultPort:()I
            istore 4 /* port */
        13: .line 70
      StackMap locals: java.lang.String int
      StackMap stack:
            iload 4 /* port */
            iconst_m1
            if_icmpeq 15
        14: .line 71
            aload 1 /* strForm */
            ldc ":"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 4 /* port */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            pop
        end local 4 // int port
        15: .line 75
      StackMap locals:
      StackMap stack:
            aload 0 /* url */
            invokevirtual java.net.URL.getFile:()Ljava/lang/String;
            astore 4 /* file */
        start local 4 // java.lang.String file
        16: .line 76
            aload 4 /* file */
            ifnull 18
        17: .line 77
            aload 1 /* strForm */
            aload 4 /* file */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        18: .line 80
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* strForm */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 4 // java.lang.String file
        end local 3 // java.lang.String host
        end local 2 // java.lang.String protocol
        end local 1 // java.lang.StringBuilder strForm
        end local 0 // java.net.URL url
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   19     0       url  Ljava/net/URL;
            1   19     1   strForm  Ljava/lang/StringBuilder;
            2   19     2  protocol  Ljava/lang/String;
            7   19     3      host  Ljava/lang/String;
           11   15     4      port  I
           16   19     4      file  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      url   

  public static java.security.Permission getConnectPermission(java.net.URL);
    descriptor: (Ljava/net/URL;)Ljava/security/Permission;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // java.net.URL url
         0: .line 84
            aload 0 /* url */
            invokevirtual java.net.URL.toString:()Ljava/lang/String;
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            astore 1 /* urlStringLowerCase */
        start local 1 // java.lang.String urlStringLowerCase
         1: .line 85
            aload 1 /* urlStringLowerCase */
            ldc "http:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 2
            aload 1 /* urlStringLowerCase */
            ldc "https:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 3
         2: .line 86
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* url */
            invokestatic sun.net.util.URLUtil.getURLConnectPermission:(Ljava/net/URL;)Ljava/security/Permission;
            areturn
         3: .line 87
      StackMap locals:
      StackMap stack:
            aload 1 /* urlStringLowerCase */
            ldc "jar:http:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 4
            aload 1 /* urlStringLowerCase */
            ldc "jar:https:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 11
         4: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* url */
            invokevirtual java.net.URL.toString:()Ljava/lang/String;
            astore 2 /* urlString */
        start local 2 // java.lang.String urlString
         5: .line 89
            aload 2 /* urlString */
            ldc "!/"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 3 /* bangPos */
        start local 3 // int bangPos
         6: .line 90
            aload 2 /* urlString */
            iconst_4
            iload 3 /* bangPos */
            iconst_m1
            if_icmple 7
            iload 3 /* bangPos */
            goto 8
      StackMap locals: java.net.URL java.lang.String java.lang.String int
      StackMap stack: java.lang.String int
         7: aload 2 /* urlString */
            invokevirtual java.lang.String.length:()I
      StackMap locals: java.net.URL java.lang.String java.lang.String int
      StackMap stack: java.lang.String int int
         8: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 2 /* urlString */
         9: .line 91
            new java.net.URL
            dup
            aload 2 /* urlString */
            invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
            astore 4 /* u */
        start local 4 // java.net.URL u
        10: .line 92
            aload 4 /* u */
            invokestatic sun.net.util.URLUtil.getURLConnectPermission:(Ljava/net/URL;)Ljava/security/Permission;
            areturn
        end local 4 // java.net.URL u
        end local 3 // int bangPos
        end local 2 // java.lang.String urlString
        11: .line 95
      StackMap locals:
      StackMap stack:
            aload 0 /* url */
            invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
            invokevirtual java.net.URLConnection.getPermission:()Ljava/security/Permission;
            areturn
        end local 1 // java.lang.String urlStringLowerCase
        end local 0 // java.net.URL url
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   12     0                 url  Ljava/net/URL;
            1   12     1  urlStringLowerCase  Ljava/lang/String;
            5   11     2           urlString  Ljava/lang/String;
            6   11     3             bangPos  I
           10   11     4                   u  Ljava/net/URL;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      url   

  private static java.security.Permission getURLConnectPermission(java.net.URL);
    descriptor: (Ljava/net/URL;)Ljava/security/Permission;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.net.URL url
         0: .line 100
            new java.lang.StringBuilder
            dup
            aload 0 /* url */
            invokevirtual java.net.URL.getProtocol:()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;
            aload 0 /* url */
            invokevirtual java.net.URL.getAuthority:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* url */
            invokevirtual java.net.URL.getPath:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 1 /* urlString */
        start local 1 // java.lang.String urlString
         1: .line 101
            new java.net.URLPermission
            dup
            aload 1 /* urlString */
            invokespecial java.net.URLPermission.<init>:(Ljava/lang/String;)V
            areturn
        end local 1 // java.lang.String urlString
        end local 0 // java.net.URL url
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0        url  Ljava/net/URL;
            1    2     1  urlString  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      url   
}
SourceFile: "URLUtil.java"