-
Bug
-
Resolution: Fixed
-
P3
-
8, 9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8141997 | emb-9 | Aleksej Efimov | P3 | Resolved | Fixed | team |
JDK-8140877 | 8u91 | Aleksej Efimov | P3 | Resolved | Fixed | b01 |
JDK-8138645 | 8u72 | Aleksej Efimov | P3 | Resolved | Fixed | b05 |
JDK-8147204 | emb-8u91 | Aleksej Efimov | P3 | Resolved | Fixed | b01 |
Created a test-class which has syntax error, and provided as input to schemagen for xsd generation. The schemagen doesnt report any errors and simply exits.
import javax.xml.bind.annotation.XmlType;
@XmlType
public class TestClassType {
public int a;
compile-error;
}
command: schemagen TestClassType.java
When the input file has no errors the schema file gets generated.
import javax.xml.bind.annotation.XmlType;
@XmlType
public class TestClassType {
public int a;
compile-error;
}
command: schemagen TestClassType.java
When the input file has no errors the schema file gets generated.
- backported by
-
JDK-8138645 schemagen does not report errors while generating xsd files
- Resolved
-
JDK-8140877 schemagen does not report errors while generating xsd files
- Resolved
-
JDK-8141997 schemagen does not report errors while generating xsd files
- Resolved
-
JDK-8147204 schemagen does not report errors while generating xsd files
- Resolved