]> source.dussan.org Git - aspectj.git/commitdiff
just give up if the name is rubbish
authoraclement <aclement>
Tue, 17 Feb 2009 21:33:16 +0000 (21:33 +0000)
committeraclement <aclement>
Tue, 17 Feb 2009 21:33:16 +0000 (21:33 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/ShadowMunger.java

index 1b20c7c79719448b3a31ef75fbf9ae410e3f55d7..36897e56adecd570692285b29793e950986d1a19 100644 (file)
@@ -185,7 +185,7 @@ public abstract class ShadowMunger implements PartialOrder.PartialComparable, IH
                        if (i != -1) {
                                path = f.getPath().substring(0, i) + ".class";
                        } else {
-                               path = f.getPath() + ".class";
+                               return null;
                        }
                        binaryFile = new File(s + "!" + path);
                }