Abandon java.beans.Introspector or keep working around it?

2014-06-28 Thread Thiago H de Paula Figueiredo

Hi!

While investigating TAP5-1548 and TAP5-1885 and also reading TAP5-921 I  
reached the conclusion that Introspector isn't finding all the properties  
in some circustances, specially when the getter is defined in one type and  
the setter in another one in the class hierarchy. The tickets have  
examples. What do you guys think about ditching its use? Or do you think  
we should work around it?


Meanwhile, I'm trying a workaround.

Cheers!

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

-
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org



Re: Abandon java.beans.Introspector or keep working around it?

2014-06-28 Thread Lance Java
Yeah, I must say I thinking the same thing. It's not rocket science what
the introspector is doing. We could support isX() for java.lang.Boolean too
if we had our own introspector.
 On 28 Jun 2014 13:54, Thiago H de Paula Figueiredo thiag...@gmail.com
wrote:

 Hi!

 While investigating TAP5-1548 and TAP5-1885 and also reading TAP5-921 I
 reached the conclusion that Introspector isn't finding all the properties
 in some circustances, specially when the getter is defined in one type and
 the setter in another one in the class hierarchy. The tickets have
 examples. What do you guys think about ditching its use? Or do you think we
 should work around it?

 Meanwhile, I'm trying a workaround.

 Cheers!

 --
 Thiago H. de Paula Figueiredo
 Tapestry, Java and Hibernate consultant and developer
 http://machina.com.br

 -
 To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: dev-h...@tapestry.apache.org




Re: Abandon java.beans.Introspector or keep working around it?

2014-06-28 Thread Thiago H de Paula Figueiredo

Nevermind, a not-too-ugly workaround was enough.

On Sat, 28 Jun 2014 09:53:57 -0300, Thiago H de Paula Figueiredo  
thiag...@gmail.com wrote:



Hi!

While investigating TAP5-1548 and TAP5-1885 and also reading TAP5-921 I  
reached the conclusion that Introspector isn't finding all the  
properties in some circustances, specially when the getter is defined in  
one type and the setter in another one in the class hierarchy. The  
tickets have examples. What do you guys think about ditching its use? Or  
do you think we should work around it?


Meanwhile, I'm trying a workaround.

Cheers!




--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

-
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org



Build failed in Jenkins: tapestry-trunk-freestyle #1261

2014-06-28 Thread Apache Jenkins Server
See https://builds.apache.org/job/tapestry-trunk-freestyle/1261/changes

Changes:

[thiagohp] TAP5-1885: Error in PropertyAccess service

--
[...truncated 25365 lines...]
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 
0 collections);
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] SeleniumTestCase Executing public void 
org.apache.tapestry5.hibernate.integration.TapestryHibernateIntegrationTests.using_cached_with_form()
[INFO] PageLoader Loaded page 'CachedForm' (en) in 153.457 ms
[ERROR] ClientDataEncoder The symbol 'tapestry.hmac-passphrase' has not been 
configured. This is used to configure hash-based message authentication of 
Tapestry data stored in forms, or in the URL. You application is less secure, 
and more vulnerable to denial-of-service attacks, when this symbol is not 
configured.
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
8540 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
637141 nanoseconds spent preparing 1 JDBC statements;
94561 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 
0 collections);
10718 nanoseconds spent executing 1 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
5976 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
619944 nanoseconds spent preparing 2 JDBC statements;
130932 nanoseconds spent executing 2 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
512267 nanoseconds spent executing 1 flushes (flushing a total of 1 
entities and 0 collections);
7274 nanoseconds spent executing 1 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
4939 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
364937 nanoseconds spent preparing 1 JDBC statements;
46462 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 
0 collections);
5979 nanoseconds spent executing 1 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
7912 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
438552 nanoseconds spent preparing 1 JDBC statements;
97271 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
159397 nanoseconds spent executing 1 flushes (flushing a total of 1 
entities and 0 collections);
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
7757 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
581250 nanoseconds spent preparing 1 JDBC statements;
80803 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 
0 collections);
9179 nanoseconds spent executing 1 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
8030 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
437426 nanoseconds spent preparing 1 JDBC statements;
102113 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds 

Build failed in Jenkins: tapestry-trunk-freestyle #1262

2014-06-28 Thread Apache Jenkins Server
See https://builds.apache.org/job/tapestry-trunk-freestyle/1262/changes

Changes:

[thiagohp] Added test for TAP5-1480.

