From 199dd5ed2d7843abb2b8a4e51ba6fd3c71ebf42a Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 11 Feb 2008 13:49:10 +0000 Subject: [PATCH] extra diagnostics for weaverstate problem --- weaver/src/org/aspectj/weaver/WeaverStateInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/WeaverStateInfo.java b/weaver/src/org/aspectj/weaver/WeaverStateInfo.java index 6c4dcc1df..9b10517a8 100644 --- a/weaver/src/org/aspectj/weaver/WeaverStateInfo.java +++ b/weaver/src/org/aspectj/weaver/WeaverStateInfo.java @@ -139,7 +139,7 @@ public class WeaverStateInfo { readAnyReweavableData(wsi,s); return wsi; } - throw new RuntimeException("bad WeaverState.Kind: " + b); + throw new RuntimeException("bad WeaverState.Kind: " + b+". File was :"+(context==null?"unknown":context.makeSourceLocation(0,0))); } -- 2.39.5