[
https://issues.apache.org/jira/browse/DIRMINA-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee closed DIRMINA-481.
-------------------------------
Resolution: Fixed
Fixed.
> ByteBuffer.get/putObject() cannot handler pritimive classes.
> ------------------------------------------------------------
>
> Key: DIRMINA-481
> URL: https://issues.apache.org/jira/browse/DIRMINA-481
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.0.4, 1.1.1, 1.0.5,
> 1.1.2, 1.0.6, 1.1.3, 1.0.7, 1.1.4
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 1.0.8, 1.1.5
>
>
> The following code throws an exception because Class.forName("long") raises
> ClassNotFoundException.
> ByteBuffer buf = ByteBuffer.allocate(16).setAutoExpand(true);
> buf.putObject(long.class);
> buf.flip();
> Class clazz = (Class) buf.getObject();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.