8054474: Add --state-dir=bar to sjavac
Summary: Add --state-dir=bar to sjavac to control where sjavac stores the javac_state file.
Reviewed-by: jjg, alundblad
^build/
^dist/
/nbproject/private/
^src/share/tools/hsdis/build/
^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/
^src/share/tools/IdealGraphVisualizer/build/
^src/share/tools/IdealGraphVisualizer/dist/
^.hgtip
.DS_Store