[infinispan-issues] [JBoss JIRA] (IPROTO-93) AutoProtoSchemaBuilder.schemaFilePath() is not handled correctly

Nistor Adrian (Jira) issues at jboss.org
Wed May 29 05:12:01 EDT 2019


     [ https://issues.jboss.org/browse/IPROTO-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nistor Adrian updated IPROTO-93:
--------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


Integrated in 4.3.0.Alpha6

> AutoProtoSchemaBuilder.schemaFilePath() is not handled correctly
> ----------------------------------------------------------------
>
>                 Key: IPROTO-93
>                 URL: https://issues.jboss.org/browse/IPROTO-93
>             Project: Infinispan ProtoStream
>          Issue Type: Bug
>    Affects Versions: 4.3.0.Alpha4
>            Reporter: Nistor Adrian
>            Assignee: Nistor Adrian
>            Priority: Major
>             Fix For: 4.3.0.Alpha6
>
>
> Current implementation is wrong in these aspects:
> * the (optional) schemaFilePath together with schemaFileName should only be used for constructing the classloader resource path
> * when computing the final resource path from  schemaFilePath + schemaFileName should take into account eventual leading or trailing '/' and handle it gracefully
> * the file path used for SerializationContext registration should be only based on schemaFileName, and should not be relative to schemaFilePath



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list