getJavaFileForOutput(…) method of custom JavaFileManager not called by compiler

与世无争的帅哥 提交于 2019-12-06 06:49:19

I'll answer my own question here.

I can't believe this went over my head but it turns out the Windows environment was using glassfish3 whereas the other environments were using glassfish4. Once I discovered this, I tested the project on windows using glassfish4 and I was able to replicate the same issue I experience on mac/linux.

While that vaguely answers my question, if I find out exactly why the above code does not work as expected in glassfish4, I will add an explanation here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!