changeset 3289:7943e5b37578

Fix: adjust offset for ParameterizedType_info in PoolReader
author mcimadamore
date Fri, 22 Jan 2016 17:13:48 +0000
parents b345d7339ab3
children 7a9f046780db
files src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/PoolReader.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/PoolReader.java	Fri Jan 22 16:32:32 2016 +0000
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/PoolReader.java	Fri Jan 22 17:13:48 2016 +0000
@@ -448,7 +448,7 @@
                     break;
                 case CONSTANT_ParameterizedType:
                     int nargs = poolbuf.getByte(start + 2) & 0xFF;
-                    offset += 3 + (nargs * 2);
+                    offset += 5 + (nargs * 2);
                     pool.put(new UnresolvedParameterizedType(tag, start, nargs));
                     break;
                 case CONSTANT_ArrayType: