elharo opened a new pull request, #116:
URL: https://github.com/apache/xerces-j/pull/116

   `SurrogatePairLengthTest` requires setting a system property 
(`org.apache.xerces.impl.dv.xs.useCodePointCountForStringLength`) before 
`TypeValidator.class` loads. Since the class reads this property as a `static 
final` constant via `AccessController.doPrivileged(Boolean.getBoolean(...))`, 
it cannot run in the shared-JVM main `<batchtest>` (forkmode="once") — other 
tests load `TypeValidator` first, and the property is never read.
   
   Added a separate `<junit>` task with `forkmode="perTest"` before the main 
batchtest to run this test in its own JVM, where the static initializer can set 
the property before any other class references `TypeValidator`.
   
   Removed SurrogatePairLengthTest from the commented-out failure list since it 
now passes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to