When the ktab tool is used to add new entries, it would create a new file if there is no existing one. In order to find out if a file exists, we used to check if KeyTab.getInstance() is null. Since we support dynamic keytab, this method never returns null, and there is no chance to initialize kt_vno for an empty keytab file now.
Looked at code-review.
Got clarifications from Max on queries
INTJDK-7603737 opened for additional test on SQE side
Push to 7u-dev automatically generates 8015596.
Max, why is this resolved as duplicate.
Is the fix not integrated in jdk 8?
8015596 has fixversion of 7u40
I don't know how JBS works, but after I pushed the fix for 7u, it automatically creates a backport entry JDK-8015596 and this 8014196 is left untouched. So I just close it as a dup.