Skip to content

Commit

Permalink
Fix warning in native mode when using bootstrap config
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored and gsmet committed Jan 12, 2021
1 parent bf9d8cc commit 17f32f3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -453,14 +453,17 @@ public void run() {
final ConfigPatternMap<Container> runTimeIgnored = ConfigPatternMap
.merge(ConfigPatternMap.merge(buildTimePatternMap,
buildTimeRunTimePatternMap, combinator), bootstrapPatternMap, combinator);
final ConfigPatternMap<Container> bootstrapIgnored = ConfigPatternMap
.merge(ConfigPatternMap.merge(buildTimePatternMap,
buildTimeRunTimePatternMap, combinator), runTimePatternMap, combinator);

final MethodDescriptor siParserBody = generateParserBody(buildTimeRunTimePatternMap, buildTimeRunTimeIgnored,
new StringBuilder("siParseKey"), false, Type.BUILD_TIME);
final MethodDescriptor rtParserBody = generateParserBody(runTimePatternMap, runTimeIgnored,
new StringBuilder("rtParseKey"), false, Type.RUNTIME);
MethodDescriptor bsParserBody = null;
if (bootstrapConfigSetupNeeded()) {
bsParserBody = generateParserBody(bootstrapPatternMap, null,
bsParserBody = generateParserBody(bootstrapPatternMap, bootstrapIgnored,
new StringBuilder("bsParseKey"), false, Type.BOOTSTRAP);
}

Expand Down

0 comments on commit 17f32f3

Please sign in to comment.