Mercurial > hg > graal-jvmci-8
comparison agent/src/share/classes/sun/jvm/hotspot/runtime/SignatureIterator.java @ 1385:bc32f286fae0
6945219: minor SA fixes
Reviewed-by: twisti
author | never |
---|---|
date | Tue, 20 Apr 2010 13:26:33 -0700 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1384:c544d979f886 | 1385:bc32f286fae0 |
---|---|
1 /* | 1 /* |
2 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 2001-2010 Sun Microsystems, Inc. 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. |
106 } | 106 } |
107 doArray(begin, _index); | 107 doArray(begin, _index); |
108 return BasicTypeSize.getTArraySize(); | 108 return BasicTypeSize.getTArraySize(); |
109 } | 109 } |
110 } | 110 } |
111 throw new RuntimeException("Should not reach here"); | 111 throw new RuntimeException("Should not reach here: char " + (char)_signature.getByteAt(_index) + " @ " + _index + " in " + _signature.asString()); |
112 } | 112 } |
113 protected void checkSignatureEnd() { | 113 protected void checkSignatureEnd() { |
114 if (_index < _signature.getLength()) { | 114 if (_index < _signature.getLength()) { |
115 System.err.println("too many chars in signature"); | 115 System.err.println("too many chars in signature"); |
116 _signature.printValueOn(System.err); | 116 _signature.printValueOn(System.err); |