Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Guava 32.1.2: terminally deprecated method in sun.misc.Unsafe has been called

オープン 初心者向け
#4,525 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
docker, java
領域
build-system

調査の方向性

まず、Jib Maven plugin の Guava 依存関係の宣言を見つけ、3.5.2 build でそれがどのように呼び出されているかを調べます。Maven のコンテナ化 build を再現し、その後、互換性のある新しい Guava バージョンによって最後の deprecation 警告が、plugin を壊すことなく解消されることを確認します。

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

説明

priority: p3 type: feature request

When using the jib maven plugin 3.5.2, there's a (strong) warning about usage of a "terminally deprecated method".

164119 [INFO] --- jib:3.5.2:build (default-cli) @ app ---
164402 [WARNING] 'mainClass' configured in 'maven-jar-plugin' is not a valid Java class: ${start-class}
164450 [INFO] Running extension: com.google.cloud.tools.jib.maven.extension.springboot.JibSpringBootExtension
164450 [INFO] Running Jib Spring Boot extension
164453 [INFO]
164453 [INFO] Containerizing application to xxx...
164455 [WARNING] Base image 'xxx' does not use a specific image digest - build may not be reproducible
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/builds/bol/partner_iam/code/teamadvertisingaccountmanagement/services/sam/.m2/repository/com/google/guava/guava/32.1.2-jre/guava-32.1.2-jre.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release

In order to avoid future breakage, it would be great if the Guava dependency could be updated to a newer version.

主要言語
Java
スター
14.5k
フォーク
1.5k
平均マージ
40分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

GoogleContainerTools/jib のほかの issue

GoogleContainerTools/jib の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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