[ 
https://issues.apache.org/jira/browse/ARTEMIS-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033190#comment-18033190
 ] 

Mikhail Titov commented on ARTEMIS-5663:
----------------------------------------

[~jbertram] - Thank you for replying!
Sorry for misunderstanding. I've reported issues (such as this, 5664, 5668 and 
5690) because exceptions that occured in corresponding methods are not declared 
in documentation. As a possible fix, I assumed input validation with throwing 
the relevant exception from the method's body or adding "throws" keyword to a 
method declaration. It is also possible to add information about the exceptions 
in the documentation. I understand that these are minor bugs, so you may not be 
interested in fixing them. But still, what do you think if I reopen those 
issues with such intensions clarified?

> Exceptions in ActiveMQDestination.createDestination method
> ----------------------------------------------------------
>
>                 Key: ARTEMIS-5663
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5663
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.31.2, 2.43.0
>         Environment: openjdk version "21.0.8" 2025-07-15
>            Reporter: Mikhail Titov
>            Assignee: Justin Bertram
>            Priority: Major
>         Attachments: Exceptions_ActiveMQDestination.createDestination.tar
>
>
> Some bugs were discovered as a results of fuzz-testing of 
> ActiveMQDestination.createDestination methods: 
> 1. IllegalArgumentException (3 different types)
> 2. NullPointerException
> 3. NumberFormatException
> I have created a standalone repro for each bug (attached archive). You can 
> reproduce them by running the following command:
> {code:java}
> java -cp .:jars/* <bug_name>.java {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to