changeset 47910:e40b67b69cd9 condy

incorrect use of method
author psandoz
date Tue, 14 Nov 2017 13:13:43 -0800
parents 980059225fb8
children cbb71d828923 f5d98c9f3e6c
files src/hotspot/share/oops/constantPool.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/oops/constantPool.cpp	Fri Nov 10 18:49:42 2017 +0100
+++ b/src/hotspot/share/oops/constantPool.cpp	Tue Nov 14 13:13:43 2017 -0800
@@ -1220,7 +1220,7 @@
                                                     bool must_resolve, Handle if_not_available,
                                                     TRAPS) {
   int argc;
-  int limit = java_add(pos, end_arg - start_arg);
+  int limit = pos + end_arg - start_arg;
   // checks: index in range [0..this_cp->length),
   // tag at index, start..end in range [0..argc],
   // info array non-null, pos..limit in [0..info.length]