Skip to content

Bundle the official BCEL, regexp, and CUP runtime classes - #5

Merged
martinhickson merged 1 commit into
xalan-j_2_7_1_maintfrom
fix/bundled
Nov 10, 2026
Merged

martinhickson merged 1 commit into
xalan-j_2_7_1_maintfrom
fix/bundled

Conversation

@martinhickson

Copy link
Copy Markdown
Owner

Summary

  • Unpack org.apache.bcel:bcel:6.7.0 into the xalan jar. That Maven jar is byte-identical to lib/bcel-6.7.0.jar and to the 441 BCEL classes in Maven Central xalan:xalan:2.7.3.
  • Unpack lib/regexp.jar and lib/runtime.jar as well. Central regexp:regexp:1.3 and the Princeton CUP 10k runtime are not byte-identical to the copies official 2.7.3 bundles.
  • Serializer classes stay out. The only Xalan class that still differs from official 2.7.3 is XMLReaderManager.

Test plan

  • mvn -pl xalan -am package -DskipTests with BellSoft JDK 8
  • 441 BCEL + 16 regexp + 4 java_cup.runtime classes, plus the two BCEL Maven metadata files, match Central xalan:xalan:2.7.3
  • 0 serializer classes in the xalan jar
  • 0 extra classes versus Central, and the only differing Xalan class is XMLReaderManager

… the xalan jar.

Official 2.7.3 ships those classes inside xalan, and the Maven BCEL jar matches the official bytes.
@martinhickson
martinhickson merged commit 556a693 into xalan-j_2_7_1_maint Nov 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants