Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Remove package import of sun.security.x509 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

msohn
Copy link
Contributor

@msohn msohn commented May 23, 2023

This package is only imported in a test [1] which isn't part of the Orbit bundle we create. The java.base module doesn't export this internal package [2] which can't be used anymore on Java 17 or higher due to the stronger encapsulation of Java internals introduced with JEP 403 [3].

[1] https://github.com/str4d/ed25519-java/blob/7c26a6312c2d2e887210930698706103e0f2da7d/test/net/i2p/crypto/eddsa/EdDSAEngineTest.java#L34
[2] https://github.com/openjdk/jdk17/blob/master/src/java.base/share/classes/module-info.java#L345
[3] https://openjdk.org/jeps/403

This package is only imported in a test [1] which isn't part of the
Orbit bundle we create. The java.base module doesn't export this
internal package [2] which can't be used anymore on Java 17 or higher
due to the stronger encapsulation of Java internals introduced with
JEP 403 [3].

[1] https://github.com/str4d/ed25519-java/blob/7c26a6312c2d2e887210930698706103e0f2da7d/test/net/i2p/crypto/eddsa/EdDSAEngineTest.java#L34
[2] https://github.com/openjdk/jdk17/blob/master/src/java.base/share/classes/module-info.java#L345
[3] https://openjdk.org/jeps/403
@merks
Copy link
Contributor

merks commented May 23, 2023

I asked Fred and he said "they can open a helpdesk issue. most likely this is the known issue for projects that are still on the eclipse GitHub org and sharing github action minutes with several other projects." I know Orbit is waiting the eclipse-orbit organization to be available...

@msohn
Copy link
Contributor Author

msohn commented May 23, 2023

Why did we move away from Jiro to Github actions in a Github organization where we compete for limited action minutes with many other projects ?

@msohn
Copy link
Contributor Author

msohn commented May 23, 2023

Actually a PR fixing this issue upstream was approved in 2019:
str4d/ed25519-java#78
but there is no release including this change.

It seems this project was abandoned in favour of
https://github.com/cryptography-cafe/ed25519-elisabeth
see str4d/ed25519-java#71

JEP 339 added a ed25519 implementation to Java 15, see https://openjdk.org/jeps/339

@jonahgraham
Copy link
Contributor

Why did we move away from Jiro to Github actions in a Github organization where we compete for limited action minutes with many other projects ?

Its not that we moved away - its just no one has invested in the Jiro for Orbit since we moved to GitHub (and the GHA was trivial to add) - contributions welcome :-)

@merks
Copy link
Contributor

merks commented May 24, 2023

If someone nominates me as a committer, I can help with such things as a multi-branch pipeline...

@akurtakov
Copy link
Contributor

If someone nominates me as a committer, I can help with such things as a multi-branch pipeline...

https://projects.eclipse.org/projects/tools.orbit/elections/election-ed-merks-committer-eclipse-orbit-project

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants