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

[jira] [Updated] (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 ]

Mike Beckerle updated DAFFODIL-1474:
------------------------------------
    Labels: verify  (was: )

> 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
>              Labels: verify
>
> 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)