Skip to content

[Improvement] Enhance Unit Test coverage for NetUtils #15935

@LI123456mo

Description

@LI123456mo

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Apache Dubbo Component

Java SDK (apache/dubbo)

Descriptions

I noticed that org.apache.dubbo.common.utils.NetUtils has several core methods related to IP validation and local host detection that could benefit from more robust edge-case testing (e.g., invalid IPv4 formats, IPv6 edge cases). I would like to contribute additional unit tests to ensure long-term stability. I am a new contributor and would like to take this on

Related issues

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementEverything related with code enhancement or performance

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions