hotspot/src/share/vm/oops/arrayKlass.cpp
changeset 46271 979ebd346ecf
parent 42639 762117d57d05
child 46329 53ccc37bda19
equal deleted inserted replaced
46270:2e7898927798 46271:979ebd346ecf
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   105   // These classes will be put on a fixup list and their module fields will be patched once
   105   // These classes will be put on a fixup list and their module fields will be patched once
   106   // java.base is defined.
   106   // java.base is defined.
   107   assert((module_entry != NULL) || ((module_entry == NULL) && !ModuleEntryTable::javabase_defined()),
   107   assert((module_entry != NULL) || ((module_entry == NULL) && !ModuleEntryTable::javabase_defined()),
   108          "module entry not available post " JAVA_BASE_NAME " definition");
   108          "module entry not available post " JAVA_BASE_NAME " definition");
   109   oop module = (module_entry != NULL) ? JNIHandles::resolve(module_entry->module()) : (oop)NULL;
   109   oop module = (module_entry != NULL) ? JNIHandles::resolve(module_entry->module()) : (oop)NULL;
   110   java_lang_Class::create_mirror(k, Handle(THREAD, k->class_loader()), Handle(THREAD, module), Handle(NULL), CHECK);
   110   java_lang_Class::create_mirror(k, Handle(THREAD, k->class_loader()), Handle(THREAD, module), Handle(), CHECK);
   111 }
   111 }
   112 
   112 
   113 GrowableArray<Klass*>* ArrayKlass::compute_secondary_supers(int num_extra_slots) {
   113 GrowableArray<Klass*>* ArrayKlass::compute_secondary_supers(int num_extra_slots) {
   114   // interfaces = { cloneable_klass, serializable_klass };
   114   // interfaces = { cloneable_klass, serializable_klass };
   115   assert(num_extra_slots == 0, "sanity of primitive array type");
   115   assert(num_extra_slots == 0, "sanity of primitive array type");