< prev index next >

src/java.base/share/classes/jdk/internal/module/Builder.java

Print this page

        

*** 143,155 **** Set<String> packages; Set<String> uses; Set<Provides> provides; Version version; String mainClass; - String osName; - String osArch; - String osVersion; Builder(String name) { this.name = name; this.requires = Collections.emptySet(); this.exports = Collections.emptySet(); --- 143,152 ----
*** 246,279 **** mainClass = mc; return this; } /** - * 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<ModuleDescriptor.Modifier> modifiers() { int n = 0; if (open) n++; --- 243,252 ----
*** 303,313 **** opens, uses, provides, packages, mainClass, - osName, - osArch, - osVersion, hashCode); } } --- 276,283 ----
< prev index next >