public final class jdk.nashorn.api.scripting.URLReader extends java.io.Reader
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.api.scripting.URLReader
  super_class: java.io.Reader
{
  private final java.net.URL url;
    descriptor: Ljava/net/URL;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.charset.Charset cs;
    descriptor: Ljava/nio/charset/Charset;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.io.Reader reader;
    descriptor: Ljava/io/Reader;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.net.URL);
    descriptor: (Ljava/net/URL;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.nashorn.api.scripting.URLReader this
        start local 1 // java.net.URL url
         0: .line 58
            aload 0 /* this */
            aload 1 /* url */
            aconst_null
            invokespecial jdk.nashorn.api.scripting.URLReader.<init>:(Ljava/net/URL;Ljava/nio/charset/Charset;)V
         1: .line 59
            return
        end local 1 // java.net.URL url
        end local 0 // jdk.nashorn.api.scripting.URLReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/api/scripting/URLReader;
            0    2     1   url  Ljava/net/URL;
    MethodParameters:
      Name  Flags
      url   final

  public void <init>(java.net.URL, java.lang.String);
    descriptor: (Ljava/net/URL;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.nashorn.api.scripting.URLReader this
        start local 1 // java.net.URL url
        start local 2 // java.lang.String charsetName
         0: .line 69
            aload 0 /* this */
            aload 1 /* url */
            aload 2 /* charsetName */
            invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            invokespecial jdk.nashorn.api.scripting.URLReader.<init>:(Ljava/net/URL;Ljava/nio/charset/Charset;)V
         1: .line 70
            return
        end local 2 // java.lang.String charsetName
        end local 1 // java.net.URL url
        end local 0 // jdk.nashorn.api.scripting.URLReader this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Ljdk/nashorn/api/scripting/URLReader;
            0    2     1          url  Ljava/net/URL;
            0    2     2  charsetName  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      url          final
      charsetName  final

  public void <init>(java.net.URL, java.nio.charset.Charset);
    descriptor: (Ljava/net/URL;Ljava/nio/charset/Charset;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.nashorn.api.scripting.URLReader this
        start local 1 // java.net.URL url
        start local 2 // java.nio.charset.Charset cs
         0: .line 79
            aload 0 /* this */
            invokespecial java.io.Reader.<init>:()V
         1: .line 80
            aload 0 /* this */
            aload 1 /* url */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.net.URL
            putfield jdk.nashorn.api.scripting.URLReader.url:Ljava/net/URL;
         2: .line 81
            aload 0 /* this */
            aload 2 /* cs */
            putfield jdk.nashorn.api.scripting.URLReader.cs:Ljava/nio/charset/Charset;
         3: .line 82
            return
        end local 2 // java.nio.charset.Charset cs
        end local 1 // java.net.URL url
        end local 0 // jdk.nashorn.api.scripting.URLReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/nashorn/api/scripting/URLReader;
            0    4     1   url  Ljava/net/URL;
            0    4     2    cs  Ljava/nio/charset/Charset;
    MethodParameters:
      Name  Flags
      url   final
      cs    final

  public int read(char[], int, int);
    descriptor: ([CII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // jdk.nashorn.api.scripting.URLReader this
        start local 1 // char[] cbuf
        start local 2 // int off
        start local 3 // int len
         0: .line 86
            aload 0 /* this */
            invokevirtual jdk.nashorn.api.scripting.URLReader.getReader:()Ljava/io/Reader;
            aload 1 /* cbuf */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.Reader.read:([CII)I
            ireturn
        end local 3 // int len
        end local 2 // int off
        end local 1 // char[] cbuf
        end local 0 // jdk.nashorn.api.scripting.URLReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/api/scripting/URLReader;
            0    1     1  cbuf  [C
            0    1     2   off  I
            0    1     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      cbuf  final
      off   final
      len   final

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.api.scripting.URLReader this
         0: .line 91
            aload 0 /* this */
            invokevirtual jdk.nashorn.api.scripting.URLReader.getReader:()Ljava/io/Reader;
            invokevirtual java.io.Reader.close:()V
         1: .line 92
            return
        end local 0 // jdk.nashorn.api.scripting.URLReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/api/scripting/URLReader;
    Exceptions:
      throws java.io.IOException

  public java.net.URL getURL();
    descriptor: ()Ljava/net/URL;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.api.scripting.URLReader this
         0: .line 99
            aload 0 /* this */
            getfield jdk.nashorn.api.scripting.URLReader.url:Ljava/net/URL;
            areturn
        end local 0 // jdk.nashorn.api.scripting.URLReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/api/scripting/URLReader;

  public java.nio.charset.Charset getCharset();
    descriptor: ()Ljava/nio/charset/Charset;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.api.scripting.URLReader this
         0: .line 108
            aload 0 /* this */
            getfield jdk.nashorn.api.scripting.URLReader.cs:Ljava/nio/charset/Charset;
            areturn
        end local 0 // jdk.nashorn.api.scripting.URLReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/api/scripting/URLReader;

  private java.io.Reader getReader();
    descriptor: ()Ljava/io/Reader;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // jdk.nashorn.api.scripting.URLReader this
         0: .line 113
            aload 0 /* this */
            getfield jdk.nashorn.api.scripting.URLReader.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 114
            aload 0 /* this */
            getfield jdk.nashorn.api.scripting.URLReader.reader:Ljava/io/Reader;
            ifnonnull 3
         2: .line 115
            aload 0 /* this */
            new java.io.CharArrayReader
            dup
            aload 0 /* this */
            getfield jdk.nashorn.api.scripting.URLReader.url:Ljava/net/URL;
            aload 0 /* this */
            getfield jdk.nashorn.api.scripting.URLReader.cs:Ljava/nio/charset/Charset;
            invokestatic jdk.nashorn.internal.runtime.Source.readFully:(Ljava/net/URL;Ljava/nio/charset/Charset;)[C
            invokespecial java.io.CharArrayReader.<init>:([C)V
            putfield jdk.nashorn.api.scripting.URLReader.reader:Ljava/io/Reader;
         3: .line 113
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 1
            monitorexit
         4: goto 7
      StackMap locals:
      StackMap stack: java.lang.Throwable
         5: aload 1
            monitorexit
         6: athrow
         7: .line 119
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.api.scripting.URLReader.reader:Ljava/io/Reader;
            areturn
        end local 0 // jdk.nashorn.api.scripting.URLReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/nashorn/api/scripting/URLReader;
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any
    Exceptions:
      throws java.io.IOException
}
SourceFile: "URLReader.java"