Igal,

On 10/9/23 18:13, Igal Sapir wrote:
Chris,

I'm getting some errors when I run `ant clean test` with Java 1.8.0_322 -
any ideas?

Yes, you will need to set some build properties. Have a look at this script and look ad what I do with the "opens":

https://github.com/ChristopherSchultz/apache-tomcat-stuff/blob/master/bin/test-tomcat-release.sh#L269

-chris

test-nio2:
    [junit] Unrecognized option: --add-opens=java.base/java.lang=ALL-UNNAMED
    [junit] Error: Could not create the Java Virtual Machine.
    [junit] Error: A fatal exception has occurred. Program will exit.
    [junit] Unrecognized option: --add-opens=java.base/java.lang=ALL-UNNAMED
    [junit] Error: Could not create the Java Virtual Machine.
    [junit] Error: A fatal exception has occurred. Program will exit.
    [junit] Unrecognized option: --add-opens=java.base/java.lang=ALL-UNNAMED
    [junit] Error: Could not create the Java Virtual Machine.
    [junit] Unrecognized option: --add-opens=java.base/java.lang=ALL-UNNAMED
    [junit] Error: Could not create the Java Virtual Machine.
    [junit] Error: A fatal exception has occurred. Program will exit.
    [junit] Error: A fatal exception has occurred. Program will exit.
    [junit] Unrecognized option: --add-opens=java.base/java.lang=ALL-UNNAMED
    [junit] Error: Could not create the Java Virtual Machine.
    [junit] Error: A fatal exception has occurred. Program will exit.
    [junit] Unrecognized option: --add-opens=java.base/java.lang=ALL-UNNAMED
    [junit] Error: Could not create the Java Virtual Machine.
    [junit] Error: A fatal exception has occurred. Program will exit.
    [junit] Running javax.el.TestArrayELResolver in thread 1
    [junit] Running javax.el.TestBeanELResolver in thread 2
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0 sec, Thread: 1, Class: javax.el.TestArrayELResolver
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0 sec, Thread: 2, Class: javax.el.TestBeanELResolver
    [junit] Test javax.el.TestArrayELResolver FAILED (crashed)
    [junit] Test javax.el.TestBeanELResolver FAILED (crashed)
    [junit] Running javax.el.TestBeanNameELResolver in thread 4
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0 sec, Thread: 4, Class: javax.el.TestBeanNameELResolver
    [junit] Test javax.el.TestBeanNameELResolver FAILED (crashed)
    [junit] Running javax.el.TestELContext in thread 6
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0 sec, Thread: 6, Class: javax.el.TestELContext
    [junit] Test javax.el.TestELContext FAILED (crashed)

BUILD FAILED
/workspace/src/tomcat/8.5.x/build.xml:1544: The following error occurred
while executing this line:
/workspace/src/tomcat/8.5.x/build.xml:1594: Context loader has not been
reset

Total time: 18 seconds

Igal

On Mon, Oct 9, 2023 at 3:02 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:

All,

On 10/9/23 17:55, Christopher Schultz wrote:
The proposed Apache Tomcat 8.5.94 release is now available for voting.

The notable changes compared to 8.5.93 are:

- Update Tomcat Native to 1.2.39 to pick up Windows binaries built with
    OpenSSL 3.0.11.

- Provide a lifecycle listener that will automatically reload TLS
    configurations a set time before the certificate is due to expire.
    This is intended to be used with third-party tools that regularly
    renew TLS certificates.

- Improve performance of EL expressions in JSPs that use implicit
    objects.

- Several improvements to thread safety and recycling cleanup.

Along with lots of other bug fixes and improvements.

For full details, see the changelog:
https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.94/

The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1436

I had the Maven staging URL incorrect. Please use this one instead:
https://repository.apache.org/content/repositories/orgapachetomcat-1457

The tag is:
https://github.com/apache/tomcat/tree/8.5.94/
36d4f7d698f71cd322204a3b242a97c54860fb8c

The proposed 8.5.94 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 8.5.94 (stable)






---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to