[infinispan-issues] [JBoss JIRA] (IPROTO-87) Prevent auto-import of java classes that are not explicitly added to ProtoSchemaBuilder.addClass

Adrian Nistor (Jira) issues at jboss.org
Tue Feb 12 04:57:02 EST 2019


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

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


Integrated in master.

> Prevent auto-import of java classes that are not explicitly added to  ProtoSchemaBuilder.addClass
> -------------------------------------------------------------------------------------------------
>
>                 Key: IPROTO-87
>                 URL: https://issues.jboss.org/browse/IPROTO-87
>             Project: Infinispan ProtoStream
>          Issue Type: Enhancement
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>            Priority: Major
>             Fix For: 4.3.0.Alpha1
>
>
> The classes of the fields of already added classes are also automatically picked up now even if they are not explicitly added with addClass. This behaviour is usually very helpful but there might be use cases where we want explicit control of classes and everything that was not added explicitly should cause an exception. A config flag should be added for this. The current behaviour should remain the default is the flag is not specified.



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


More information about the infinispan-issues mailing list