Skip to content

Commit

Permalink
Filter out JavaxProviderBeanDefinition from native image reflection c…
Browse files Browse the repository at this point in the history
…onfig
  • Loading branch information
miguelaferreira committed Oct 23, 2021
1 parent 30e95ce commit 583edfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/merge-native-image-build-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ for config_dir in "${native_image_config_dir}"/*/*; do
done

eval "graalvm/bin/native-image-configure-${os}" generate "${input_dirs}" --output-dir="${output_dir}"

# remove reflection config for JavaxProviderBeanDefinition
sed -i '/\n.*\n/!N;/\n.*JavaxProviderBeanDefinition/{$d;N;d};P;D' src/main/resources/META-INF/native-image/reflect-config.json

0 comments on commit 583edfe

Please sign in to comment.