To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62429
                  Issue #:|62429
                  Summary:|For Java array types, use Class.forName instead of
                          |ClassLoader.loadClass
                Component:|udk
                  Version:|680m156
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|sb
              Reported by:|sb





------- Additional comments from [EMAIL PROTECTED] Wed Feb 22 04:33:27 -0800 
2006 -------
>From a Sun-internal discussion, I got the tip that
<quote>
ClassLoader.loadClass is not specified to work like this.  [...] instead of 
writing:
    Class c = ClassLoader.getSystemClassLoader().loadClass("[I");
you should write:
    Class c = Class.forName("[I", false, ClassLoader.getSystemClassLoader())
</quote>
There are a number of places in UNO where we use ClassLoader.loadClass (directly
or via JNI) to obtain array classes, and we should change them accordingly, to
make UNO more robust.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to