-
Enhancement
-
Resolution: Duplicate
-
P3
-
None
-
None
javax.tool.ToolProvider has static methods to get system javac and javadoc. It'd be very useful to provide a static method to find a system tool of a given name (e.g. javap, xjc, etc) if the provider matching the given name can be found.
javax.tool.Tool interface probably would need to provide a way to specify the name of the provider.
Most JDK tools do not provide supported APIs to launch the tool programmatically. Existing application may choose to call the internal API directly to avoid launching the tool in a separate process. A unified way would be preferred to individual tool defining its own supported API.
javax.tool.Tool interface probably would need to provide a way to specify the name of the provider.
Most JDK tools do not provide supported APIs to launch the tool programmatically. Existing application may choose to call the internal API directly to avoid launching the tool in a separate process. A unified way would be preferred to individual tool defining its own supported API.
- duplicates
-
JDK-8159855 Create an SPI for tools
- Closed
- relates to
-
JDK-6574602 provide a way to run RMI tools via javax.tools.Tool common interface
- Open
-
JDK-6493691 javap should have a javax.tools.Tool service provider installed in tools.jar
- Closed
-
JDK-8132554 Re-examine supportedness com.sun.tools.jxc and com.sun.tools.xjc APIs
- Closed