[jboss-cvs] JBossAS SVN: r67401 - in projects/aop/branches/joinpoint_graph/aop/src/main/org/jboss/aop: standalone and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Nov 23 08:15:44 EST 2007
Author: flavia.rainone at jboss.com
Date: 2007-11-23 08:15:44 -0500 (Fri, 23 Nov 2007)
New Revision: 67401
Modified:
projects/aop/branches/joinpoint_graph/aop/src/main/org/jboss/aop/Deployment.java
projects/aop/branches/joinpoint_graph/aop/src/main/org/jboss/aop/standalone/Compiler.java
Log:
[JBAOP-489] Bug fixed.
Modified: projects/aop/branches/joinpoint_graph/aop/src/main/org/jboss/aop/Deployment.java
===================================================================
--- projects/aop/branches/joinpoint_graph/aop/src/main/org/jboss/aop/Deployment.java 2007-11-23 13:12:41 UTC (rev 67400)
+++ projects/aop/branches/joinpoint_graph/aop/src/main/org/jboss/aop/Deployment.java 2007-11-23 13:15:44 UTC (rev 67401)
@@ -112,7 +112,8 @@
}
try
{
- URL url = f.toURL();
+ // use toURI().toURL() because of bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4273532
+ URL url = f.toURI().toURL();
Iterator it = ArchiveBrowser.getBrowser(url, new ClassFileFilter());
AspectAnnotationLoader loader = new AspectAnnotationLoader(AspectManager.instance());
loader.deployInputStreamIterator(it);
@@ -178,7 +179,8 @@
private static void deployXmlFile(File f) throws Exception
{
- URL url = f.toURL();
+ // use toURI().toURL() because of bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4273532
+ URL url = f.toURI().toURL();
if (AspectManager.verbose && logger.isDebugEnabled()) logger.debug("deploying " + url);
AspectXmlLoader.deployXML(url);
}
Modified: projects/aop/branches/joinpoint_graph/aop/src/main/org/jboss/aop/standalone/Compiler.java
===================================================================
--- projects/aop/branches/joinpoint_graph/aop/src/main/org/jboss/aop/standalone/Compiler.java 2007-11-23 13:12:41 UTC (rev 67400)
+++ projects/aop/branches/joinpoint_graph/aop/src/main/org/jboss/aop/standalone/Compiler.java 2007-11-23 13:15:44 UTC (rev 67401)
@@ -162,7 +162,8 @@
{
String cpath = tokenizer.nextToken();
File f = new File(cpath);
- paths.add(f.toURL());
+ // use toURI().toURL() because of bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4273532
+ paths.add(f.toURI().toURL());
}
continue;
}
More information about the jboss-cvs-commits
mailing list