Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Given the schema
@namespace("fasdf") protocol foo { enum Domain { COM, ORG, BIZ, MIL } record Wat { Domain domain = "COM"; string foo = "asfdasdf"; } }
The resulting Wat Java class does not use the defined default values:
@Test public void asdfasdf() throws Exception { fasdf.Wat x = new Wat(); System.out.print(x); }
This test results in:
{"domain": null, "foo": null}