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

Nistor Adrian (Jira) issues at jboss.org
Wed May 29 04:38:00 EDT 2019


Nistor Adrian created IPROTO-93:
-----------------------------------

             Summary: 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


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