Java14 Helpful NullPointer exception feature with Demo #java | balaji

preview_player
Показать описание
Understand #Java 14 Helpful NullPointerException feature (JEP 358) in just 4 minutes with Demo

This video will explain you “What are the enhancements done to #NullPointerException in Java 14” and “How to enable this feature".

After watching this video you will be able to enable this feature and identify exactly what attribute caused NullPointerException when it occurs.

Also you will be be able to enable this in Docker containers after watching this video.

In Java 14 there is a new feature/enhancement introduced to the way NullPointerException is being displayed. NullPointerException occurs whenever null reference being referred. Though we will get NullPointerException, but there is no useful clues as such which particular attribute was the root cause. Java 14 enhanced this and with this feature enabled it will exactly point out what attribute/object was the real root cause for the NullPointerException.

The sample code (which is used in this video) can be downloaded from my git repository.

GitHub:

Reference:
Рекомендации по теме
Комментарии
Автор

i came here becuase it was a challegne i dont really wath i

a_on_mobile
visit shbcf.ru