由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - A very Stupid Question
相关主题
Re: [转载] Questions on failover & Hot depjava深度历险 阅读笔记 zt
Help!: tomcat classloading problem[转载] servlet调用sql 访问oracle的问题
Re: Help!: tomcat classloading problem请问protected的使用
stupid question请指教问个问题啊. JDK/JRE
Java中如何动态生成对象[合集] How to get all classes under a package?
如何获得类定义的public methods?如何让servlet调用的一些class reload/reinitiate?
get full class nameOutofMemoryError: Java Heap Space
com.sun.tools.javac.Main 问题问个java logger的问题
相关话题的讨论汇总
话题: stupid话题: newloader话题: question话题: reference
进入Java版参与讨论
1 (共1页)
p***p
发帖数: 559
1
ClassLoader oldParentClassLoader = this.parentClassLoader;
this.parentClassLoader = newLoader
is it a Reference Copy?
So ?this.parentClassLoader=oldParentClassLoader=newLoader?
I know it sounds quite stupid, but ....
g*****g
发帖数: 34805
2
parent = new , but old!=parent unless old = new

【在 p***p 的大作中提到】
: ClassLoader oldParentClassLoader = this.parentClassLoader;
: this.parentClassLoader = newLoader
: is it a Reference Copy?
: So ?this.parentClassLoader=oldParentClassLoader=newLoader?
: I know it sounds quite stupid, but ....

m******t
发帖数: 2416
3

and this was supposed to clear it up for him vs. confuse him more?
just kidding...

【在 g*****g 的大作中提到】
: parent = new , but old!=parent unless old = new
p***p
发帖数: 559
4

I thought old reference to new, if new reference to parent, so old too
I know it sounds stupid......

【在 g*****g 的大作中提到】
: parent = new , but old!=parent unless old = new
g*****g
发帖数: 34805
5
It's like a = b and b = c.

【在 p***p 的大作中提到】
:
: I thought old reference to new, if new reference to parent, so old too
: I know it sounds stupid......

1 (共1页)
进入Java版参与讨论
相关主题
问个java logger的问题Java中如何动态生成对象
请教一个有关 inner class 的问题如何获得类定义的public methods?
dependency version collision problemget full class name
Conditional import in Javacom.sun.tools.javac.Main 问题
Re: [转载] Questions on failover & Hot depjava深度历险 阅读笔记 zt
Help!: tomcat classloading problem[转载] servlet调用sql 访问oracle的问题
Re: Help!: tomcat classloading problem请问protected的使用
stupid question请指教问个问题啊. JDK/JRE
相关话题的讨论汇总
话题: stupid话题: newloader话题: question话题: reference