debug的时候遇到了这个问题

源码节点 发布于 2014/08/26 10:38
阅读 80
收藏 0

云原生2.0展望丨从“小众”到“首选”,推动云原生产业落地华为云作用几何?>>>

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6da669a2, pid=3892, tid=6316
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)
# Problematic frame:
# V  [jvm.dll+0x1b69a2]
#
# An error report file with more information is saved as:
# D:\work\apache-tomcat-6.0.29\apache-tomcat-6.0.29\bin\hs_err_pid3892.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

以下是问题补充:

@源码节点: 进了这个方法里面就报错了 public String(char value[], int offset, int count) { if (offset < 0) { throw new StringIndexOutOfBoundsException(offset); } if (count < 0) { throw new StringIndexOutOfBoundsException(count); } // Note: offset or count might be near -1>>>1. if (offset > value.length - count) { throw new StringIndexOutOfBoundsException(offset + count); } this.offset = 0; this.count = count; this.value = Arrays.copyOfRange(value, offset, offset+count); } /** * Allocates a new {@code String} that contains characters from a subarray * of the Unicode code point array argument. The {@code offset} argument * is the index of the first code point of the subarray and the * {@code count} argument specifies the length of the subarray. The * contents of the subarray are converted to {@code char}s; subsequent * modification of the {@code int} array does not affect the newly created * string. * (2014/08/26 10:51)
@源码节点: 进了这个方法里面就报错了 public String(char value[], int offset, int count) { if (offset < 0) { throw new StringIndexOutOfBoundsException(offset); } if (count < 0) { throw new StringIndexOutOfBoundsException(count); } // Note: offset or count might be near -1>>>1. if (offset > value.length - count) { throw new StringIndexOutOfBoundsException(offset + count); } this.offset = 0; this.count = count; this.value = Arrays.copyOfRange(value, offset, offset+count); } /** * Allocates a new {@code String} that contains characters from a subarray * of the Unicode code point array argument. The {@code offset} argument * is the index of the first code point of the subarray and the * {@code count} argument specifies the length of the subarray. The * contents of the subarray are converted to {@code char}s; subsequent * modification of the {@code int} array does not affect the newly created * string. * (2014/08/26 10:51)
加载中
返回顶部
顶部