modules/jdk.packager/src/main/java/com/oracle/tools/packager/Platform.java
Print this page
*** 42,53 ****
* case Platform.WINDOWS:
* case Platform.LINUX: {
* //TODO Do something else
* }
* }
*/
!
public enum Platform {UNKNOWN, WINDOWS, LINUX, MAC;
private static final Platform platform;
private static final int majorVersion;
private static final int minorVersion;
--- 42,55 ----
* case Platform.WINDOWS:
* case Platform.LINUX: {
* //TODO Do something else
* }
* }
+ *
+ * @deprecated use {@link ToolProvider} to locate the {@code "javapackager"} tool instead.
*/
! @Deprecated(since="10", forRemoval=true)
public enum Platform {UNKNOWN, WINDOWS, LINUX, MAC;
private static final Platform platform;
private static final int majorVersion;
private static final int minorVersion;