6850806: NPE exception throws in PrintServce.getSupportedAttributeValues

Reviewed-by: igor, prr
This commit is contained in:
Jennifer Godinez 2011-02-18 13:47:07 -08:00
parent dd383efe04
commit 00a47ca240

@ -1325,7 +1325,7 @@ public class Win32PrintService implements PrintService, AttributeUpdater,
}
if (trays != null) {
System.arraycopy(trays, 0, arr,
mediaSizeNames.length, trays.length);
len - trays.length, trays.length);
}
return arr;
} else if (category == MediaPrintableArea.class) {