< prev index next >
jdk/src/java.base/share/classes/jdk/internal/jmod/JmodFile.java
Print this page
*** 69,79 ****
*/
public static enum Section {
NATIVE_LIBS("native"),
NATIVE_CMDS("bin"),
CLASSES("classes"),
! CONFIG("conf");
private final String jmodDir;
private Section(String jmodDir) {
this.jmodDir = jmodDir;
}
--- 69,81 ----
*/
public static enum Section {
NATIVE_LIBS("native"),
NATIVE_CMDS("bin"),
CLASSES("classes"),
! CONFIG("conf"),
! HEADER_FILES("include"),
! MAN_PAGES("man");
private final String jmodDir;
private Section(String jmodDir) {
this.jmodDir = jmodDir;
}
*** 149,158 ****
--- 151,164 ----
return Section.NATIVE_CMDS;
case "classes":
return Section.CLASSES;
case "conf":
return Section.CONFIG;
+ case "include":
+ return Section.HEADER_FILES;
+ case "man":
+ return Section.MAN_PAGES;
default:
throw new IllegalArgumentException("invalid section: " + s);
}
}
}
< prev index next >