You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2021/01/26 12:43:00 UTC

[jira] [Closed] (DAFFODIL-1474) Generated class filenames are too long for some systems

     [ https://issues.apache.org/jira/browse/DAFFODIL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson closed DAFFODIL-1474.
-----------------------------------

Resolved as Won't fix.

> Generated class filenames are too long for some systems
> -------------------------------------------------------
>
>                 Key: DAFFODIL-1474
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1474
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: Infrastructure, Windows
>            Reporter: Steve Lawrence
>            Priority: Major
>             Fix For: 3.1.0
>
>
> Some systems, like windows and ecrypted filesystems on linux, have a maximum path length of around 255. Due to scalac's autogenerated class names, it's very possible to read this limit. We should use the -Xmax-classfile-name option to limit the length of these autogenerated names. Note that our longest dirnames are about 100 characters, so if we can limit the length of filenames to less than 100, that gives users about 50 characters for a root directory path, which isn't totally unreasonable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)