[ 
https://issues.apache.org/jira/browse/NETBEANS-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florian Vogler updated NETBEANS-1481:
-------------------------------------
    Description: 
Due to changes related to NETBEANS-1147, the behaviour of loading module 
fragments has changed compared to netbeans 9.0.

Before the change eager fragments with unsatisfied token requirements remain 
disabled without any errors.

Expected behaviour:
 * eager: fragment is loaded, if all  requirements  satisfied
 * autoload: fragment is only loaded, if a module depends on it. If not all  
requirements are satisfied, an error is shown.
 * default:  fragment is loaded. If not all  requirements are satisfied, an 
error is shown.

Broken use case: 
 Multiple eager OS specific fragments (Linux, MacOS, Windows) not working any 
more.

  was:
Due to changes related to NETBEANS-1147, the behaviour of loading module 
fragments has changed compared to netbeans 9.0.

Before the change eager fragments with unsatisfied token requirements remain 
disabled without any errors.

Broken use case: 
Multiple eager OS specific fragments (Linux, MacOS, Windows) not working any 
more.

Expected behaviour:
Case eager=true: One fragment should be loaded, others should remain disabled 
(silently).
Case eager=false: Module system should try to load all fragments and show an 
error.


> Eager fragment with unsatisfied token requirement should be ignored silently
> ----------------------------------------------------------------------------
>
>                 Key: NETBEANS-1481
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1481
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - Module System
>    Affects Versions: 10.0
>            Reporter: Florian Vogler
>            Assignee: Florian Vogler
>            Priority: Major
>
> Due to changes related to NETBEANS-1147, the behaviour of loading module 
> fragments has changed compared to netbeans 9.0.
> Before the change eager fragments with unsatisfied token requirements remain 
> disabled without any errors.
> Expected behaviour:
>  * eager: fragment is loaded, if all  requirements  satisfied
>  * autoload: fragment is only loaded, if a module depends on it. If not all  
> requirements are satisfied, an error is shown.
>  * default:  fragment is loaded. If not all  requirements are satisfied, an 
> error is shown.
> Broken use case: 
>  Multiple eager OS specific fragments (Linux, MacOS, Windows) not working any 
> more.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to