< prev index next > test/hotspot/jtreg/runtime/cds/appcds/resolvedConstants/ResolvedConstants.java
Print this page
/*
! * Copyright (c) 2024, 2025, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
/*
! * Copyright (c) 2024, 2026, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
// Indy References ---
if (aotClassLinking) {
testGroup("Indy References", out)
.shouldContain("Cannot aot-resolve Lambda proxy of interface type InterfaceWithClinit")
! .shouldMatch("klasses.* app *NormalClass[$][$]Lambda/.* hidden aot-linked inited")
.shouldMatch("archived indy *CP entry.*StringConcatTest .* => java/lang/invoke/StringConcatFactory.makeConcatWithConstants");
}
}
static String ALWAYS(String s) {
// Indy References ---
if (aotClassLinking) {
testGroup("Indy References", out)
.shouldContain("Cannot aot-resolve Lambda proxy of interface type InterfaceWithClinit")
! .shouldMatch("klasses.* app *NormalClass[$][$]Lambda/.* hidden aot-linked early inited")
.shouldMatch("archived indy *CP entry.*StringConcatTest .* => java/lang/invoke/StringConcatFactory.makeConcatWithConstants");
}
}
static String ALWAYS(String s) {
< prev index next >