equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, 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. |
66 // Accessors |
66 // Accessors |
67 ClassFileStream* stream() { return _stream; } |
67 ClassFileStream* stream() { return _stream; } |
68 void set_stream(ClassFileStream* st) { _stream = st; } |
68 void set_stream(ClassFileStream* st) { _stream = st; } |
69 |
69 |
70 // Constant pool parsing |
70 // Constant pool parsing |
71 void parse_constant_pool_entries(constantPoolHandle cp, int length, TRAPS); |
71 void parse_constant_pool_entries(Handle class_loader, |
72 |
72 constantPoolHandle cp, int length, TRAPS); |
73 constantPoolHandle parse_constant_pool(TRAPS); |
73 |
|
74 constantPoolHandle parse_constant_pool(Handle class_loader, TRAPS); |
74 |
75 |
75 // Interface parsing |
76 // Interface parsing |
76 objArrayHandle parse_interfaces(constantPoolHandle cp, |
77 objArrayHandle parse_interfaces(constantPoolHandle cp, |
77 int length, |
78 int length, |
78 Handle class_loader, |
79 Handle class_loader, |