开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