jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1406397 - /jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java
Date Tue, 06 Nov 2012 23:22:18 GMT
Author: sebb
Date: Tue Nov  6 23:22:17 2012
New Revision: 1406397

URL: http://svn.apache.org/viewvc?rev=1406397&view=rev
Log:
Property entries must be defined before they are used, otherwise they generate the following
warning:
WARN  - jmeter.testbeans.gui.GenericTestBeanCustomizer: org.apache.jmeter.util.JSR223TestElement#cacheKey
does not appear to have been configured
and the fields may not behave correctly
Bugzilla Id: 54107

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java?rev=1406397&r1=1406396&r2=1406397&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java Tue Nov  6 23:22:17
2012
@@ -54,12 +54,13 @@ public abstract class JSR223BeanInfoSupp
     protected JSR223BeanInfoSupport(Class<?> beanClass) {
         super(beanClass, LANGUAGE_TAGS);
         
-        createPropertyGroup(CACHE_KEY_GROUP, new String[] { 
-                CACHE_KEY });
-
         PropertyDescriptor p = property(CACHE_KEY);
         p.setValue(NOT_UNDEFINED, Boolean.TRUE);
         p.setValue(DEFAULT, ""); // $NON-NLS-1$
+
+        createPropertyGroup(CACHE_KEY_GROUP, new String[] { 
+                CACHE_KEY });
+
     }
 
 }



Mime
View raw message