-
Notifications
You must be signed in to change notification settings - Fork 227
Pass -Djava.security.manager=allow in kt_rules_test #1132
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
Pass -Djava.security.manager=allow in kt_rules_test #1132
Conversation
b2362bf
to
7685267
Compare
I tried this:
There is some more subtlety here, haven't had a chance to dig in. |
@restingbull we can also pass this at the bazelrc level which I believe solves the issue, at least locally. |
Not as far as I can tell? The flag doesn't seem to do what we want it to in the later jvm versions -- that message is from the buildkite pass on this pr. The problem is that e.g. this fails on 11, but passes on 18+. Until such time as it doesn't exist. This is why I moved us to junit5, Nevermind, figured it out. Have a patch momentarily. |
7685267
to
bfcee75
Compare
bfcee75
to
d450c35
Compare
👍 |
* Pass -Djava.security.manager=allow in kt_rules_test * Add java.security.manager=allow when java 18 or higher * debug statement * Use runtime toolchain * Use the java runtime toolchain to determine when to add the flag --------- Co-authored-by: Corbin McNeely-Smith <[email protected]>
* Pass -Djava.security.manager=allow in kt_rules_test * Add java.security.manager=allow when java 18 or higher * debug statement * Use runtime toolchain * Use the java runtime toolchain to determine when to add the flag --------- Co-authored-by: Corbin McNeely-Smith <[email protected]>
* Pass -Djava.security.manager=allow in kt_rules_test * Add java.security.manager=allow when java 18 or higher * debug statement * Use runtime toolchain * Use the java runtime toolchain to determine when to add the flag --------- Co-authored-by: Corbin McNeely-Smith <[email protected]>
* Pass -Djava.security.manager=allow in kt_rules_test * Add java.security.manager=allow when java 18 or higher * debug statement * Use runtime toolchain * Use the java runtime toolchain to determine when to add the flag --------- Co-authored-by: Corbin McNeely-Smith <[email protected]>
* Pass -Djava.security.manager=allow in kt_rules_test * Add java.security.manager=allow when java 18 or higher * debug statement * Use runtime toolchain * Use the java runtime toolchain to determine when to add the flag --------- Co-authored-by: Corbin McNeely-Smith <[email protected]>
* Pass -Djava.security.manager=allow in kt_rules_test * Add java.security.manager=allow when java 18 or higher * debug statement * Use runtime toolchain * Use the java runtime toolchain to determine when to add the flag --------- Co-authored-by: Corbin McNeely-Smith <[email protected]>
#1129