It shouldn't matter. If RDFDataMgr is used to read a model it would not be "secured" unless the security wrapper was added via the org.apache.jena.permissions.Factory.getInstance() method. If RDFDataMgr is used to read triples into a model that should call the model.addStateement(), possibly after calling model.asStatement( Triple ) and that should be fine as the checks will be made on the insert.
I probably should update the org.apache.jena.permissions.model.SecuredModel.read() to call RDFDataMgr. Claude On Tue, Oct 27, 2015 at 12:02 PM, Claude Warren <[email protected]> wrote: > > ---------- Forwarded message ---------- > From: Andy Seaborne <[email protected]> > Date: Thu, Oct 22, 2015 at 9:33 PM > Subject: Windows development test job kludge. > To: [email protected] > > > I was working on processing Windows file names into base URIs and got fed > up with the Windows Jenkins job failing on AlarmClock tests. They test > setting a callback to happen at a specific few 10s of ms time. > > These fail, maybe 50% of the time, when some other CI job is running. When > they run on an otherwise empty machine, they pass. > > It seems there are multisecond pauses going on. Setting the timeouts so > large as to work on Windows gets ridiculous. There is some muttering on > the web about ScheduledThreadPoolExecutor and cycle countering so VM's may > be involved. > > I have turned the test off on Windows for now. > > And the Windows file names processing works. > > Andy > > PS Claude, there are jena-permissions tests for model.read. But > model.read calls RDFDataMgr these days and the app could call directly. > Does this matter? > > > > > -- > I like: Like Like - The likeliest place on the web > <http://like-like.xenei.com> > LinkedIn: http://www.linkedin.com/in/claudewarren > -- I like: Like Like - The likeliest place on the web <http://like-like.xenei.com> LinkedIn: http://www.linkedin.com/in/claudewarren
