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

CUSTCOM-144 Avoid NPEx on unboxing null Boolean (javaee/glassfish 22406) #4408

Merged
merged 2 commits into from
Jan 9, 2020

Conversation

pzygielo
Copy link
Contributor

@pzygielo pzygielo commented Jan 3, 2020

Description

This is a bug fix, for issue originally reported against javaee/glassfish (22406).

Testing

New tests

New UT FilterDefDecoratorTest.nullAsyncSupportedFlagShallNotCauseException.

Testing Performed

A. mvn clean install

  1. for first commit to make sure UT fails
  2. for second commit to make sure it fixes FilterDefDecorator and doesn't break the build in other parts.

B. With distribution built in step A2 - Steps to reproduce from 22406, but with step 7 producing expected welcome page.

Test suites executed

Only included in full build with command above.

Testing Environment

A. Ubuntu 16.04.6 LTS, OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~16.04.1-b10), maven 3.6.3
B. GNU/Linux, OpenJDK Runtime Environment (build 1.8.0_232-b09), maven 3.6.3

@jGauravGupta
Copy link
Contributor

jenkins test please

@Cousjava Cousjava changed the title Avoid NPEx on unboxing null Boolean (javaee/glassfish 22406) CUSTCOM-144 Avoid NPEx on unboxing null Boolean (javaee/glassfish 22406) Jan 8, 2020
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Version and scope are redundant, they are already defined in payara-nucleus-parent, am I right?

Copy link
Contributor

Choose a reason for hiding this comment

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

Answer to myself: no, not in master yet ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Answer to myself: no, not in master yet ...

But I have such change waiting on my branch! Really! 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Version and scope are redundant, they are already defined in payara-nucleus-parent, am I right?

I've just proposed #4418 to make it so.

Copy link
Contributor

Choose a reason for hiding this comment

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

You are too fast, now I will have some conflicts, but nevermind, they will be trivial ;)
Thanks!

@dmatej dmatej merged commit cce6338 into payara:master Jan 9, 2020
@pzygielo pzygielo deleted the issue_gf_22406 branch January 9, 2020 07:22
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.

4 participants