< prev index next >

src/jdk.jpackage/share/classes/jdk/jpackage/internal/AbstractBundler.java

Print this page

        

@@ -51,16 +51,14 @@
     private static final ResourceBundle I18N = ResourceBundle.getBundle(
             "jdk.jpackage.internal.resources.MainResources");
 
     public static final BundlerParamInfo<File> IMAGES_ROOT =
             new StandardBundlerParam<>(
-            I18N.getString("param.images-root.name"),
-            I18N.getString("param.images-root.description"),
             "imagesRoot",
             File.class,
             params -> new File(
-                StandardBundlerParam.BUILD_ROOT.fetchFrom(params), "images"),
+                StandardBundlerParam.TEMP_ROOT.fetchFrom(params), "images"),
             (s, p) -> null);
 
     public InputStream getResourceAsStream(String name) {
         return ResourceLocator.class.getResourceAsStream(name);
     }

@@ -186,11 +184,11 @@
 
     @Override
     public void cleanup(Map<String, ? super Object> params) {
         try {
             IOUtils.deleteRecursive(
-                    StandardBundlerParam.BUILD_ROOT.fetchFrom(params));
+                    StandardBundlerParam.TEMP_ROOT.fetchFrom(params));
         } catch (IOException e) {
             Log.debug(e.getMessage());
         }
     }
 }
< prev index next >