Re: [jchevm] class loader questions

2006-05-22 Thread Mikhail Fursov
May be this is synthetic field (inner-parent reference)? Check java asm for this test: public class Test { Object field; public class Inner { Inner() { field = null; } } } public class Test$Inner extends java.lang.Object{ Test$Inner(Test); Code: 0:

Re: [jchevm] class loader questions

2006-05-22 Thread Mikhail Fursov
Weldon, I confused this$ and class$ fields in your example. Here is another example where class$ method is generated and used: public class Test2 { public static void main(String[] args) { Class cls = Test2.class; } } and javap output is: public class Test2 extends

Re: [jchevm] class loader questions

2006-05-22 Thread Pavel Pervov
Method class$ is synthetic and is produced by the Java compiler for some class which references some class by the construct some class name.class in its method' code. For example, the code --- Class c1 = Object.class; --- will produce the following Java

[jchevm] class loader questions

2006-05-21 Thread Weldon Washburn
All, I am in the process of moving gnuclasspathadapter to a much new version of Harmony Class Library. I did an svn update two days ago. There is a problem in the early boot stage with the method class$ from the current version of java/lang/Character. I have looked at