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

Use of Unix security module breaks build on Windows #2260

Closed
chrisseaton opened this issue Dec 2, 2014 · 2 comments · Fixed by #2288
Closed

Use of Unix security module breaks build on Windows #2260

chrisseaton opened this issue Dec 2, 2014 · 2 comments · Fixed by #2288

Comments

@chrisseaton
Copy link
Contributor

Commit be98526 breaks the build on Windows, as I think com.sun.security.auth.module.UnixSystem is not available.

RubyProcess.java:[579,61] error: cannot find symbol

Solution is to use reflection to load the class.

Already discussed with @cheald - opening issue to track.

@chrisseaton chrisseaton added this to the JRuby 9.0.0.0 milestone Dec 2, 2014
@enebo
Copy link
Member

enebo commented Dec 8, 2014

I think this should be moved into jnr-posix as the pure-Java version. Then we can remove any need for reflective soln from that library (which already calculates platform-specific info).

@enebo
Copy link
Member

enebo commented Dec 23, 2014

I still think we should move this to jnr-posix, but for now it makes sense to allow JRuby to compile on Windows again :)

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

Successfully merging a pull request may close this issue.

3 participants