Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what are "myclass$1.class".. ?

 
glen li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
After running my application, there are a lot of these type of files generated in the same directory of the application: myclass$1.class, myclass$2.class, etc. Anyone had the same experience before? pls tell me what they are and how to deal with it? Thanks!

glen
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They are your anonymous inner classes. Deal with them as if you wrote them yourself - because you did

- Peter
 
glen li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply!
I didn't write any inner class though.

glen
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Glen,

You can believe Peter (as anything he can write BTW ): anonymous ones or not, you did write inner classes, given your question.

Regards,

Phil.

PS: As you posted the same message twice, I just deleted the other one as it got no reply yet).
[ August 26, 2004: Message edited by: Philippe Maquet ]
 
glen li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry peter, there are some inner classes when I use some GUI components. You are right. Thanks!

glen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic