JDK-8307954 : Update string template regression tests to be robust on release updates
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-05-11
  • Updated: 2023-05-17
  • Resolved: 2023-05-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b23Fixed
Related Reports
Relates :  
Relates :  
Description
Various string template tests such as

test/langtools/tools/javac/diags/examples/StringTemplateUnclosedTextBlock.java

hard-code a source value which runs afoul of JDK updates.
Comments
Changeset: 29b8242e Author: Joe Darcy <darcy@openjdk.org> Date: 2023-05-11 18:22:10 +0000 URL: https://git.openjdk.org/jdk/commit/29b8242e07b3e85887e916bc76f37eefb4403e1d
11-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13936 Date: 2023-05-11 18:13:35 +0000
11-05-2023