]
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