class jdk.tools.jmod.JmodTask$ClassPathConverter extends jdk.tools.jmod.JmodTask$AbstractPathConverter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jmod.JmodTask$ClassPathConverter
super_class: jdk.tools.jmod.JmodTask$AbstractPathConverter
{
static final jdk.internal.joptsimple.ValueConverter<java.util.List<java.nio.file.Path>> INSTANCE;
descriptor: Ljdk/internal/joptsimple/ValueConverter;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljdk/internal/joptsimple/ValueConverter<Ljava/util/List<Ljava/nio/file/Path;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.tools.jmod.JmodTask$ClassPathConverter
dup
invokespecial jdk.tools.jmod.JmodTask$ClassPathConverter.<init>:()V
putstatic jdk.tools.jmod.JmodTask$ClassPathConverter.INSTANCE:Ljdk/internal/joptsimple/ValueConverter;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.tools.jmod.JmodTask$AbstractPathConverter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$ClassPathConverter;
public java.nio.file.Path toPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.tools.jmod.JmodTask.CWD:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 1: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.notExists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 3
2: new jdk.tools.jmod.JmodTask$CommandException
dup
ldc "err.path.not.found"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokespecial jdk.tools.jmod.JmodTask$CommandException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
3: StackMap locals: java.nio.file.Path
StackMap stack:
aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 6
4: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 5
aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 6
5: StackMap locals:
StackMap stack:
new jdk.tools.jmod.JmodTask$CommandException
dup
ldc "err.invalid.class.path.entry"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokespecial jdk.tools.jmod.JmodTask$CommandException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
7: areturn
end local 2 8: StackMap locals: jdk.tools.jmod.JmodTask$ClassPathConverter java.lang.String
StackMap stack: java.nio.file.InvalidPathException
pop
9: new jdk.tools.jmod.JmodTask$CommandException
dup
ldc "err.path.not.valid"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokespecial jdk.tools.jmod.JmodTask$CommandException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/tools/jmod/JmodTask$ClassPathConverter;
0 10 1 value Ljava/lang/String;
1 8 2 path Ljava/nio/file/Path;
Exception table:
from to target type
0 7 8 Class java.nio.file.InvalidPathException
MethodParameters:
Name Flags
value
}
SourceFile: "JmodTask.java"
NestHost: jdk.tools.jmod.JmodTask
InnerClasses:
abstract AbstractPathConverter = jdk.tools.jmod.JmodTask$AbstractPathConverter of jdk.tools.jmod.JmodTask
ClassPathConverter = jdk.tools.jmod.JmodTask$ClassPathConverter of jdk.tools.jmod.JmodTask
CommandException = jdk.tools.jmod.JmodTask$CommandException of jdk.tools.jmod.JmodTask