中国开发网: 论坛: 程序员情感CBD: 贴子 201276
furnace
明白了,但是也没有办法去掉这个警告信息。
一个ejb 组件。。里面有个属性。是这样的。

public class LoggingBean implemnts SessionBean
{
。。。。
private transient Logger logger;
}
因为类 Logger不是可序列化的类,所以不得不加上transient属性,如果去掉,有可能有runtime exception.

不管了,就留下这个warning吧。。
I don't mind if you r FAT.
I don't mind if you r UGLY.
I don't mind if you ACT CUTE.
But I can't STAND if you r FAT, UGLY and still ACT CUTE.

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录