Skip to content

Commit cb49a6b

Browse files
committed
fix: NutRunner的stop方法在JDK14下无法编译
1 parent cbd8da2 commit cb49a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/nutz/runner/NutRunner.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public boolean isAlive() {
295295
*/
296296
@SuppressWarnings("deprecation")
297297
public void stop(Throwable err) {
298-
myThread.stop(err);
298+
myThread.stop();
299299
}
300300

301301
public void setDebug(boolean debug) {

0 commit comments

Comments
 (0)