comparison src/share/vm/classfile/classFileParser.hpp @ 1909:d2e35ffae982

6994630: java/lang/instrument/IsModifiableClassAgent.java fails with -XX:+EnableInvokeDynamic Summary: The logic of ClassFileParser::java_dyn_MethodHandle_fix_pre needs to take care of an already changed vmentry signature. Reviewed-by: never, jrose
author twisti
date Thu, 28 Oct 2010 00:48:18 -0700
parents 3a9de63b2209
children 3b2dea75431e
comparison
equal deleted inserted replaced
1908:f195c4737aca 1909:d2e35ffae982
1 /* 1 /*
2 * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2010, 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.
149 // before any Java fields. 149 // before any Java fields.
150 void java_lang_Class_fix_post(int* next_nonstatic_oop_offset); 150 void java_lang_Class_fix_post(int* next_nonstatic_oop_offset);
151 // Adjust the field allocation counts for java.dyn.MethodHandle to add 151 // Adjust the field allocation counts for java.dyn.MethodHandle to add
152 // a fake address (void*) field. 152 // a fake address (void*) field.
153 void java_dyn_MethodHandle_fix_pre(constantPoolHandle cp, 153 void java_dyn_MethodHandle_fix_pre(constantPoolHandle cp,
154 typeArrayHandle* fields_ptr, 154 typeArrayHandle fields,
155 FieldAllocationCount *fac_ptr, TRAPS); 155 FieldAllocationCount *fac_ptr, TRAPS);
156 156
157 // Format checker methods 157 // Format checker methods
158 void classfile_parse_error(const char* msg, TRAPS); 158 void classfile_parse_error(const char* msg, TRAPS);
159 void classfile_parse_error(const char* msg, int index, TRAPS); 159 void classfile_parse_error(const char* msg, int index, TRAPS);