jakartaee / jakartaee/servlet

Manifest headers for export version is wrong

Open
#236 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Java
Stars
325
Forks
112
PR merge metrics
No merged PRs in 30d

Description

The manifest for the 4.0.2 version of the api jar has these export-package headers:

Export-Package: javax.servlet;uses:="javax.servlet.annotation,javax.se
rvlet.descriptor";version="4.0.0",javax.servlet.annotation;uses:="jav
ax.servlet";version="4.0.0",javax.servlet.descriptor;version="4.0.0",
javax.servlet.http;uses:="javax.servlet";version="4.0.0"

Surely that should be version 4.0.2? Otherwise it is impossible to create a bundle that depends on version 4.0.2 of the api.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the build metadata that produces the 4.0.2 API JAR and inspect its generated MANIFEST.MF Export-Package headers. Compare the package versions with the artifact version, then rebuild the JAR and verify that the manifest contains the intended export versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.