src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationLayout.java
branchJDK-8200758-branch
changeset 58647 2c43b89b1679
parent 58455 0d95b41d0895
child 58648 3bf53ffa9ae7
equal deleted inserted replaced
58608:a561014c28d0 58647:2c43b89b1679
   142 
   142 
   143         if (Platform.isMac()) {
   143         if (Platform.isMac()) {
   144             return macAppImage();
   144             return macAppImage();
   145         }
   145         }
   146 
   146 
   147         throw new IllegalArgumentException("Unknown platform");
   147         throw Platform.throwUnknownPlatformError();
   148     }
   148     }
   149 
   149 
   150     static ApplicationLayout javaRuntime() {
   150     static ApplicationLayout javaRuntime() {
   151         return new ApplicationLayout(Map.of(PathRole.RUNTIME, Path.of("")));
   151         return new ApplicationLayout(Map.of(PathRole.RUNTIME, Path.of("")));
   152     }
   152     }