8262332: serviceability/sa/ClhsdbJhisto.java fails with Test ERROR java.lang.RuntimeException: 'ParselTongue' missing from stdout/stderr

Reviewed-by: cjplummer
This commit is contained in:
Leonid Mesnik 2021-02-26 16:35:28 +00:00
parent 07061fc73a
commit 2515c42b2c

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -23,6 +23,8 @@
import jdk.test.lib.apps.LingeredApp;
import java.lang.ref.Reference;
interface Language {
static final long nbrOfWords = 99999;
public abstract long getNbrOfWords();
@ -54,5 +56,6 @@ public class LingeredAppWithInterface extends LingeredApp {
System.out.println(lang.getNbrOfWords() + muggleSpeak.getNbrOfWords());
LingeredApp.main(args);
Reference.reachabilityFence(lang);
}
}