hotspot/src/share/vm/oops/typeArrayKlass.cpp
changeset 38094 46977cd73d86
parent 36508 5f9eee6b383b
child 40887 8d35e19f5548
equal deleted inserted replaced
38090:34d0dd634032 38094:46977cd73d86
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2016, 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.
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
       
    26 #include "classfile/moduleEntry.hpp"
       
    27 #include "classfile/packageEntry.hpp"
    26 #include "classfile/symbolTable.hpp"
    28 #include "classfile/symbolTable.hpp"
    27 #include "classfile/systemDictionary.hpp"
    29 #include "classfile/systemDictionary.hpp"
    28 #include "classfile/vmSymbols.hpp"
    30 #include "classfile/vmSymbols.hpp"
    29 #include "gc/shared/collectedHeap.hpp"
    31 #include "gc/shared/collectedHeap.hpp"
    30 #include "gc/shared/collectedHeap.inline.hpp"
    32 #include "gc/shared/collectedHeap.inline.hpp"
   339 #endif // PRODUCT
   341 #endif // PRODUCT
   340 
   342 
   341 const char* TypeArrayKlass::internal_name() const {
   343 const char* TypeArrayKlass::internal_name() const {
   342   return Klass::external_name();
   344   return Klass::external_name();
   343 }
   345 }
       
   346 
       
   347 // A TypeArrayKlass is an array of a primitive type, its defining module is java.base
       
   348 ModuleEntry* TypeArrayKlass::module() const {
       
   349   return ModuleEntryTable::javabase_module();
       
   350 }
       
   351 
       
   352 PackageEntry* TypeArrayKlass::package() const {
       
   353   return NULL;
       
   354 }