Apache JDO Project - [jira] Updated: (JDO-488) Use of JDK 1.6 with TCK:

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > May 2007 > [jira] Updated: (JDO-488) Use of JDK 1.6 with TCK:





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2007-05-16, 7:11 pm


[ 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() could be used with ClassLoader.loadClass to load array types. This behavior was considered a bug that has been fixed in JDK 1.6. As a result, calls using encoded array names

such as "L[java.lang.Object;" now fail with a ClassNotFoundException.
>
> See Sun's Java CR 6446627 (http://bugs.sun.com/bugdatabase/vie...?bug_id=6446627) et alia.
> The recommended practice (and the only available option in JDK 1.6) is to use Class.forName(name, verify, classloader) to load a class with a specific class loader within the application.


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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com