Le 02/04/2017 à 14:49, Stefan Seelmann a écrit : > On 03/26/2017 01:40 PM, Emmanuel Lécharny wrote: >> I'm almost done with the refactoring of SyntaxCheckers, having added a >> Builder inner class to all of them. I just have to deal with the >> TelephoneNumber SC which is slightly more complex, but it will be done >> by tonite. > Thanks Emmanuel, > > in ApacheDS there were some test failures. > > One was a NPE in TelephoneNumberSyntaxChecker, when that was loaded via > DefaultSchemaManager the regexp/pattern fields were null. Fixed here: > http://svn.apache.org/viewvc?rev=1789879&view=rev > > Other tests load the syntax checker via bytecode from schema. This > doesnt' work anymore because now the class contains the inner Builder > class, so on class loading two classes need to be loaded. Either we need > two bytecode attributes values or concatentate them and make the > SchemaEntityFactory handle that. In the meantime I disabled the tests: > http://svn.apache.org/viewvc?rev=1789880&view=rev
I'm fighting with this one. The thing is that the bytecode is outdated, and creating a new one is about copying what has been generated by shared, but as there is an inner class, it's not that easy. I will get it working... -- Emmanuel Lecharny Symas.com directory.apache.org
