mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-21 21:33:07 +00:00
8322282: Incorrect LoaderConstraintTable::add_entry after JDK-8298468
Reviewed-by: dholmes, simonis, coleenp
This commit is contained in:
parent
be943a9fd6
commit
bde650f21e
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2024, 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
|
||||
@ -387,7 +387,7 @@ bool LoaderConstraintTable::add_entry(Symbol* class_name,
|
||||
} else if (pp1 == nullptr) {
|
||||
pp2->extend_loader_constraint(class_name, loader1, klass);
|
||||
} else if (pp2 == nullptr) {
|
||||
pp1->extend_loader_constraint(class_name, loader1, klass);
|
||||
pp1->extend_loader_constraint(class_name, loader2, klass);
|
||||
} else {
|
||||
merge_loader_constraints(class_name, pp1, pp2, klass);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user