@@ -2180,10 +2180,13 @@ } void ClassFileParser::ClassAnnotationCollector::apply_to(InstanceKlass* ik) { assert(ik != NULL, "invariant"); ik->set_is_contended(is_contended()); + if (is_value_capable_class()) { + ik->set_has_vcc_annotation(); + } } #define MAX_ARGS_SIZE 255 #define MAX_CODE_SIZE 65535 #define INITIAL_MAX_LVT_NUMBER 256