Skip to content

Restore the debug package, working on Java 11 #142

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

Closed
dwijnand opened this issue Nov 8, 2018 · 12 comments
Closed

Restore the debug package, working on Java 11 #142

dwijnand opened this issue Nov 8, 2018 · 12 comments
Assignees
Milestone

Comments

@dwijnand
Copy link
Contributor

dwijnand commented Nov 8, 2018

In scala/community-build#796 (comment) Seth indicated that ssl-config was the big blocker for the scala community build on Java 11, which was being tracked at #98.

So I opened #138 and after being able to compile on Java 11 it turned out there was some code in the debug subpackage that relied on privileged reflection, that is actually enforced as of Java 11. As such ssl-config's tests didn't pass when run on Java 11.

In an attempt to keep moving I tried deleting the whole subpackage which seemed to pass the community build, but it actually turned out to fail on in play-ws, because those debug API are used (they're also used in the play repo proper, and potentially in more places).

The plan is to restore the package, but backed by @wsargent's https://github.com/tersesystems/debugjsse and https://github.com/tersesystems/ocapjsse#logging.

@wsargent could you take care of this, please?

@dwijnand
Copy link
Contributor Author

dwijnand commented Nov 8, 2018

There's nothing interesting on master since v0.3.7 so this isn't as urgent as I thought.

But it is a blocker for any future release, as we shouldn't push out an artifact without these binary APIs!

@dwijnand
Copy link
Contributor Author

dwijnand commented Nov 8, 2018

@wsargent
Copy link
Contributor

wsargent commented Nov 8, 2018

@dwijnand Will do!

@dwijnand

This comment has been minimized.

@dwijnand
Copy link
Contributor Author

Just wanted to mention that this is still on my mind.

Master is currently unreleasable because it breaks binary compatibility. We don't have any immediate need to release, but I don't want to risk forgetting.

If we can't resolve this using your libraries, Will, I think we might have to restore the previous classes and re-fork the repo for the Java 11 community build (cc @SethTisue).

@wsargent
Copy link
Contributor

@dwijnand Added work in progress -- am working on adding tests right now for keymanager/trustmanager but you can see how logging works with wrapper.

@dwijnand
Copy link
Contributor Author

Thanks, Will. I pushed a commit to ensure we restore all the binary APIs.

@wsargent
Copy link
Contributor

wsargent commented Dec 7, 2018

Addressed in #143 and playframework/playframework#8828

@SethTisue
Copy link
Contributor

can we close this out? can #143 be merged?

@dwijnand
Copy link
Contributor Author

dwijnand commented Apr 4, 2019

Fixed in #143.

@dwijnand dwijnand closed this as completed Apr 4, 2019
@wsargent
Copy link
Contributor

wsargent commented Apr 4, 2019

Should this be reopened?

@dwijnand
Copy link
Contributor Author

dwijnand commented Apr 4, 2019

For what reason?

The package was restored, and it works on Java 11: https://travis-ci.org/lightbend/ssl-config/builds/515764092

@raboof raboof added this to the 0.4.0 milestone Apr 30, 2019
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

No branches or pull requests

4 participants