You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/12/30 21:24:00 UTC

[jira] [Commented] (WICKET-6504) Using a serializable model for FileSystemResource's path

    [ https://issues.apache.org/jira/browse/WICKET-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306952#comment-16306952 ] 

ASF subversion and git services commented on WICKET-6504:
---------------------------------------------------------

Commit cbf458380afb1a71d97ee2b77196ff85ea258c37 in wicket's branch refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=cbf4583 ]

WICKET-6504 Use a serializable model for FileSystemResource's path


> Using a serializable model for FileSystemResource's path
> --------------------------------------------------------
>
>                 Key: WICKET-6504
>                 URL: https://issues.apache.org/jira/browse/WICKET-6504
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 7.8.0
>            Reporter: Claudia Hirt
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 8.0.0
>
>
> FileSystemResource takes a java.nio.file.Path to load the resource. 
> This leads to java.io.NotSerializableException: sun.nio.fs.WindowsPath in my case. I know this is a problem of JavaSerializer and I already found the solution to use something like Kryo Serializer instead.
> But wouldn't it be better to have the possibility to use a Model for the path anyway?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)