Top Constructors Methods
jdk.internal.loader

pack-priv Class ClassLoaderHelper

extends Object
Class Inheritance
Imports
java.io.File, java.util.ArrayList

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static boolean
loadLibraryOnlyIfPresent()

Returns true if loading a native library only if it's present on the file system.

pack-priv static File
mapAlternativeName(File lib)

Returns an alternate path name for the given file such that if the original pathname did not exist, then the file may be located at the alternate location.

pack-priv static String[]
parsePath(String ldPath)

Parse a PATH env variable.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ClassLoaderHelperback to summary
private ClassLoaderHelper()

Method Detail

loadLibraryOnlyIfPresentback to summary
pack-priv static boolean loadLibraryOnlyIfPresent()

Returns true if loading a native library only if it's present on the file system.

mapAlternativeNameback to summary
pack-priv static File mapAlternativeName(File lib)

Returns an alternate path name for the given file such that if the original pathname did not exist, then the file may be located at the alternate location. For most platforms, this behavior is not supported and returns null.

parsePathback to summary
pack-priv static String[] parsePath(String ldPath)

Parse a PATH env variable. Empty elements will be replaced by dot.