Skip to content

Commit

Permalink
8230865: [TESTBUG] jdk/jfr/event/io/EvilInstrument.java fails at-run …
Browse files Browse the repository at this point in the history
…shell MakeJAR.sh target

Prebuilding the test class before adding it into a jar file

Backport-of: 725da98
  • Loading branch information
zhengyu123 committed Mar 18, 2022
1 parent 8f3308a commit 23af0b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/jdk/jdk/jfr/event/io/EvilInstrument.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
* @library /test/lib /test/jdk
* @modules java.instrument
*
* @build jdk.jfr.event.io.EvilInstrument
* @run shell MakeJAR.sh EvilInstrument 'Can-Redefine-Classes: true'
* @run main/othervm -javaagent:EvilInstrument.jar jdk.jfr.event.io.EvilInstrument
*/
Expand Down

1 comment on commit 23af0b1

@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.