[ https://issues.apache.org/jira/browse/SLING-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson reassigned SLING-3911: ------------------------------------- Assignee: Justin Edelson > Sling Models: Unexpected behaviour from Default > ----------------------------------------------- > > Key: SLING-3911 > URL: https://issues.apache.org/jira/browse/SLING-3911 > Project: Sling > Issue Type: Bug > Components: Extensions > Reporter: Jason E Bailey > Assignee: Justin Edelson > Priority: Minor > Labels: models > Fix For: Sling Models API 1.1.2, Sling Models Impl 1.1.2 > > Attachments: SLING-3911-1.patch, SLING-3911-2.patch > > > Current application of the @Default annotation has unexpected results > {code} > @Default() int[] intExample; > // sets intExample to a non empty array of [0] > @Default(longValues={1,1}) int[] intExample2; > // sets intExample2 to a non empty array of [0] > {code} > This experience occurs will all supported array types -- This message was sent by Atlassian JIRA (v6.3.4#6332)