Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classes that may be loaded into the host service in the plugin #1352

Closed
luanwenfei-venus opened this issue Nov 1, 2023 · 0 comments
Closed
Assignees
Labels
area/framework Issues or PRs releated to sermant core service kind/bug Something isn't working
Milestone

Comments

@luanwenfei-venus
Copy link
Collaborator

luanwenfei-venus commented Nov 1, 2023

What happened?

When Sermant's public lib does not have the right third-party dependency, the class of the host service may be loaded in the plug-in's class loader.

How can we reproduce it (as minimally and precisely as possible)?

Introduce a third-party dependency into the plug-in, which is also available in the host service. At this time, the dependency of the host service will be loaded into the plug-in.

Anything else we need to know?

No response

Sermant version

1.2.0

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
@luanwenfei-venus luanwenfei-venus added kind/bug Something isn't working area/framework Issues or PRs releated to sermant core service labels Nov 1, 2023
@luanwenfei-venus luanwenfei-venus added this to the v1.3.0 milestone Nov 1, 2023
@luanwenfei-venus luanwenfei-venus self-assigned this Nov 1, 2023
@kkf1 kkf1 changed the title 插件中可能会加载到宿主服务的类 Classes that may be loaded into the host service in the plugin Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/framework Issues or PRs releated to sermant core service kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant