< prev index next >
jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JmodArchive.java
Print this page
*** 126,141 ****
private EntryType toEntryType(JmodFile.Section section) {
switch (section) {
case CLASSES:
return EntryType.CLASS_OR_RESOURCE;
case NATIVE_LIBS:
return EntryType.NATIVE_LIB;
case NATIVE_CMDS:
return EntryType.NATIVE_CMD;
! case CONFIG:
! return EntryType.CONFIG;
default:
throw new InternalError("unexpected entry: " + section);
}
}
--- 126,145 ----
private EntryType toEntryType(JmodFile.Section section) {
switch (section) {
case CLASSES:
return EntryType.CLASS_OR_RESOURCE;
+ case CONFIG:
+ return EntryType.CONFIG;
case NATIVE_LIBS:
return EntryType.NATIVE_LIB;
case NATIVE_CMDS:
return EntryType.NATIVE_CMD;
! case HEADER_FILES:
! return EntryType.HEADER_FILE;
! case MAN_PAGES:
! return EntryType.MAN_PAGE;
default:
throw new InternalError("unexpected entry: " + section);
}
}
< prev index next >