From: khartlage Date: Wed, 16 Jun 2004 18:04:01 +0000 (+0000) Subject: fixed: java.lang.IllegalArgumentException: Attempted to beginRule... X-Git-Url: http://secure.phpeclipse.com fixed: java.lang.IllegalArgumentException: Attempted to beginRule... --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelManager.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelManager.java index 7a62757..c99dfcc 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelManager.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelManager.java @@ -456,7 +456,8 @@ public class JavaModelManager implements ISaveParticipant { pkgPath = pkgPath.removeLastSegments(1); // don't check validity of package name (see http://bugs.eclipse.org/bugs/show_bug.cgi?id=26706) - String pkgName = pkgPath.toString().replace('/', '.'); +// String pkgName = pkgPath.toString().replace('/', '.'); + String pkgName = pkgPath.toString(); return root.getPackageFragment(pkgName); } else { String pkgName = Util.packageName(pkgPath);