Project

Profile

Help

net.sf.saxon.Configuration.getClass() problem

Added by Anonymous over 17 years ago

Legacy ID: #4068697 Legacy Poster: Werner Donné (wdonne)

Hi, This method considers the context class loader of the current thread before the class loader of its class. I think it should be the opposite, because there might be a class loader hierarchy between the latter and the former, which is ignored. Regards, Werner.


Replies (1)

RE: net.sf.saxon.Configuration.getClass() pro - Added by Anonymous over 17 years ago

Legacy ID: #4068869 Legacy Poster: Michael Kay (mhkay)

There's been a lot of discussion and advice about different ways of organising the class loading in Saxon, and the current arrangement was not arrived at by chance. I'm very reluctant to change it now without sound evidence and without a process of consultation with users. I get the impression that anything I do to make one scenario work better will break something else. If you want to control what classLoader is used, you can call config.setClassLoader().

    (1-1/1)

    Please register to reply