... checking compilation type... native configure: error: The Windows 32-bit x86 port is deprecated and may be removed in a future release. Use --enable-deprecated-ports=yes to suppress this error. configure exiting with result code 1
$ bash ./configure --enable-deprecated-ports=yes ... checking compilation type... native configure: WARNING: The Windows 32-bit x86 port is deprecated and may be removed in a future release. ... Build performance summary: * Cores to use: 32 * Memory limit: 96601 MB
The following warnings were produced. Repeated here for convenience: WARNING: The Windows 32-bit x86 port is deprecated and may be removed in a future release.
WARNING: A {Java,JVM TI} agent has been loaded dynamically (file:/path/to/agent.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release
未来的 Java 版本将默认禁止加载动态代理,并且任何使用Attach API都会引发异常:
com.sun.tools.attach.AgentLoadException: Failed to load agent library: Dynamic agent loading is not enabled. Use -XX:+EnableDynamicAgentLoading to launch target VM.