OpenJDK / jdk / jdk10
changeset 36610:7b866d93cd34
8150955: RandomValidCommandsTest.java fails with UnsatisfiedLinkError: sun.hotspot.WhiteBox.registerNatives
Summary: Replace invalid command with a valid one
Reviewed-by: kvn
author | ppunegov |
---|---|
date | Tue, 15 Mar 2016 16:23:31 +0300 |
parents | 94f0720927a0 |
children | eb4fe2f11579 |
files | hotspot/test/compiler/compilercontrol/share/MultiCommand.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/test/compiler/compilercontrol/share/MultiCommand.java Tue Mar 15 12:34:41 2016 +0100 +++ b/hotspot/test/compiler/compilercontrol/share/MultiCommand.java Tue Mar 15 16:23:31 2016 +0300 @@ -53,8 +53,8 @@ List<CompileCommand> testCases = new ArrayList<>(); for (Command cmd : commands) { if (validOnly && cmd == Command.NONEXISTENT) { - // skip invalid command - continue; + // replace with a valid command + cmd = Command.EXCLUDE; } Executable exec = Utils.getRandomElement(METHODS).first; MethodDescriptor md;