浏览代码

Optimize java.internal.HaxeException

杨博 11 年之前
父节点
当前提交
e2c7279053
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      std/java/internal/Exceptions.hx

+ 5 - 0
std/java/internal/Exceptions.hx

@@ -61,6 +61,11 @@ class Exceptions {
 		return obj;
 	}
 
+	@:overload @:protected override function fillInStackTrace():Throwable
+	{
+		return this;
+	}
+
 	@:overload override public function toString():String
 	{
 		return "Haxe Exception: " + obj;