소스 검색

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;