lukin0110/poeditor-java

Long.MAX_VALUE crashes on Samsung S5

jonasbark opened this issue · 0 comments

fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);

java.lang.IllegalArgumentException: position=0 count=9223372036854775807
at java.nio.FileChannelImpl.transferFrom(FileChannelImpl.java:370)
at be.lukin.poeditor.POEditorClient.export(POEditorClient.java:260)