I guess I worded my question wrong. Yes - I am using an anonymous class.
I was just curious if other people agreed with my observations? This has nothing to do with generics or other new features of jdk1.5.0, it is just a plain & simple anonymous class compilation.
This is my observation about anonymous class compilation with jdk1.5.0 beta - >> ///////////////////////
This is the naming convention for compiled anonymous classes with jdk1.4.2: className.java className.class className$1.class
This is the naming convention for compiled anonymous classes WITH jdk1.5.0 beta: className.java className.class className+1.class
do other people agree with this?
thanks, Keith [ May 31, 2004: Message edited by: Keith Thompson ]
Nick George
Ranch Hand
Joined: Apr 04, 2004
Posts: 815
posted
0
As long as we're on the topic of naming conventions, shouldn't it be ClassName.class?
I've heard it takes forever to grow a woman from the ground
Jeroen Wenting
Ranch Hand
Joined: Oct 12, 2000
Posts: 5093
posted
0
yes, the $ in the filenames for inner classes (or maybe just for anonymous ones) as generated by J2SDK 1.5.0 has been changed into a + from the filenames generated by earlier versions.
42
Keith Thompson
Greenhorn
Joined: May 11, 2004
Posts: 22
posted
0
thanks!
Do you know of any documentation for this? I looked all over but I could not find anything.
thanks! Keith
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Is compiling anonymous classes in jdk1.5.0 beta different?