由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Re: when do I need to recompile
相关主题
java StringCore J2EE Design Pattern
求教jbuilder的问题Spring 2.5 vs. EJB3.0
继续问土问题[提问] The JVM could not be started
One simple question!How to log some gc info?
Help: web service questions现在感觉到为什么大家说mongo有很多问题了
how to map one to many relation for a single table in hibe问一个弱问题,大虾帮忙
Re: cannot make JSSE work, faint!a question with BlueJ
笨问题续:TOMCATfinal static constants easy get cached?
相关话题的讨论汇总
话题: class1话题: recompile话题: rebuilt话题: refer话题: won
进入Java版参与讨论
1 (共1页)
m******t
发帖数: 2416
1

No, javac recursively checks dependency hierarchies. You can use -verbose
to see this.
One thing to be noted is whether a class is imported doesn't determine
if it's going to be rebuit along the way. It is the actual reference
actioins such as method calls that would trigger a rebuild. And if you
don't directly refer a class, it won't be rebuilt either. e.g.,
if you use Class.forName( "Class1" ), and that's the only point you would
refer to Class1, Class1.java won't be rebuilt even if it's
1 (共1页)
进入Java版参与讨论
相关主题
final static constants easy get cached?Help: web service questions
eclipse 问题how to map one to many relation for a single table in hibe
我为啥不能hotswap?Re: cannot make JSSE work, faint!
Google Web Toolkit 令人失望笨问题续:TOMCAT
java StringCore J2EE Design Pattern
求教jbuilder的问题Spring 2.5 vs. EJB3.0
继续问土问题[提问] The JVM could not be started
One simple question!How to log some gc info?
相关话题的讨论汇总
话题: class1话题: recompile话题: rebuilt话题: refer话题: won