Skip to content

Conversation

@WojciechMazur
Copy link
Contributor

@WojciechMazur WojciechMazur commented Jan 16, 2026

Tries to fix #24994 by manipulating bytecode when coping from Scala 2 stdlib-library.jar

Replaces #24996 and builds upon it checks. Initially 90 conflcits were found (se report [missingLink.report.md](https://github.com/user-attachments/files/24674742/missingLink.report.md or this CI job)

We explicitlly list every manipulation so it's easier to track, as I'm writing these words there are 3 remaining conflicts to related to synthesised members

Details
[error] Category: FIELD NOT FOUND
[error]   In artifact: classes
[error]     In class: scala.collection.Iterator$$anon$3$$anon$4
[error]       In method:  next():406
[error]       Access to: scala.collection.Iterator$$anon$3.z$1
[error]       Problem: Field not found: z$1
[error]       Found in: classes
[error]       --------
[error]     In class: scala.collection.Iterator$$anon$3$$anon$4$$anon$5
[error]       In method:  <init>(scala.collection.Iterator$$anon$3$$anon$4):398
[error]       Access to: scala.collection.Iterator$$anon$3.z$1
[error]       Problem: Field not found: z$1
[error]       Found in: classes
[error]       --------
[error]       In method:  next():400
[error]       Access to: scala.collection.Iterator$$anon$3.op$1
[error]       Problem: Field not found: op$1
[error]       Found in: classes
[error]       --------
[error] There were 3 conflicts

@WojciechMazur
Copy link
Contributor Author

Initial idea seems to be quickly broken by IllegallAccessExceptions, so most likely another solution should be tried

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.

Iterator bytecode field name is wrong in Scala 3.8.0 library

1 participant