Skip to content

Remove DEFAULT_JAXWSPROVIDER fallback class name#132

Open
jGauravGupta wants to merge 2 commits into
jakartaee:mainfrom
jGauravGupta:provider-impl-package
Open

Remove DEFAULT_JAXWSPROVIDER fallback class name#132
jGauravGupta wants to merge 2 commits into
jakartaee:mainfrom
jGauravGupta:provider-impl-package

Conversation

@jGauravGupta

Copy link
Copy Markdown
Member

Signed-off-by: Gaurav Gupta gaurav.gupta@payara.fish

Seems com.sun.xml.internal.ws.spi.ProviderImpl refactored to com.sun.xml.ws.spi.ProviderImpl earlier but package is not renamed in Provider class.

See the package of ProviderImpl.java.

Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>

@lukasj lukasj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This constant is to be removed instead. Also proper error message should appear if no provider is found.

@lukasj

lukasj commented Jun 3, 2020

Copy link
Copy Markdown
Contributor

btw: did you check #90 before creating this?

Signed-off-by: Gaurav Gupta <gaurav.gupta@payara.fish>
@jGauravGupta jGauravGupta changed the title Fix jakarta.xml.ws.spi.Provider implementation package Remove DEFAULT_JAXWSPROVIDER fallback class name Jun 4, 2020
@jGauravGupta

Copy link
Copy Markdown
Member Author

Hi @lukasj,

I missed that ticket. Thanks for the suggestions, I have updated PR.

@jGauravGupta jGauravGupta requested a review from lukasj June 4, 2020 07:42
@brcolow

brcolow commented Sep 23, 2020

Copy link
Copy Markdown

What about adding a static overload to Provider that takes the provider class? Then it could be used thusly:

Provider.provider(com.sun.xml.ws.spi.ProviderImpl.class);

As a side note, I believe the com.sun.xml.ws module should export com.sun.xml.ws.spi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants