changeset 3290:7a9f046780db

Fix: adjust offset for ParameterizedType_info in PoolReader (take two)
author mcimadamore
date Fri, 22 Jan 2016 17:19:08 +0000
parents 7943e5b37578
children 6a97b8d3ea09
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 17:13:48 2016 +0000
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/PoolReader.java	Fri Jan 22 17:19:08 2016 +0000
@@ -447,7 +447,7 @@
                     pool.put(new UnresolvedTypeVar(tag, start, nbounds));
                     break;
                 case CONSTANT_ParameterizedType:
-                    int nargs = poolbuf.getByte(start + 2) & 0xFF;
+                    int nargs = poolbuf.getByte(start + 5) & 0xFF;
                     offset += 5 + (nargs * 2);
                     pool.put(new UnresolvedParameterizedType(tag, start, nargs));
                     break;