public class jdk.internal.net.http.RequestPublishers$FilePublisher implements java.net.http.HttpRequest$BodyPublisher
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.net.http.RequestPublishers$FilePublisher
  super_class: java.lang.Object
{
  private static final java.io.FilePermission[] EMPTY_FILE_PERMISSIONS;
    descriptor: [Ljava/io/FilePermission;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.io.File file;
    descriptor: Ljava/io/File;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.FilePermission[] filePermissions;
    descriptor: [Ljava/io/FilePermission;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 228
            ldc Ljdk/internal/net/http/RequestPublishers;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.internal.net.http.RequestPublishers$FilePublisher.$assertionsDisabled:Z
         3: .line 230
            iconst_0
            anewarray java.io.FilePermission
            putstatic jdk.internal.net.http.RequestPublishers$FilePublisher.EMPTY_FILE_PERMISSIONS:[Ljava/io/FilePermission;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String pathForSecurityCheck(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.nio.file.Path path
         0: .line 236
            aload 0 /* path */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokevirtual java.io.File.getPath:()Ljava/lang/String;
            areturn
        end local 0 // java.nio.file.Path path
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  path  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      path  

  public static jdk.internal.net.http.RequestPublishers$FilePublisher create(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljdk/internal/net/http/RequestPublishers$FilePublisher;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // java.nio.file.Path path
         0: .line 247
            aconst_null
            astore 1 /* filePermission */
        start local 1 // java.io.FilePermission filePermission
         1: .line 248
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 2 /* sm */
        start local 2 // java.lang.SecurityManager sm
         2: .line 249
            aload 2 /* sm */
            ifnull 7
         3: .line 250
            aload 0 /* path */
            invokestatic jdk.internal.net.http.RequestPublishers$FilePublisher.pathForSecurityCheck:(Ljava/nio/file/Path;)Ljava/lang/String;
            astore 3 /* fn */
        start local 3 // java.lang.String fn
         4: .line 251
            new java.io.FilePermission
            dup
            aload 3 /* fn */
            ldc "read"
            invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            astore 4 /* readPermission */
        start local 4 // java.io.FilePermission readPermission
         5: .line 252
            aload 2 /* sm */
            aload 4 /* readPermission */
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         6: .line 253
            aload 4 /* readPermission */
            astore 1 /* filePermission */
        end local 4 // java.io.FilePermission readPermission
        end local 3 // java.lang.String fn
         7: .line 257
      StackMap locals: java.io.FilePermission java.lang.SecurityManager
      StackMap stack:
            aload 0 /* path */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.notExists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 9
         8: .line 258
            new java.io.FileNotFoundException
            dup
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            aload 0 /* path */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " not found"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 260
      StackMap locals:
      StackMap stack:
            new jdk.internal.net.http.RequestPublishers$FilePublisher
            dup
            aload 0 /* path */
            aload 1 /* filePermission */
            invokespecial jdk.internal.net.http.RequestPublishers$FilePublisher.<init>:(Ljava/nio/file/Path;Ljava/io/FilePermission;)V
            areturn
        end local 2 // java.lang.SecurityManager sm
        end local 1 // java.io.FilePermission filePermission
        end local 0 // java.nio.file.Path path
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   10     0            path  Ljava/nio/file/Path;
            1   10     1  filePermission  Ljava/io/FilePermission;
            2   10     2              sm  Ljava/lang/SecurityManager;
            4    7     3              fn  Ljava/lang/String;
            5    7     4  readPermission  Ljava/io/FilePermission;
    Exceptions:
      throws java.io.FileNotFoundException
    MethodParameters:
      Name  Flags
      path  

  private void <init>(java.nio.file.Path, java.io.FilePermission);
    descriptor: (Ljava/nio/file/Path;Ljava/io/FilePermission;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
        start local 1 // java.nio.file.Path name
        start local 2 // java.io.FilePermission filePermission
         0: .line 263
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 264
            getstatic jdk.internal.net.http.RequestPublishers$FilePublisher.$assertionsDisabled:Z
            ifne 2
            aload 2 /* filePermission */
            ifnull 2
            aload 2 /* filePermission */
            invokevirtual java.io.FilePermission.getActions:()Ljava/lang/String;
            ldc "read"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 265
      StackMap locals: jdk.internal.net.http.RequestPublishers$FilePublisher java.nio.file.Path java.io.FilePermission
      StackMap stack:
            aload 0 /* this */
            aload 1 /* name */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            putfield jdk.internal.net.http.RequestPublishers$FilePublisher.file:Ljava/io/File;
         3: .line 266
            aload 0 /* this */
            aload 2 /* filePermission */
            ifnonnull 4
            getstatic jdk.internal.net.http.RequestPublishers$FilePublisher.EMPTY_FILE_PERMISSIONS:[Ljava/io/FilePermission;
            goto 5
         4: .line 267
      StackMap locals:
      StackMap stack: jdk.internal.net.http.RequestPublishers$FilePublisher
            iconst_1
            anewarray java.io.FilePermission
            dup
            iconst_0
            aload 2 /* filePermission */
            aastore
         5: .line 266
      StackMap locals: jdk.internal.net.http.RequestPublishers$FilePublisher java.nio.file.Path java.io.FilePermission
      StackMap stack: jdk.internal.net.http.RequestPublishers$FilePublisher java.io.FilePermission[]
            putfield jdk.internal.net.http.RequestPublishers$FilePublisher.filePermissions:[Ljava/io/FilePermission;
         6: .line 268
            return
        end local 2 // java.io.FilePermission filePermission
        end local 1 // java.nio.file.Path name
        end local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    7     0            this  Ljdk/internal/net/http/RequestPublishers$FilePublisher;
            0    7     1            name  Ljava/nio/file/Path;
            0    7     2  filePermission  Ljava/io/FilePermission;
    MethodParameters:
                Name  Flags
      name            
      filePermission  

  public void subscribe(java.util.concurrent.Flow$Subscriber<? super java.nio.ByteBuffer>);
    descriptor: (Ljava/util/concurrent/Flow$Subscriber;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
        start local 1 // java.util.concurrent.Flow$Subscriber subscriber
         0: .line 273
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            ifnonnull 5
         1: .line 275
            new java.io.FileInputStream
            dup
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$FilePublisher.file:Ljava/io/File;
            invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
            astore 2 /* is */
        start local 2 // java.io.InputStream is
         2: .line 276
            goto 11
        end local 2 // java.io.InputStream is
      StackMap locals:
      StackMap stack: java.io.IOException
         3: astore 3 /* ioe */
        start local 3 // java.io.IOException ioe
         4: .line 277
            new java.io.UncheckedIOException
            dup
            aload 3 /* ioe */
            invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
            athrow
        end local 3 // java.io.IOException ioe
         5: .line 282
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic run(Ljdk/internal/net/http/RequestPublishers$FilePublisher;)Ljava/security/PrivilegedExceptionAction;
              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;
                  jdk/internal/net/http/RequestPublishers$FilePublisher.lambda$0()Ljava/io/FileInputStream; (7)
                  ()Ljava/io/FileInputStream;
         6: .line 281
            astore 3 /* pa */
        start local 3 // java.security.PrivilegedExceptionAction pa
         7: .line 283
            aload 3 /* pa */
            aconst_null
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$FilePublisher.filePermissions:[Ljava/io/FilePermission;
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
            checkcast java.io.InputStream
            astore 2 /* is */
        end local 3 // java.security.PrivilegedExceptionAction pa
        start local 2 // java.io.InputStream is
         8: .line 284
            goto 11
        end local 2 // java.io.InputStream is
      StackMap locals:
      StackMap stack: java.security.PrivilegedActionException
         9: astore 3 /* pae */
        start local 3 // java.security.PrivilegedActionException pae
        10: .line 285
            new java.io.UncheckedIOException
            dup
            aload 3 /* pae */
            invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
            checkcast java.io.IOException
            invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
            athrow
        end local 3 // java.security.PrivilegedActionException pae
        start local 2 // java.io.InputStream is
        11: .line 289
      StackMap locals: java.io.InputStream
      StackMap stack:
            new jdk.internal.net.http.PullPublisher
            dup
            aload 2 /* is */
            invokedynamic iterator(Ljava/io/InputStream;)Ljava/lang/Iterable;
              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/util/Iterator;
                  jdk/internal/net/http/RequestPublishers$FilePublisher.lambda$1(Ljava/io/InputStream;)Ljava/util/Iterator; (6)
                  ()Ljava/util/Iterator;
            invokespecial jdk.internal.net.http.PullPublisher.<init>:(Ljava/lang/Iterable;)V
        12: .line 288
            astore 3 /* publisher */
        start local 3 // jdk.internal.net.http.PullPublisher publisher
        13: .line 290
            aload 3 /* publisher */
            aload 1 /* subscriber */
            invokevirtual jdk.internal.net.http.PullPublisher.subscribe:(Ljava/util/concurrent/Flow$Subscriber;)V
        14: .line 291
            return
        end local 3 // jdk.internal.net.http.PullPublisher publisher
        end local 2 // java.io.InputStream is
        end local 1 // java.util.concurrent.Flow$Subscriber subscriber
        end local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   15     0        this  Ljdk/internal/net/http/RequestPublishers$FilePublisher;
            0   15     1  subscriber  Ljava/util/concurrent/Flow$Subscriber<-Ljava/nio/ByteBuffer;>;
            2    3     2          is  Ljava/io/InputStream;
            8    9     2          is  Ljava/io/InputStream;
           11   15     2          is  Ljava/io/InputStream;
            4    5     3         ioe  Ljava/io/IOException;
            7    8     3          pa  Ljava/security/PrivilegedExceptionAction<Ljava/io/FileInputStream;>;
           10   11     3         pae  Ljava/security/PrivilegedActionException;
           13   15     3   publisher  Ljdk/internal/net/http/PullPublisher<Ljava/nio/ByteBuffer;>;
      Exception table:
        from    to  target  type
           1     2       3  Class java.io.IOException
           5     8       9  Class java.security.PrivilegedActionException
    Signature: (Ljava/util/concurrent/Flow$Subscriber<-Ljava/nio/ByteBuffer;>;)V
    MethodParameters:
            Name  Flags
      subscriber  

  public long contentLength();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
         0: .line 295
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            ifnonnull 2
         1: .line 296
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$FilePublisher.file:Ljava/io/File;
            invokevirtual java.io.File.length:()J
            lreturn
         2: .line 298
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic run(Ljdk/internal/net/http/RequestPublishers$FilePublisher;)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;
                  jdk/internal/net/http/RequestPublishers$FilePublisher.lambda$2()Ljava/lang/Long; (7)
                  ()Ljava/lang/Long;
            astore 1 /* pa */
        start local 1 // java.security.PrivilegedAction pa
         3: .line 299
            aload 1 /* pa */
            aconst_null
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$FilePublisher.filePermissions:[Ljava/io/FilePermission;
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            lreturn
        end local 1 // java.security.PrivilegedAction pa
        end local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/net/http/RequestPublishers$FilePublisher;
            3    4     1    pa  Ljava/security/PrivilegedAction<Ljava/lang/Long;>;

  private java.io.FileInputStream lambda$0();
    descriptor: ()Ljava/io/FileInputStream;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
         0: .line 282
            new java.io.FileInputStream
            dup
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$FilePublisher.file:Ljava/io/File;
            invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
            areturn
        end local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/RequestPublishers$FilePublisher;
    Exceptions:
      throws java.lang.Exception

  private static java.util.Iterator lambda$1(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)Ljava/util/Iterator;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 289
            new jdk.internal.net.http.RequestPublishers$StreamIterator
            dup
            aload 0
            invokespecial jdk.internal.net.http.RequestPublishers$StreamIterator.<init>:(Ljava/io/InputStream;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private java.lang.Long lambda$2();
    descriptor: ()Ljava/lang/Long;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
         0: .line 298
            aload 0 /* this */
            getfield jdk.internal.net.http.RequestPublishers$FilePublisher.file:Ljava/io/File;
            invokevirtual java.io.File.length:()J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            areturn
        end local 0 // jdk.internal.net.http.RequestPublishers$FilePublisher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/RequestPublishers$FilePublisher;
}
SourceFile: "RequestPublishers.java"
NestHost: jdk.internal.net.http.RequestPublishers
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract BodyPublisher = java.net.http.HttpRequest$BodyPublisher of java.net.http.HttpRequest
  public abstract Subscriber = java.util.concurrent.Flow$Subscriber of java.util.concurrent.Flow
  public FilePublisher = jdk.internal.net.http.RequestPublishers$FilePublisher of jdk.internal.net.http.RequestPublishers
  public StreamIterator = jdk.internal.net.http.RequestPublishers$StreamIterator of jdk.internal.net.http.RequestPublishers