equal
deleted
inserted
replaced
3895 return status; |
3895 return status; |
3896 } |
3896 } |
3897 |
3897 |
3898 void Arguments::set_shared_spaces_flags() { |
3898 void Arguments::set_shared_spaces_flags() { |
3899 if (DumpSharedSpaces) { |
3899 if (DumpSharedSpaces) { |
3900 if (Arguments::get_patch_mod_prefix() != NULL) { |
|
3901 vm_exit_during_initialization( |
|
3902 "Cannot use the following option when dumping the shared archive: --patch-module"); |
|
3903 } |
|
3904 |
3900 |
3905 if (RequireSharedSpaces) { |
3901 if (RequireSharedSpaces) { |
3906 warning("Cannot dump shared archive while using shared archive"); |
3902 warning("Cannot dump shared archive while using shared archive"); |
3907 } |
3903 } |
3908 UseSharedSpaces = false; |
3904 UseSharedSpaces = false; |