issue-6070 Ignore empty lines in jaxb.index file

This commit is contained in:
Jaikiran Pai
2019-12-11 18:38:51 +05:30
committed by Guillaume Smet
parent 28df7d71bf
commit 415da0f570

View File

@@ -218,8 +218,9 @@ class JaxbProcessor {
addResource(path);
for (String line : Files.readAllLines(p)) {
if (!line.startsWith("#")) {
String clazz = pkg + line.trim();
line = line.trim();
if (!line.isEmpty() && !line.startsWith("#")) {
String clazz = pkg + line;
Class<?> cl = Class.forName(clazz);
while (cl != Object.class) {