Skip to content

Commit

Permalink
Use the same parent CL for both test and dev
Browse files Browse the repository at this point in the history
The isolated test CL does not need to access anything from the dev CL,
and it just causes leakage problems.

Fixes quarkusio#19888
  • Loading branch information
stuartwdouglas committed Sep 3, 2021
1 parent 5a9b3cc commit 9cc2bf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void init() {
.setAssertionsEnabled(true)
.setDisableClasspathCache(false)
.setIsolateDeployment(true)
.setBaseClassLoader(getClass().getClassLoader())
.setBaseClassLoader(getClass().getClassLoader().getParent())
.setTest(true)
.setAuxiliaryApplication(true)
.setHostApplicationIsTestOnly(devModeType == DevModeType.TEST_ONLY)
Expand Down

0 comments on commit 9cc2bf2

Please sign in to comment.