Hello developer, first of all, thank you for opening your code. We developed a tool to scan whether there is runtime exception in the source code of the project. Then we scanned your code and found a method that may need to add try catch module! It is the putto method of rembulan-runtime \src\main\java\net\sandius\rembulan\stringbytestring.java.
Error reason: there is not enough space for ByteBuffer to store byte array parsed by string. Here is my test code,I've fixed the code,Thank you for your reply.
Hello developer, first of all, thank you for opening your code. We developed a tool to scan whether there is runtime exception in the source code of the project. Then we scanned your code and found a method that may need to add try catch module! It is the putto method of rembulan-runtime \src\main\java\net\sandius\rembulan\stringbytestring.java.
Error reason: there is not enough space for ByteBuffer to store byte array parsed by string. Here is my test code,I've fixed the code,Thank you for your reply.
import sun.nio.cs.UTF_32; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.util.Arrays; import java.util.Objects;
public class StringByteString { private final String string; private final Charset charset;
}