OWASP / OWASP/owasp-java-encoder

Add consumer compatibility CI across supported JDKs and all published JARs

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

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

enhancement
主要言語
Java
スター
543
フォーク
122
平均マージ
9時間 9分
マージ済み PR(30日)
1

説明

Follow-up to #90 (reviewed at 31588e1). This tracks work intentionally kept separate from the modernization PR.

Why

The checked-in CI builds and tests on JDK 17 only. #90 adds packaged-core OSGi R6 and module-discovery tests, but equivalent coverage for all four artifacts and actual Java 8 runtime compatibility remains incomplete.

The review checked core consumer execution on JDK 11/17/21/25 and Java 8 class-file versions; it did not execute on Java 8. Past issues #79 and #81 demonstrate why compilation and ordinary unit tests alone are insufficient.

Acceptance criteria

  • Build artifacts with the supported build JDK, then run separate consumer tests on the supported runtime matrix, including an actual Java 8 runtime. Do not attempt to run the modern build toolchain or incompatible test-app dependencies on Java 8.
  • Document runtime support per artifact and use appropriate servlet/JSP/ESAPI dependency versions in each fixture.
  • Exercise classpath, explicit JPMS, automatic-module fallback, and legacy/current OSGi consumption where applicable; include real encoding/tag/adapter calls.
  • Add artifact-level assertions for all four JARs: automatic module names, explicit descriptors, OSGi identities/imports/exports, multi-release layout, bytecode/API baseline, TLD resources, and absence of test dependencies in published runtime contents.
  • Keep consumers isolated from reactor test classpaths so missing packaged classes or dependencies cannot be masked.
  • Keep the Docker/Selenium test app on its own compatible JDK/container job and keep failure diagnostics available.
  • Coordinate adapter module-path tests with the separate JPMS-readability fix; document known limitations rather than presenting descriptor discovery as successful adapter execution.

Preserve the intentionally different published automatic and explicit module names documented in #90.

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

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

はじめの一歩

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

調査の方向性

まず issue #90 を読み、commit 31588e1 を確認してから、チェックイン済みの CI と既存のパッケージ化された consumer のカバレッジを調べます。公開されている 4 つの JAR を、サポート対象の JDK ランタイムマトリクス、Docker/Selenium テストアプリ、および一覧にある classpath、JPMS、OSGi、バイトコード、リソース、依存関係の各チェックに対応付けます。分離された consumer job で受け入れ基準をカバーし、既知の adapter の制限事項を文書化できれば完了です。

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

評価

技術スタック
java
領域
build-system, ci-cd, testing-qa
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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