From e6a26015e9c43299e342ebb64be95c211089cf47 Mon Sep 17 00:00:00 2001 From: khartlage Date: Wed, 16 Jun 2004 18:04:01 +0000 Subject: [PATCH 1/1] fixed: java.lang.IllegalArgumentException: Attempted to beginRule... --- .../phpdt/internal/core/JavaModelManager.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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); -- 1.7.1