BeanBinding - revise warning message

The new message now explains the implications of not having accessors for a class, stating that it means the state class cannot be serialized properly.

GitOrigin-RevId: 45430952424769045cfc26f784498d34bd72b330
This commit is contained in:
Vladimir Krivosheev
2023-11-28 10:59:40 +00:00
committed by intellij-monorepo-bot
parent 57e33ebc7f
commit cb4cb357b3
@@ -1,4 +1,4 @@
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.util.xmlb;
import com.intellij.openapi.util.JDOMExternalizable;
@@ -389,7 +389,8 @@ public class BeanBinding extends NotNullDeserializeBinding {
else if (aClass == String.class) {
LOG.error("Do not compute bindings for String");
}
LOG.warn("no accessors for " + aClass.getName());
LOG.warn("No accessors for " + aClass.getName() + ". " +
"This means that state class cannot be serialized properly. Please see https://jb.gg/ij-psoc");
}
return result;
}