[jira] Updated: (JDO-488) Use of JDK 1.6 with TCK:
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Updated: (JDO-488) Use of JDK 1.6 with TCK:




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Updated: (JDO-488) Use of JDK 1.6 with TCK:  
David Ezzio (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-17-07 12:11 AM


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

David Ezzio updated JDO-488:
----------------------------

Attachment: jdoLoadClass.patch

Patch for the reported bug.

> Use of JDK 1.6 with TCK: ClassLoader.loadClass cannot load arrays in JDK 1
.6
> --------------------------------------------------------------------------
--
>
>                 Key: JDO-488
>                 URL: https://issues.apache.org/jira/browse/JDO-488
>             Project: JDO
>          Issue Type: Bug
>          Components: tck2
>    Affects Versions: JDO 2 final
>         Environment: Use of JDK 1.6 when running TCK.
>            Reporter: David Ezzio
>         Attachments: jdoLoadClass.patch
>
>
> In JDK 1.5 and prior versions of Java 2, the name returned by Class.getName() coul
d be used with ClassLoader.loadClass to load array types.  This behavior was conside
red a bug that has been fixed in JDK 1.6.  As a result, calls using encoded array na
mes
such as "L[java.lang.Object;" now fail with a ClassNotFoundException.
>
> See Sun's Java CR 6446627 (http://bugs.sun.com/bugdatabase/vie...64
46627) et alia.
> The recommended practice (and the only available option in JDK 1.6) is to use Clas
s.forName(name, verify, classloader) to load a class with a specific class loader wi
thin the application.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:31 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register