Index: common/java/awt/font/NumericShaper.java =================================================================== --- common/java/awt/font/NumericShaper.java (revision 448875) +++ common/java/awt/font/NumericShaper.java (working copy) @@ -532,18 +532,6 @@ } public void shape(char[] text, int start, int count, int context) { - int len = text.length; - - if ((start < 0) || ((start + count) > len)) { - throw new IndexOutOfBoundsException( - "start or count arguments are out of text range"); - } - - if (count < 0) { - throw new IllegalArgumentException( - "count argument must be positive"); - } - if (isContextual()){ contextualShape(text, start, count, getIndexFromRange(context)); } else { @@ -552,18 +540,6 @@ } public void shape(char[] text, int start, int count) { - int len = text.length; - - if ((start < 0) || ((start + count) > len)) { - throw new IndexOutOfBoundsException( - "start or count arguments are out of text range"); - } - - if (count < 0) { - throw new IllegalArgumentException( - "count argument must be positive"); - } - if (isContextual()){ contextualShape(text, start, count, fDefaultContextIndex); } else {