mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
java.util.ResourceBundle instance cannot be the parent of itself otherwise 'containsKey' fails into infinite loop
GitOrigin-RevId: 72fa5a7f9094009a9474d0680f8da97627a1e929
This commit is contained in:
committed by
intellij-monorepo-bot
parent
916687f551
commit
4d2f883621
@@ -48,7 +48,7 @@ public class DynamicBundle extends AbstractBundle {
|
||||
ResourceBundle pluginBundle = super.findBundle(pathToBundle, pluginDescriptor == null ? getClass().getClassLoader() : pluginDescriptor.getPluginClassLoader(), control);
|
||||
if (pluginBundle != null) {
|
||||
try {
|
||||
if (DynamicBundleInternal.SET_PARENT != null) {
|
||||
if (DynamicBundleInternal.SET_PARENT != null && pluginBundle != base) {
|
||||
DynamicBundleInternal.SET_PARENT.bindTo(pluginBundle).invoke(base);
|
||||
}
|
||||
return pluginBundle;
|
||||
|
||||
Reference in New Issue
Block a user