Menu

#2 Not able to get the class of a static object.

open
nobody
None
1
2012-09-07
2011-04-25
No

What steps will reproduce the problem?

  1. Make a static object
  2. call getClass on it
  3. Display to check the class name.

What is the expected output?
The concerned class.

What do you see instead?
ynot.lang.ClassWrapper

What version of the product are you using?
1.5-SNAPSHOT

On what operating system?
Ubuntu / WIndows XP

Please provide any additional information below.
import("com.springsource.roo.pizzashop.domain")
$pizzaClass := static("Pizza")
$pizzaClass.getClass()

Discussion


Log in to post a comment.

MongoDB Logo MongoDB