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:
parent
07061fc73a
commit
2515c42b2c
@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
import jdk.test.lib.apps.LingeredApp;
|
import jdk.test.lib.apps.LingeredApp;
|
||||||
|
|
||||||
|
import java.lang.ref.Reference;
|
||||||
|
|
||||||
interface Language {
|
interface Language {
|
||||||
static final long nbrOfWords = 99999;
|
static final long nbrOfWords = 99999;
|
||||||
public abstract long getNbrOfWords();
|
public abstract long getNbrOfWords();
|
||||||
@ -54,5 +56,6 @@ public class LingeredAppWithInterface extends LingeredApp {
|
|||||||
System.out.println(lang.getNbrOfWords() + muggleSpeak.getNbrOfWords());
|
System.out.println(lang.getNbrOfWords() + muggleSpeak.getNbrOfWords());
|
||||||
|
|
||||||
LingeredApp.main(args);
|
LingeredApp.main(args);
|
||||||
|
Reference.reachabilityFence(lang);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user