Skip to content

Commit 08bdd3f

Browse files
committed
dev: 1.0.3
1 parent 772528c commit 08bdd3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-d8/src/main/java/com/xiaoyv/java/compiler/tools/exec/JavaProgramConsole.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class JavaProgramConsole : CoroutineScope by MainScope() {
126126
// 向输入流写入
127127
inputBuffer.write(bytes, 0, bytes.size)
128128
// 提交
129-
val submitBytes = byteArrayOf('\n'.toByte(), (-1).toByte())
129+
val submitBytes = byteArrayOf('\n'.code.toByte(), (-1).toByte())
130130
inputBuffer.write(submitBytes, 0, submitBytes.size)
131131
return true
132132
}.onFailure {

0 commit comments

Comments
 (0)