jw项目windows环境软件安装
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.1 KiB

1 year ago
  1. /*
  2. * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
  3. * or more contributor license agreements. Licensed under the Elastic License
  4. * 2.0 and the Server Side Public License, v 1; you may not use this file except
  5. * in compliance with, at your election, the Elastic License 2.0 or the Server
  6. * Side Public License, v 1.
  7. */
  8. grant codeBase "${codebase.netty-common}" {
  9. // for reading the system-wide configuration for the backlog of established sockets
  10. permission java.io.FilePermission "/proc/sys/net/core/somaxconn", "read";
  11. // netty makes and accepts socket connections
  12. permission java.net.SocketPermission "*", "accept,connect";
  13. // Netty sets custom classloader for some of its internal threads
  14. permission java.lang.RuntimePermission "setContextClassLoader";
  15. };
  16. grant codeBase "${codebase.netty-transport}" {
  17. // Netty NioEventLoop wants to change this, because of https://bugs.openjdk.java.net/browse/JDK-6427854
  18. // the bug says it only happened rarely, and that its fixed, but apparently it still happens rarely!
  19. permission java.util.PropertyPermission "sun.nio.ch.bugLevel", "write";
  20. };