You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/06/24 12:15:00 UTC
[jira] [Commented] (CAMEL-15236) camel-package-maven-plugin - Regen
may gen type as String instead of Long etc
[ https://issues.apache.org/jira/browse/CAMEL-15236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17143789#comment-17143789 ]
Claus Ibsen commented on CAMEL-15236:
-------------------------------------
Lets see if we can reproduce this again
> camel-package-maven-plugin - Regen may gen type as String instead of Long etc
> -----------------------------------------------------------------------------
>
> Key: CAMEL-15236
> URL: https://issues.apache.org/jira/browse/CAMEL-15236
> Project: Camel
> Issue Type: Improvement
> Components: tooling
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.5.0
>
>
> I suspect its like we had on generate configurer
> https://github.com/apache/camel/blob/ac9c191c01340e89b7f6e01e9a25d0af16247f81/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/GenerateConfigurerMojo.java#L331
> Where a option that is of type long, may have 2 setters one for Long and another for String. And then depending on the JDK compiler you may get a setter by random order.
> So we should select the actual type via the field as done above
--
This message was sent by Atlassian Jira
(v8.3.4#803005)