Repository navigation
Conversation
Jasper and its EL implementation have to come from the same Tomcat release: Jasper 9.0.124 calls JreCompat.strip(), which older EL bundles lack. Since mortbay-apache-jsp accepts any 9.x org.apache.el, a p2 update could upgrade Jasper while keeping an old EL bundle (e.g. the renamed org.mortbay.jasper.apache-el 9.0.102), which breaks every JSP page with NoSuchMethodError. Import both packages with a 9.0.124 lower bound so p2 has to bring in a matching EL bundle. Assisted-by: Anthropic Claude Code (claude-opus-5-5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While investigating eclipse-platform/eclipse.platform.swt#3951, I found that an install updated to the latest I-build fails to serve any help page:
This only happens after an upgrade. A fresh I-build is fine. The updated install ends up with
org.mortbay.jasper.mortbay-apache-jsp9.0.124 next to the oldorg.mortbay.jasper.apache-el9.0.102. The old EL bundle predates the rename tomortbay-apache-el, and p2 never replaces it. Jasper 9.0.124 callsJreCompat.strip(), which older EL versions don't have. Jasper and EL have to come from the same Tomcat release, but mortbay-apache-jsp importsorg.apache.el.utilwith[9.0,10). The stale EL bundle still satisfies that range, so p2 keeps it, and Jasper gets wired to it.org.eclipse.help.webappis the bundle whose JSPs are compiled. It now importsorg.apache.elandorg.apache.jasper.servletwith a 9.0.124 lower bound. The old EL bundle no longer satisfies these imports, so p2 has to install a matchingmortbay-apache-elduring the update.