googleapis / googleapis/google-cloud-java

[sdk-platform-java] Some downstream native configs initialize JUnit classes at build time in production

オープン
#12,388 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p3 type: bug
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

From https://github.com/googleapis/sdk-platform-java/pull/3674

Some libraries mark JUnit classes for initialization at build time in its _production_ native properties file.

For example: https://github.com/googleapis/java-spanner-jdbc/blob/fa65ead20018c083749bb1bd1cc1993f48745ef9/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-spanner-jdbc/native-image.properties#L15

I tried moving it to a test-only config file (`src/test/resources...`) but the image creation would fail asking to specify the JUnit classes to be initialized at runtime.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。