[jira] [Created] (JENA-861) org.apache.jena.security.impl.SecuredItemInvoker uses wrong method

2015-01-24 Thread Claude Warren (JIRA)
Claude Warren created JENA-861: -- Summary: org.apache.jena.security.impl.SecuredItemInvoker uses wrong method Key: JENA-861 URL: https://issues.apache.org/jira/browse/JENA-861 Project: Apache Jena

Strange close() behaviour

2015-01-24 Thread Claude Warren
Background: 1. TDBGraph implements org.apache.jena.atlas.lib.Closable which defines a close() method 2. Graph does not. 3. DatasetGraphMaker.close() calls close() on the defaultGraph. The security system creates dynamic proxies. When a TDBGraph is closed the method that is being atte

[jira] [Commented] (JENA-861) org.apache.jena.security.impl.SecuredItemInvoker uses wrong method

2015-01-24 Thread Claude Warren (JIRA)
[ https://issues.apache.org/jira/browse/JENA-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290545#comment-14290545 ] Claude Warren commented on JENA-861: Background: 1. TDBGraph implements org.apache.

Re: Strange close() behaviour

2015-01-24 Thread Ian Emmons
+1 -- Moving to Java 7 should include a comprehensive review of which classes should become closable to enable try-with-resources. Ideally, the Jena code base should also use try-with-resources internally wherever that makes sense. Note that in some cases extending AutoCloseable might be prefer

Re: Strange close() behaviour

2015-01-24 Thread Andy Seaborne
On 24/01/15 15:36, Ian Emmons wrote: +1 -- Moving to Java 7 should include a comprehensive review of which classes should become closable to enable try-with-resources. What would be really great is if you'd look through the codebase and make suggestions as to where it makes sense. (we have

Re: Strange close() behaviour

2015-01-24 Thread Andy Seaborne
On 24/01/15 11:01, Claude Warren wrote: Background: 1. TDBGraph implements org.apache.jena.atlas.lib.Closable which defines a close() method 2. Graph does not. 3. DatasetGraphMaker.close() calls close() on the defaultGraph. The security system creates dynamic proxies. When a TD

Release planning : 2.*

2015-01-24 Thread Andy Seaborne
== Jena 2.* Some first thoughts for the next release ... What number should it be? We may have have new components: * OSGi bundle * Adds Fuseki2 (as 2.0.0); Fuseki1 still there * jena-elephas? (If this works for you, Rob - no strong advocacy either way) * Anything else I've forgotten. We do

Jena3 planning

2015-01-24 Thread Andy Seaborne
Here is a suggestion for Jena3. After 2.12.2 or 2.12.3, 1/ A branch for Jena2 ; master is Jena3. 2/ Switch to RDF 1.1 setting for strings 3/ Rename com.hp.hpl.jena packages to org.apache.jena 4/ Other changes 5/ Let things settle down. 6/ Release (beta? just go for it as 3.0.0?) (3) is the disr

Jena3 : core/arq split

2015-01-24 Thread Andy Seaborne
[[ oaj = org.apache.jena chhj = com.hp.hpl.jena ]] One major possible change target is the core/arq split. Much of this comes down to where quads/datasets go in the package tree. They started as a SPARQL (1.0) feature but are now RDF 1.1 and parser related. The general idea is move dataset/

Re: Strange close() behaviour

2015-01-24 Thread Claude Warren
Removing closable from TDBGraph? No. Removing closable from the proxy? No, It proxies all the interfaces from the original object so that the contracts of the original object are not broken. I changed the proxy so that if a method with the same signature is found it calls the one on the secured

[jira] [Commented] (JENA-859) Add logging to jena-security

2015-01-24 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JENA-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290826#comment-14290826 ] ASF subversion and git services commented on JENA-859: -- Commit 11582310

[jira] [Commented] (JENA-861) org.apache.jena.security.impl.SecuredItemInvoker uses wrong method

2015-01-24 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JENA-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290825#comment-14290825 ] ASF subversion and git services commented on JENA-861: -- Commit 02af44d5

[jira] [Commented] (JENA-396) Request for Info

2015-01-24 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290850#comment-14290850 ] Andy Seaborne commented on JENA-396: Can we close this JIRA? > Request for Info > -

[jira] [Closed] (JENA-396) Request for Info

2015-01-24 Thread Claude Warren (JIRA)
[ https://issues.apache.org/jira/browse/JENA-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claude Warren closed JENA-396. -- Resolution: Not a Problem > Request for Info > > > Key: JENA-396 >