Sun javac doesn't compile generated sources, while OpenJDK one does?
I am using JPA entities, and hibernate-jpamodelgen to generate sources for classes like EntityName_.java
.
Strange thing is, when I run javac from Sun JDK (1.6.0_24) sources for EntityName_
are created, but not compiled.
When I run OpenJDK one (1.6.0_22), it is generated and al开发者_如何转开发so compiled. I can find EntityName_.class
files in output directory.
Why the difference? And can I somehow force Sun javac to not only generate source, but also compile all the generated files?
精彩评论