-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classloader layering strategy failing with protobuf-v3 #745
Comments
So after the merge of #746 into the
where I believe this may be due to the jdk9 classes issue which was referenced in comments. |
So I just did some bisecting and I can confirm that the issue is not with the latest sbt-osgi jar fix (i.e. sbt/sbt-osgi#81). To confirm this I checked out revision I then ran the pekko-http nightly tests against the locally deployed pekko with that sbt-osgi 0.9.4 patch version and the tests passed. Due to this, I think the core reason behind the regression is that https://github.com/apache/incubator-pekko/blob/69cc4eaa3f4bdef2665406b88e831aeb12f553b6/project/plugins.sbt#L16 was never fixed, so I will try looking into that as the next step. @raboof |
Would a sbt-osgi 0.9.4.1 release make sense? The only change would be backporting the recent jar tool PR. |
I think that sbt-assembly update may be the root cause, ill do a little more digging |
@pjfanning So I can def confirm that there was a regression in sbt osgi from 0.9.4 to 0.9.5. I just tested it with 0.9.5 + corrupted jar patch fix and it fails where as 0.9.4 + corrupted jar patch fix works without issues. I will make an issue on sbt-osgi to see if we can make a release of 0.9.4 with the corrupted jar patch so that it at least unblocks pekko and hence give us some breathing room to find the reason behind the regression |
Upstream issue created at sbt/sbt-osgi#93 |
So #742 did happen to fix the osgi corrupted jar issue however now with the jar being successfully loaded there appears to be another unrelated bug that is due to how the classes are laid out in the jar, i.e.
Which is an exert from https://github.com/apache/incubator-pekko-http/actions/runs/6555330770/job/17803594748 .
Ininitial suspicions that this may be due to sbt-assembler but more work is needed to isolate. I will backport #742 onto the 1.0.x branch to confirm the theory that its no longer related to osgi.
@pjfanning @jrudolph @raboof
The text was updated successfully, but these errors were encountered: