Skip to content

Commit

Permalink
Merge pull request #16258 from geoand/tiny-polish
Browse files Browse the repository at this point in the history
Apply tiny polish to StartupActionImpl
  • Loading branch information
gsmet authored Apr 8, 2021
2 parents 599979f + 39b3ba3 commit 26de587
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ public StartupActionImpl(CuratedApplication curatedApplication, BuildResult buil
//so we have some differences between dev and test mode here.
//test mode only has a single class loader, while dev uses a disposable runtime class loader
//that is discarded between restarts
Map<String, byte[]> resources = new HashMap<>();
resources.putAll(extractGeneratedResources(true));
Map<String, byte[]> resources = new HashMap<>(extractGeneratedResources(true));
if (curatedApplication.getQuarkusBootstrap().getMode() == QuarkusBootstrap.Mode.TEST) {
resources.putAll(extractGeneratedResources(false));
baseClassLoader.reset(resources, transformedClasses);
Expand Down

0 comments on commit 26de587

Please sign in to comment.