Skip to content

Conversation

@arvindkrishnakumar-okta
Copy link
Contributor

@arvindkrishnakumar-okta arvindkrishnakumar-okta commented Sep 20, 2023

Summary

#193

null in switch statement is not allowed until Java 18 (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/switch.html).

Actual Behavior

Expected Behavior

Configuration

Version

Sample

Issue(s)

Description

Category

  • Bugfix
  • Enhancement
  • New Feature
  • Configuration Change
  • Versioning Change
  • Unit Test(s)
  • Documentation

@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title OKTA-595542: Avoid possibility of null in switch - pre Java 18 OKTA-595542: Avoid possibility of null in switch statement (pre Java 18) Sep 20, 2023
@arvindkrishnakumar-okta arvindkrishnakumar-okta merged commit d81ef70 into master Sep 21, 2023
@arvindkrishnakumar-okta arvindkrishnakumar-okta deleted the ak_okta_595542_fix_npe_switch branch September 21, 2023 15:24
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