1.1 --- a/src/share/vm/runtime/fieldDescriptor.hpp Wed Oct 16 10:52:41 2013 +0200 1.2 +++ b/src/share/vm/runtime/fieldDescriptor.hpp Tue Nov 05 17:38:04 2013 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -53,6 +53,13 @@ 1.11 } 1.12 1.13 public: 1.14 + fieldDescriptor() { 1.15 + DEBUG_ONLY(_index = badInt); 1.16 + } 1.17 + fieldDescriptor(InstanceKlass* ik, int index) { 1.18 + DEBUG_ONLY(_index = badInt); 1.19 + reinitialize(ik, index); 1.20 + } 1.21 Symbol* name() const { 1.22 return field()->name(_cp); 1.23 } 1.24 @@ -112,12 +119,13 @@ 1.25 } 1.26 1.27 // Initialization 1.28 - void initialize(InstanceKlass* ik, int index); 1.29 + void reinitialize(InstanceKlass* ik, int index); 1.30 1.31 // Print 1.32 void print() { print_on(tty); } 1.33 void print_on(outputStream* st) const PRODUCT_RETURN; 1.34 void print_on_for(outputStream* st, oop obj) PRODUCT_RETURN; 1.35 + void verify() const PRODUCT_RETURN; 1.36 }; 1.37 1.38 #endif // SHARE_VM_RUNTIME_FIELDDESCRIPTOR_HPP