--- old/src/java.base/share/classes/jdk/internal/module/Builder.java 2017-03-21 13:44:06.517661212 +0000 +++ new/src/java.base/share/classes/jdk/internal/module/Builder.java 2017-03-21 13:44:06.320647693 +0000 @@ -145,9 +145,6 @@ Set provides; Version version; String mainClass; - String osName; - String osArch; - String osVersion; Builder(String name) { this.name = name; @@ -248,30 +245,6 @@ } /** - * Sets the OS name. - */ - public Builder osName(String name) { - this.osName = name; - return this; - } - - /** - * Sets the OS arch. - */ - public Builder osArch(String arch) { - this.osArch = arch; - return this; - } - - /** - * Sets the OS version. - */ - public Builder osVersion(String version) { - this.osVersion = version; - return this; - } - - /** * Returns an immutable set of the module modifiers derived from the flags. */ private Set modifiers() { @@ -305,9 +278,6 @@ provides, packages, mainClass, - osName, - osArch, - osVersion, hashCode); } }