comparison src/share/vm/ci/ciField.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 dd57230ba8fe
children 73b22f919c34
comparison
equal deleted inserted replaced
1140:1f6d42899c3a 1142:4ce7240d622c
190 // 2. The field is a *special* static&final field whose value 190 // 2. The field is a *special* static&final field whose value
191 // may change. The three examples are java.lang.System.in, 191 // may change. The three examples are java.lang.System.in,
192 // java.lang.System.out, and java.lang.System.err. 192 // java.lang.System.out, and java.lang.System.err.
193 193
194 klassOop k = _holder->get_klassOop(); 194 klassOop k = _holder->get_klassOop();
195 assert( SystemDictionary::system_klass() != NULL, "Check once per vm"); 195 assert( SystemDictionary::System_klass() != NULL, "Check once per vm");
196 if( k == SystemDictionary::system_klass() ) { 196 if( k == SystemDictionary::System_klass() ) {
197 // Check offsets for case 2: System.in, System.out, or System.err 197 // Check offsets for case 2: System.in, System.out, or System.err
198 if( _offset == java_lang_System::in_offset_in_bytes() || 198 if( _offset == java_lang_System::in_offset_in_bytes() ||
199 _offset == java_lang_System::out_offset_in_bytes() || 199 _offset == java_lang_System::out_offset_in_bytes() ||
200 _offset == java_lang_System::err_offset_in_bytes() ) { 200 _offset == java_lang_System::err_offset_in_bytes() ) {
201 _is_constant = false; 201 _is_constant = false;