test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JavaAppDesc.java
branchJDK-8200758-branch
changeset 58696 61c44899b4eb
parent 58648 3bf53ffa9ae7
equal deleted inserted replaced
58695:64adf683bc7b 58696:61c44899b4eb
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 package jdk.jpackage.test;
    23 package jdk.jpackage.test;
    24 
    24 
    25 import java.util.Objects;
    25 import java.io.File;
       
    26 import java.nio.file.Path;
    26 
    27 
    27 
    28 
    28 public final class JavaAppDesc {
    29 public final class JavaAppDesc {
    29     public JavaAppDesc() {
    30     public JavaAppDesc() {
    30     }
    31     }
    54         return this;
    55         return this;
    55     }
    56     }
    56 
    57 
    57     public String className() {
    58     public String className() {
    58         return qualifiedClassName;
    59         return qualifiedClassName;
       
    60     }
       
    61 
       
    62     public Path classFilePath() {
       
    63         return Path.of(qualifiedClassName.replace(".", File.separator)
       
    64                 + ".class");
    59     }
    65     }
    60 
    66 
    61     public String moduleName() {
    67     public String moduleName() {
    62         return moduleName;
    68         return moduleName;
    63     }
    69     }