src/jdk.jpackage/share/classes/jdk/jpackage/internal/Platform.java
branchJDK-8200758-branch
changeset 58647 2c43b89b1679
parent 58416 f09bf58c1f17
equal deleted inserted replaced
58608:a561014c28d0 58647:2c43b89b1679
   112     }
   112     }
   113 
   113 
   114     static boolean isLinux() {
   114     static boolean isLinux() {
   115         return getPlatform() == LINUX;
   115         return getPlatform() == LINUX;
   116     }
   116     }
       
   117 
       
   118     static RuntimeException throwUnknownPlatformError() {
       
   119         throw new IllegalArgumentException("Unknown platform");
       
   120     }
   117 }
   121 }