mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8185145: AppCDS custom loader support on Mac OS X
Reviewed-by: dholmes, gziemski
This commit is contained in:
parent
d0f7d4e374
commit
9d6230fe4e
2 changed files with 4 additions and 8 deletions
|
@ -273,9 +273,9 @@ void ClassListParser::error(const char *msg, ...) {
|
|||
// This function is used for loading classes for customized class loaders
|
||||
// during archive dumping.
|
||||
InstanceKlass* ClassListParser::load_class_from_source(Symbol* class_name, TRAPS) {
|
||||
#if !(defined(_LP64) && (defined(LINUX)|| defined(SOLARIS)))
|
||||
// The only supported platforms are: (1) Linux/64-bit and (2) Solaris/64-bit
|
||||
//
|
||||
#if !(defined(_LP64) && (defined(LINUX)|| defined(SOLARIS) || defined(__APPLE__)))
|
||||
// The only supported platforms are: (1) Linux/64-bit and (2) Solaris/64-bit and
|
||||
// (3) MacOSX/64-bit
|
||||
// This #if condition should be in sync with the areCustomLoadersSupportedForCDS
|
||||
// method in test/lib/jdk/test/lib/Platform.java.
|
||||
error("AppCDS custom class loaders not supported on this platform");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue