--- a/jdk/src/share/classes/java/math/BigInteger.java Thu Dec 05 18:04:12 2013 +0400
+++ b/jdk/src/share/classes/java/math/BigInteger.java Thu Dec 05 07:44:59 2013 -0800
@@ -1815,7 +1815,7 @@
int len = mag.length;
if (len <= n) {
- return this;
+ return abs();
}
int lowerInts[] = new int[n];