-
Deprecated 方法方法说明as of 6.0, in favor of
DataBuffer.toByteBuffer(), which does not share data and returns a copy.in favor ofDataBuffer.toByteBuffer(int, int), which does not share data and returns a copy.in favor ofDataBuffer.ensureWritable(int), which has different semanticsin favor ofDataBuffer.ensureWritable(int)in favor ofDataBuffer.split(int), which has different semanticsin favor ofDataBuffer.split(int), which has different semanticsThis utility uses Java Object Serialization, which allows arbitrary code to be run and is known for being the source of many Remote Code Execution (RCE) vulnerabilities.Prefer the use of an external tool (that serializes to JSON, XML, or any other format) which is regularly checked and updated for not allowing RCE.
ClassWriter.newHandle(int, String, String, String, boolean).