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

Quarkus extension uses right class loader in DEVELOPMENT and TEST launch modes #3953

Open
1 task
tasso94 opened this issue Nov 16, 2023 · 0 comments
Open
1 task
Labels
type:feature Issues that add a new user feature to the project.

Comments

@tasso94
Copy link
Member

tasso94 commented Nov 16, 2023

User Story (Required on creation)

As a user, I can run tests and work in the development mode with my java delegates correctly picked up.

Context

  • In launch modes DEVELOPMENT and TEST, Quarkus uses the wrong class loader when executing processes synchronously and asynchronously.
    • Two class loaders, the Base Runtime and Runtime, are available to allow the hot reloading of resources 1.
  • We currently have two workarounds for the Job Executor context switch 2 and the default class loader 3 set in the process engine configuration. In both situations, the Quarkus Base Runtime instead of the Runtime class loader is used.

Functional Requirements (Required before implementation)

Quarkus extension uses the right class loader in DEVELOPMENT and TEST launch modes.

Technical Requirements (Required before implementation)

Limitations of Scope

Hints

Links

Breakdown

Pull Requests

No tasks being tracked yet.

Dev2QA handover

  • Does this ticket need a QA test and the testing goals are not clear from the description? Add a Dev2QA handover comment

Footnotes

  1. https://quarkus.io/guides/class-loading-reference#classloader-implementations

  2. https://jira.camunda.com/browse/SUPPORT-19133?focusedCommentId=314653&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-314653

  3. https://jira.camunda.com/browse/SUPPORT-17679?focusedCommentId=295262&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-295262

@tasso94 tasso94 added the type:feature Issues that add a new user feature to the project. label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Issues that add a new user feature to the project.
Projects
None yet
Development

No branches or pull requests

1 participant