--
[...truncated 25372 lines...]
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 
0 collections);
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] SeleniumTestCase Executing public void 
org.apache.tapestry5.hibernate.integration.TapestryHibernateIntegrationTests.using_cached_with_form()
[INFO] PageLoader Loaded page 'CachedForm' (en) in 163.366 ms
[ERROR] ClientDataEncoder The symbol 'tapestry.hmac-passphrase' has not been 
configured. This is used to configure hash-based message authentication of 
Tapestry data stored in forms, or in the URL. You application is less secure, 
and more vulnerable to denial-of-service attacks, when this symbol is not 
configured.
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
8552 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
608457 nanoseconds spent preparing 1 JDBC statements;
95388 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 
0 collections);
10803 nanoseconds spent executing 1 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
5292 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
622801 nanoseconds spent preparing 2 JDBC statements;
130598 nanoseconds spent executing 2 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
553349 nanoseconds spent executing 1 flushes (flushing a total of 1 
entities and 0 collections);
6935 nanoseconds spent executing 1 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
4339 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
311451 nanoseconds spent preparing 1 JDBC statements;
41089 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 
0 collections);
5104 nanoseconds spent executing 1 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
8020 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
415962 nanoseconds spent preparing 1 JDBC statements;
97522 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
154471 nanoseconds spent executing 1 flushes (flushing a total of 1 
entities and 0 collections);
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
6907 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
543505 nanoseconds spent preparing 1 JDBC statements;
80337 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 
0 collections);
9323 nanoseconds spent executing 1 partial-flushes (flushing a total of 0 
entities and 0 collections)
}
[INFO] StatisticalLoggingSessionEventListener Session Metrics {
7674 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
404833 nanoseconds spent preparing 1 JDBC statements;
98704 nanoseconds spent executing 1 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 

Build failed in Jenkins: tapestry-trunk-freestyle #1263

2014-06-28 Thread Apache Jenkins Server
See https://builds.apache.org/job/tapestry-trunk-freestyle/1263/changes

Changes:

[thiagohp] Implemented TAP55-2358 : OrderedConfiguration should have consistent

--
[...truncated 156 lines...]
warning: 
org/jsr107/ri/annotations/AbstractInternalCacheInvocationContext.class(org/jsr107/ri/annotations:AbstractInternalCacheInvocationContext.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/InternalCacheInvocationContext.class(org/jsr107/ri/annotations:InternalCacheInvocationContext.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/AbstractCachePutInterceptor.class(org/jsr107/ri/annotations:AbstractCachePutInterceptor.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/CacheContextSource.class(org/jsr107/ri/annotations:CacheContextSource.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/AbstractKeyedCacheInterceptor.class(org/jsr107/ri/annotations:AbstractKeyedCacheInterceptor.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/AbstractCacheInterceptor.class(org/jsr107/ri/annotations:AbstractCacheInterceptor.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/AbstractCacheLookupUtil.class(org/jsr107/ri/annotations:AbstractCacheLookupUtil.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/StaticCacheInvocationContext.class(org/jsr107/ri/annotations:StaticCacheInvocationContext.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/AbstractCacheResultInterceptor.class(org/jsr107/ri/annotations:AbstractCacheResultInterceptor.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/AbstractCacheRemoveEntryInterceptor.class(org/jsr107/ri/annotations:AbstractCacheRemoveEntryInterceptor.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/AbstractCacheRemoveAllInterceptor.class(org/jsr107/ri/annotations:AbstractCacheRemoveAllInterceptor.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/DefaultCacheKeyGenerator.class(org/jsr107/ri/annotations:DefaultCacheKeyGenerator.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
warning: 
org/jsr107/ri/annotations/DefaultCacheResolverFactory.class(org/jsr107/ri/annotations:DefaultCacheResolverFactory.class):
 major version 51 is newer than 50, the highest major version supported by this 
compiler.
It is recommended that the compiler be upgraded.
/x1/jenkins/jenkins-slave/workspace/tapestry-trunk-freestyle/tapestry-core/src/main/java/org/apache/tapestry5/services/ValueLabelProvider.java:31:
 warning - @return tag has no arguments.
/x1/jenkins/jenkins-slave/workspace/tapestry-trunk-freestyle/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/FormControlNameManager.java:40:
 warning - @return tag has no arguments.
/x1/jenkins/jenkins-slave/workspace/tapestry-trunk-freestyle/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/FormControlNameManager.java:40:
 warning - @param argument string is not a parameter name.
/x1/jenkins/jenkins-slave/workspace/tapestry-trunk-freestyle/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/UnknownActivationContextHandler.java:33:
 warning - Tag @see:illegal character: 58 in 
http://issues.apache.org/jira/browse/TAP5-2070;
/x1/jenkins/jenkins-slave/workspace/tapestry-trunk-freestyle/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/UnknownActivationContextHandler.java:33:
 warning - Tag @see:illegal character: 47 in 
http://issues.apache.org/jira/browse/TAP5-2070;