Skip to content

Commit

Permalink
Fix examples build breakage with SecurityManager usage in examples apps.
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Mar 18, 2024
1 parent 2282f2c commit 64dde7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/android_local_test/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Bazel's Java test runner uses SecurityManager, which was deprecated in 17. Set this flag until latest stable contains https://github.com/bazelbuild/bazel/commit/6783339e3fd21655b7fa3be2daedde4491ae0348.
test --test_arg=--jvm_flags=-Djava.security.manager=allow
2 changes: 2 additions & 0 deletions examples/kt_android_local_test/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Bazel's Java test runner uses SecurityManager, which was deprecated in 17. Set this flag until latest stable contains https://github.com/bazelbuild/bazel/commit/6783339e3fd21655b7fa3be2daedde4491ae0348.
test --test_arg=--jvm_flags=-Djava.security.manager=allow

0 comments on commit 64dde7f

Please sign in to comment.