Mercurial > hg > graal-compiler
comparison src/share/vm/classfile/classLoader.cpp @ 1142:4ce7240d622c
6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Wed, 06 Jan 2010 14:22:39 -0800 |
parents | ad6585fd4087 |
children | 99af867dfa05 |
comparison
equal
deleted
inserted
replaced
1140:1f6d42899c3a | 1142:4ce7240d622c |
---|---|
817 return NULL; | 817 return NULL; |
818 } | 818 } |
819 _package_hash_table->copy_pkgnames(packages); | 819 _package_hash_table->copy_pkgnames(packages); |
820 } | 820 } |
821 // Allocate objArray and fill with java.lang.String | 821 // Allocate objArray and fill with java.lang.String |
822 objArrayOop r = oopFactory::new_objArray(SystemDictionary::string_klass(), | 822 objArrayOop r = oopFactory::new_objArray(SystemDictionary::String_klass(), |
823 nof_entries, CHECK_0); | 823 nof_entries, CHECK_0); |
824 objArrayHandle result(THREAD, r); | 824 objArrayHandle result(THREAD, r); |
825 for (int i = 0; i < nof_entries; i++) { | 825 for (int i = 0; i < nof_entries; i++) { |
826 Handle str = java_lang_String::create_from_str(packages[i], CHECK_0); | 826 Handle str = java_lang_String::create_from_str(packages[i], CHECK_0); |
827 result->obj_at_put(i, str()); | 827 result->obj_at_put(i, str()); |