APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.tools.jlink.internal

public Class LinkableRuntimeImage

extends Object
Class Inheritance
Imports
java.io.IOException, .InputStream, java.nio.file.Path, java.util.HashSet, .List, .Scanner, .Set, jdk.tools.jlink.internal.runtimelink.ResourceDiff

Class that supports the feature of running jlink based on the current run-time image.

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static InputStream
public static boolean

Returns:

true iff this jlink is capable of linking from the run-time image.
isLinkableRuntime
()

In order to be able to show whether or not a runtime is capable of linking from it in jlink --help we need to look for the delta files in the jdk.jlink module.

public static Archive
newArchive(String module, Path path, boolean ignoreModifiedRuntime, TaskHelper taskHelper)

private static Set<String>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DIFF_PATTERNback to summary
public static final String DIFF_PATTERN
RESPATH_PATTERNback to summary
public static final String RESPATH_PATTERN
UPGRADEABLE_FILES_PATTERNback to summary
private static final String UPGRADEABLE_FILES_PATTERN

Constructor Detail

LinkableRuntimeImageback to summary
public LinkableRuntimeImage()

Method Detail

getDiffInputStreamback to summary
private static InputStream getDiffInputStream(String module) throws IOException
isLinkableRuntimeback to summary
public static boolean isLinkableRuntime()

In order to be able to show whether or not a runtime is capable of linking from it in jlink --help we need to look for the delta files in the jdk.jlink module. If present we have the capability.

Returns:boolean

true iff this jlink is capable of linking from the run-time image.

newArchiveback to summary
public static Archive newArchive(String module, Path path, boolean ignoreModifiedRuntime, TaskHelper taskHelper)
upgradeableFilesback to summary
private static Set<String> upgradeableFiles(String module)