src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppBundler.java
branchJDK-8200758-branch
changeset 57150 fa68c2ab636d
parent 57140 3dcb33ce7ced
child 57256 d7c27451f759
equal deleted inserted replaced
57141:e7ba8c89abe7 57150:fa68c2ab636d
   304         return true;
   304         return true;
   305     }
   305     }
   306 
   306 
   307     File doBundle(Map<String, ? super Object> p, File outputDirectory,
   307     File doBundle(Map<String, ? super Object> p, File outputDirectory,
   308             boolean dependentTask) throws PackagerException {
   308             boolean dependentTask) throws PackagerException {
   309         if (Arguments.CREATE_JRE_INSTALLER.fetchFrom(p)) {
   309         if (RUNTIME_INSTALLER.fetchFrom(p)) {
   310             return doJreBundle(p, outputDirectory, dependentTask);
   310             return doJreBundle(p, outputDirectory, dependentTask);
   311         } else {
   311         } else {
   312             return doAppBundle(p, outputDirectory, dependentTask);
   312             return doAppBundle(p, outputDirectory, dependentTask);
   313         }
   313         }
   314     }
   314     }
   414             File outputParentDir) throws PackagerException {
   414             File outputParentDir) throws PackagerException {
   415         return doBundle(params, outputParentDir, false);
   415         return doBundle(params, outputParentDir, false);
   416     }
   416     }
   417 
   417 
   418     @Override
   418     @Override
   419     public boolean supported() {
   419     public boolean supported(boolean runtimeInstaller) {
   420         return Platform.getPlatform() == Platform.MAC;
   420         return Platform.getPlatform() == Platform.MAC;
   421     }
   421     }
   422 
   422 
   423 }
   423 }