ruby Struct classes and instances are not properly reified
----------------------------------------------------------

                 Key: JRUBY-5966
                 URL: https://jira.codehaus.org/browse/JRUBY-5966
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules, Java Integration, Miscellaneous
    Affects Versions: JRuby 1.6.3
         Environment: JRuby 1.6.3 binary distribution as installed via RVM 
(local, not system) on Mac OS 10.7 Lion. Output of `java -version`:

    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)

            Reporter: Travis Tilley
            Priority: Minor


Classes created via Struct, as well as any subclasses, are not properly reified 
when jruby.reify.classes is enabled. All structs appear as RubyStruct, making 
it difficult to drill down to a specific type of struct in visualvm for example.

Douglas Campos (qmx) gisted the following, which may be helpful here: 
https://gist.github.com/44157336ac06d17cfbf5

Note that all other objects are reified as one would expect, making this issue 
something that can be worked around in a manner similar to my original gist 
referenced above (or a variety of other ways).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to