Skip to content

Commit f3b9244

Browse files
committed
8286925: Move JSON parser used in JFR tests to test library
Backport-of: ac7e019232903db38a03f644c3d31c858cbf3967
1 parent b5f25e0 commit f3b9244

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/jdk/jdk/jfr/tool/TestPrintJSON.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
import jdk.jfr.consumer.RecordedEvent;
3636
import jdk.jfr.consumer.RecordedObject;
3737
import jdk.jfr.consumer.RecordingFile;
38-
import jdk.jfr.tool.JSONValue.JSONArray;
38+
import jdk.test.lib.json.JSONValue;
39+
import jdk.test.lib.json.JSONValue.JSONArray;
3940
import jdk.test.lib.Asserts;
4041
import jdk.test.lib.process.OutputAnalyzer;
4142

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -20,7 +20,7 @@
2020
* or visit www.oracle.com if you need additional information or have any
2121
* questions.
2222
*/
23-
package jdk.jfr.tool;
23+
package jdk.test.lib.json;
2424

2525
import java.util.ArrayList;
2626
import java.util.HashMap;

0 commit comments

Comments
 (0)