testcontainers / testcontainers/testcontainers-java

[Bug]: Library source doesn't match bytecode

オープン
#8,281 コメント 1 件 リアクション 5 件 担当者 0 名 GitHub で見る

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

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

説明

Module

Core

Testcontainers version

1.19.4

Using the latest Testcontainers version?

Yes

What happened?

It looks like you are using Lombok in your source code. This is fine, however when you publish the source jar make sure that the actual generated code from lombok is inside this jar.

Currently when viewing the source code e.g. line numbers are distorted, imports are invalid and IntelliJ brings this warning:
grafik

We e.g. had major problems debugging why GenericContainer#startupAttempts was not 1 because according to the provided source code no setter is invoked ist not set anywhere:
grafik
but it is:
grafik

Additional Information

You may have a look at:

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

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

はじめの一歩

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

調査の方向性

まず、source-jar の公開設定と、issue でリンクされている Lombok delombok ガイドを調査します。GenericContainer#startupAttempts を例として使用し、公開されたソースが、説明されている生成コード、import、行番号、デバッガーの動作を反映していることを確認します。

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

評価

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

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

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