JDK-8345870 : Failed to compile test/javafx/scene/web/CSSRoundingTest.java after 8336798
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: jfx17.0.14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-12-10
  • Updated: 2024-12-26
  • Resolved: 2024-12-26
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.
Other
jfx17.0.14 masterFixed
Related Reports
Relates :  
Description
The newly added test failed to build due to multiline literals (not supported with -source 11).

===

00:10:07 > Task :systemTests:processTestscriptapp2Resources
00:10:07 > Task :systemTests:copyTestscriptapp2
00:10:07 > Task :systemTests:createTestApps
00:10:07 > Task :systemTests:systemTestSetup
00:10:08 > Task :systemTests:validateSourceSets
00:10:10 
00:10:10 > Task :systemTests:compileTestJava
00:10:10 [...]\tests\system\src\test\java\test\javafx\scene\web\CSSRoundingTest.java:103: error: text blocks are not supported in -source 11
00:10:10             String content = """
00:10:10                              ^
00:10:10   (use -source 15 or higher to enable text blocks)
00:10:10 1 error
00:10:11 
00:10:11 > Task :systemTests:compileTestJava FAILED
00:10:11 
00:10:11 FAILURE: Build failed with an exception.
00:10:11 
00:10:11 * What went wrong:
00:10:11 Execution failed for task ':systemTests:compileTestJava'.

===
Comments
Changeset: f965b610 Branch: master Author: Sergey Chernyshev <schernyshev@openjdk.org> Committer: Johan Vos <jvos@openjdk.org> Date: 2024-12-26 19:23:20 +0000 URL: https://git.openjdk.org/jfx17u/commit/f965b6102a648d697236c8f9a1f0e63287b6026f
26-12-2024

[jfx17u-fix-request] Approval Request from Sergey Chernyshev JFX17 builds are failing without the fix.
26-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx17u/pull/221 Date: 2024-12-10 09:29:51 +0000
10-12-2024