@srinivasreddyaem welcome to AEM Experience League communities.. Great place to co-learn, collaborate and communicate..
For your issue, sun.io related packages are related to jre and comes with sling container.. so even though your bundle depends on some other external bundle dependencies to get these packages, sling ignores them and resolve dependencies from container only. That's what boot delegation means.. try excluding those dependencies from your bundle pom