此内容没有您所选择的语言版本。
Chapter 5. Fixed issues
This Thorntail release contains the following bug fixes.
5.1. Thorntail applications work with WildFly OpenSSL 复制链接链接已复制到粘贴板!
In prior releases, when WildFly OpenSSL was enabled, Thorntail applications would fail to boot.
This issue has been fixed in Thorntail 2.7.2. You can enable WildFly OpenSSL to use native OpenSSL libraries for TLS, instead of the Java implementation in the JDK. This improves the TLS performance.
Description
In prior releases, when the PostgreSQL JDBC driver version 42.2.15 or later was used in a Thorntail application, the application would throw an exception and fail to boot.
This issue has been fixed in Thorntail 2.7.2. You can now use PostgreSQL JDBC driver version 42.2.15 or later with Thorntail applications.
Description
In prior releases, Thorntail used SmallRye Fault Tolerance version 2.x, which was based on Hystrix. This implementation always executed @Timeout methods on a dedicated thread pool, even if they were not @Asynchronous. Due to this, the CDI contexts were not available in the @Timeout methods.
The Thorntail 2.7.0 release uses SmallRye Fault Tolerance 4.x, which is no longer based on Hystrix. It executes @Timeout methods that are not @Asynchronous on the original thread, so CDI contexts are available.
Example
@Inject
private MyService service;
@Timeout
public String doSomething() {
return "Hello " + service.call();
}
In the example, MyService class is defined as @RequestScoped. The doSomething method uses a contextual instance of MyService. This example did not work in previous releases, because doSomething was invoked on an extra thread. In Thorntail 2.7.0, it works as expected.
5.4. Fixed security issues 复制链接链接已复制到粘贴板!
For a list of resolved security issues, see Advisories related to this release.