@@ -390,7 +390,7 @@ static void rewrite_nofast_bytecode(const methodHandle& method) {
390390void MetaspaceShared::rewrite_nofast_bytecodes_and_calculate_fingerprints (Thread* thread, InstanceKlass* ik) {
391391 for (int i = 0 ; i < ik->methods ()->length (); i++) {
392392 methodHandle m (thread, ik->methods ()->at (i));
393- if (! ik->can_be_verified_at_dumptime ()) {
393+ if (ik->can_be_verified_at_dumptime ()) {
394394 rewrite_nofast_bytecode (m);
395395 }
396396 Fingerprinter fp (m);
@@ -574,7 +574,7 @@ class CollectCLDClosure : public CLDClosure {
574574bool MetaspaceShared::linking_required (InstanceKlass* ik) {
575575 // For static CDS dump, do not link old classes.
576576 // For dynamic CDS dump, only link classes loaded by the builtin class loaders.
577- return DumpSharedSpaces ? ! ik->can_be_verified_at_dumptime () : !ik->is_shared_unregistered_class ();
577+ return DumpSharedSpaces ? ik->can_be_verified_at_dumptime () : !ik->is_shared_unregistered_class ();
578578}
579579
580580bool MetaspaceShared::link_class_for_cds (InstanceKlass* ik, TRAPS ) {
@@ -750,7 +750,7 @@ bool MetaspaceShared::try_link_class(JavaThread* current, InstanceKlass* ik) {
750750 ExceptionMark em (current);
751751 JavaThread* THREAD = current; // For exception macros.
752752 Arguments::assert_is_dumping_archive ();
753- if (ik->is_loaded () && !ik->is_linked () && ! ik->can_be_verified_at_dumptime () &&
753+ if (ik->is_loaded () && !ik->is_linked () && ik->can_be_verified_at_dumptime () &&
754754 !SystemDictionaryShared::has_class_failed_verification (ik)) {
755755 bool saved = BytecodeVerificationLocal;
756756 if (ik->is_shared_unregistered_class () && ik->class_loader () == NULL ) {
0 commit comments