testcontainers / testcontainers/testcontainers-java

warnings about illegal reflective access

オープン
#659 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

resolution/acknowledged
主要言語
Java
スター
8.7k
フォーク
1.9k
平均マージ
2日 17時間
マージ済み PR(30日)
9

説明

When running my tests with Oracle Java 10 I get warnings like this:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.testcontainers.shaded.io.netty.util.internal.ReflectionUtil (file:/home/capitol/.gradle/caches/modules-2/files-2.1/org.testcontainers/testcontainers/1.7.1/3a8d198f3b7cafa3c08d8edee7f4f370ccee1526/testcontainers-1.7.1.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of org.testcontainers.shaded.io.netty.util.internal.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず Oracle Java 10 で警告を再現し、レポートで示されている shaded Netty ReflectionUtil パスを調査します。Testcontainers 1.7.1 の依存関係と関連するテスト設定を確認します。illegal reflective-access 警告に対処できているか、サポートされる動作が明確に確立されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
testing
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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