Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jdk17u
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
einsteinathome
openjdk
jdk17u
Commits
bd4c65d0
Commit
bd4c65d0
authored
7 months ago
by
Goetz Lindenmaier
Browse files
Options
Downloads
Patches
Plain Diff
8340461: Amend description for logArea
Backport-of: 833ff29983e0d433ccd4c7e946b15e42045faeaa
parent
17f35ba1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/jdk/java/awt/regtesthelpers/PassFailJFrame.java
+9
-5
9 additions, 5 deletions
test/jdk/java/awt/regtesthelpers/PassFailJFrame.java
with
9 additions
and
5 deletions
test/jdk/java/awt/regtesthelpers/PassFailJFrame.java
+
9
−
5
View file @
bd4c65d0
...
...
@@ -159,7 +159,7 @@ import static javax.swing.SwingUtilities.isEventDispatchThread;
* <li>the title of the instruction UI,</li>
* <li>the timeout of the test,</li>
* <li>the size of the instruction UI via rows and columns, and</li>
* <li>to add a log area</li>
,
* <li>to add a log area
,
</li>
* <li>to enable screenshots.</li>
* </ul>
*/
...
...
@@ -1113,9 +1113,10 @@ public final class PassFailJFrame {
/**
* Adds a {@code message} to the log area, if enabled by
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
* {@link Builder#logArea() logArea()} or
* {@link Builder#logArea(int) logArea(int)}.
*
* @param message to log
* @param message
the message
to log
*/
public
static
void
log
(
String
message
)
{
System
.
out
.
println
(
"PassFailJFrame: "
+
message
);
...
...
@@ -1124,7 +1125,8 @@ public final class PassFailJFrame {
/**
* Clears the log area, if enabled by
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
* {@link Builder#logArea() logArea()} or
* {@link Builder#logArea(int) logArea(int)}.
*/
public
static
void
logClear
()
{
System
.
out
.
println
(
"\nPassFailJFrame: log cleared\n"
);
...
...
@@ -1133,7 +1135,9 @@ public final class PassFailJFrame {
/**
* Replaces the log area content with provided {@code text}, if enabled by
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
* {@link Builder#logArea() logArea()} or
* {@link Builder#logArea(int) logArea(int)}.
*
* @param text new text for the log area
*/
public
static
void
logSet
(
String
text
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment