We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c03b5e5 commit 5e63480Copy full SHA for 5e63480
src/main/java/software/coley/lljzip/util/UnsafeMappedFile.java
@@ -150,7 +150,8 @@ private long validate(long position) {
150
}
151
position += address;
152
if (position > end) {
153
- throw new IllegalArgumentException(Long.toString(position));
+ long diff = position - end;
154
+ throw new IllegalArgumentException("positon beyond max bounds: " + position + " > " + end + " diff: " + diff);
155
156
return position;
157
0 commit comments