Skip to content
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

OctetString has private constructor in Java bindings #370

Open
kevinherron opened this issue Sep 2, 2024 · 4 comments
Open

OctetString has private constructor in Java bindings #370

kevinherron opened this issue Sep 2, 2024 · 4 comments

Comments

@kevinherron
Copy link

Unlike the other point types, OctetString has a private constructor and no factory methods, which leaves me unable to instantiate one in my application/test code.

@kevinherron kevinherron changed the title OctetString has private constructor OctetString has private constructor in Java bindings Sep 2, 2024
@jadamcrain
Copy link
Member

Easy fix to make that constructor public. Is this blocking you?

@kevinherron
Copy link
Author

Not meaningfully, it only came up trying to write a unit test.

@kevinherron
Copy link
Author

It does make me wonder, though - is it currently possible to write to an OctetString point using the Java bindings?

@jadamcrain
Copy link
Member

There are no methods on MasterChannel that would allow you to do that currently. Would be an easy feature to add if you want it in the next release.

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

2 participants