18857
changed return value from 0 to -1 git-svn-id: svn://10.0.0.236/trunk@54363 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -41,7 +41,7 @@ public class PlugletInputStream extends InputStream {
|
||||
((off + len) > b.length) || ((off + len) < 0)) {
|
||||
throw new IndexOutOfBoundsException();
|
||||
} else if (len == 0) {
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
return nativeRead(b,off,len);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user