hotspot/src/share/vm/classfile/systemDictionaryShared.hpp
changeset 39713 29ece76096cb
parent 39216 40c3d66352ae
child 43410 8c70a25642c4
equal deleted inserted replaced
39712:dccb9af07ee1 39713:29ece76096cb
    76                                            Handle protection_domain,
    76                                            Handle protection_domain,
    77                                            const ClassFileStream* st,
    77                                            const ClassFileStream* st,
    78                                            TRAPS) {
    78                                            TRAPS) {
    79     return NULL;
    79     return NULL;
    80   }
    80   }
       
    81 
    81   static void serialize(SerializeClosure* soc) {}
    82   static void serialize(SerializeClosure* soc) {}
       
    83 
       
    84   // The (non-application) CDS implementation supports only classes in the boot
       
    85   // class loader, which ensures that the verification constraints are the same
       
    86   // during archive creation time and runtime. Thus we can do the constraint checks
       
    87   // entirely during archive creation time.
       
    88   static bool add_verification_constraint(Klass* k, Symbol* name,
       
    89                   Symbol* from_name, bool from_field_is_protected,
       
    90                   bool from_is_array, bool from_is_object) {return false;}
       
    91   static void finalize_verification_constraints() {}
       
    92   static void check_verification_constraints(instanceKlassHandle klass,
       
    93                                               TRAPS) {}
    82 };
    94 };
    83 
    95 
    84 #endif // SHARE_VM_CLASSFILE_SYSTEMDICTIONARYSHARED_HPP
    96 #endif // SHARE_VM_CLASSFILE_SYSTEMDICTIONARYSHARED_HPP