You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by "mingchun-zhao (via GitHub)" <gi...@apache.org> on 2026/07/05 07:47:49 UTC
[PR] Fixed ant test failure due to missing Java 25 --enable-preview flag [manifoldcf]
mingchun-zhao opened a new pull request, #177:
URL: https://github.com/apache/manifoldcf/pull/177
I've run ant test and noticed that the CMIS SanityHSQLDBTest failed with the following error:
```
run-tests-HSQLDB:
... ...
BUILD FAILED
... ...
/home/m-cho/manifoldcf/dist/connector-build.xml:1458: Test org.apache.manifoldcf.crawler.connectors.cmis.tests.SanityHSQLDBTest failed
```
After investigating the full stack trace, I found the root cause:
The CMIS connector classes were compiled with Java 25 preview features, but the tests with ant were executed without the --enable-preview flag.
When I added --enable-preview to the build configuration, the failure was resolved.
I confirmed that all test cases passed for both ant and mvn test.
--
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: commits-unsubscribe@manifoldcf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fixed ant test failure due to missing Java 25 --enable-preview flag [manifoldcf]
Posted by "OpenPj (via GitHub)" <gi...@apache.org>.
OpenPj merged PR #177:
URL: https://github.com/apache/manifoldcf/pull/177
--
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: commits-unsubscribe@manifoldcf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org