Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tck tests are done after ServletContext has already been initialized so we need to test this first to get some tck test passing... #4514

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

olamy
Copy link
Member

@olamy olamy commented Jan 24, 2020

Signed-off-by: olivier lamy oliver.lamy@gmail.com

…so we need to test this first to get some tck test passing...

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
@olamy olamy requested a review from janbartel January 24, 2020 04:29
Copy link
Contributor

@janbartel janbartel left a comment

Choose a reason for hiding this comment

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

I'm going to give this a +1, however I need you to feed back to the tck people that the test is simply wrong: the javadoc for the get/setInitParameter makes very clear that you cannot call this method if the context is already started. Thus, according to the spec, container should not waste any time evaluating a parameter if it is not in the correct state to do so.

@olamy olamy merged commit d74676e into jetty-10.0.x Jan 28, 2020
@olamy olamy deleted the jetty-10.0.x_setinitparameter_npe_for_null_name branch January 28, 2020 10:33
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.

2 participants