public abstract class SharedClassAbstractHelper extends SharedAbstractHelper implements SharedClassHelper
SharedClassHelper
,
SharedAbstractHelper
Constructor and Description |
---|
SharedClassAbstractHelper()
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
SharedClassFilter |
getSharingFilter()
Returns the SharedClassFilter associated with this helper.
|
boolean |
isSharedClassCookie(byte[] classBytes)
Determines whether a byte array being passed to defineClass is a class found
in the shared class cache, or a class found locally.
|
void |
setSharingFilter(SharedClassFilter filter)
Sets the SharedClassFilter for a helper instance.
|
getClassLoader
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassLoader
public SharedClassAbstractHelper()
public boolean isSharedClassCookie(byte[] classBytes)
classBytes
- a potential shared class cookiepublic void setSharingFilter(SharedClassFilter filter)
Supplying null removes any filter that is currently associated with the helper instance.
setSharingFilter
in interface SharedClassHelper
filter
- the filter to use when finding and storing classespublic SharedClassFilter getSharingFilter()
getSharingFilter
in interface SharedClassHelper
Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1998, 2023 IBM Corp. and others.