JDK-8156086 : javax/xml/bind/xjc/8032884/XjcOptionalPropertyTest.java should not generate classes to src directory
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxb
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2016-05-05
  • Updated: 2016-05-19
  • Resolved: 2016-05-19
Related Reports
Duplicate :  
Description
In compile-schema.sh, its "-d" point to TESTSRC. 
$TESTJAVA/bin/xjc -p generated -d ${TESTSRC} ${TESTSRC}/optional-property-schema.xsd

In my opinion,it is not good to output to src location. "Working directory" should be used here.