myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r813091 - /myfaces/extensions/scripting/trunk/core/src/main/java/org/apache/myfaces/scripting/core/util/ClassUtils.java
Date Wed, 09 Sep 2009 19:45:18 GMT
Author: werpu
Date: Wed Sep  9 19:45:18 2009
New Revision: 813091

URL: http://svn.apache.org/viewvc?rev=813091&view=rev
Log:
http://issues.apache.org/jira/browse/EXTSCRIPT-14

fix for the class not being overwritten issue




Modified:
    myfaces/extensions/scripting/trunk/core/src/main/java/org/apache/myfaces/scripting/core/util/ClassUtils.java

Modified: myfaces/extensions/scripting/trunk/core/src/main/java/org/apache/myfaces/scripting/core/util/ClassUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/core/src/main/java/org/apache/myfaces/scripting/core/util/ClassUtils.java?rev=813091&r1=813090&r2=813091&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/core/src/main/java/org/apache/myfaces/scripting/core/util/ClassUtils.java
(original)
+++ myfaces/extensions/scripting/trunk/core/src/main/java/org/apache/myfaces/scripting/core/util/ClassUtils.java
Wed Sep  9 19:45:18 2009
@@ -256,6 +256,7 @@
      */
     public static void markAsDynamicJava(String classPath, String className) throws ClassNotFoundException
{
         SyntheticRepository repo = SyntheticRepository.getInstance(new ClassPath(classPath));
+        repo.clear();
         JavaClass javaClass = repo.loadClass(className);
         ClassGen classGen = new ClassGen(javaClass);
         



Mime
View raw message