Skip to content

Commit

Permalink
8297091: New langtools test jdk/javadoc/doclet/testValueTag/TestValue…
Browse files Browse the repository at this point in the history
…Formats.java fails on machines with unexpected number format

Reviewed-by: prappo, jjg
  • Loading branch information
RealCLanger committed Nov 22, 2022
1 parent b6dddf4 commit 4a544bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class C {
"""
<h3>pi</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">pi</span></div>
<div class="block">The value 3.1415926525 is 3.14.</div>""");
<div class="block">The value 3.1415926525 is %5.2f.</div>""".formatted(3.14));
}

@Test
Expand Down

1 comment on commit 4a544bb

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.