mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-106787: long string arrays in Groovy stubs
This commit is contained in:
@@ -47,7 +47,7 @@ public class GrStubUtils {
|
||||
public static final int TOO_LONG = -1;
|
||||
|
||||
public static void writeStringArray(StubOutputStream dataStream, String[] array) throws IOException {
|
||||
if (array.length >= Byte.MAX_VALUE) {
|
||||
if (array.length > Byte.MAX_VALUE) {
|
||||
dataStream.writeByte(TOO_LONG);
|
||||
dataStream.writeInt(array.length);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user