Integrated: 8289274: Cleanup unnecessary null comparison before instanceof check in security modules

2022-07-09 Thread Andrey Turbanov
On Fri, 24 Jun 2022 18:27:05 GMT, Andrey Turbanov wrote: > Update code checks both non-null and instance of a class in security classes. > The checks and explicit casts could also be replaced with pattern matching > for the instanceof operator. > > See similar cleanup in java.base - > [JDK-825

Re: RFR: 8289275: Remove incorrect __declspec(dllimport) attributes from pointers in jdk.crypto.cryptoki [v2]

2022-07-09 Thread Julian Waters
> Several instances of function pointers in jdk.crypto.cryptoki are marked with > the dllimport attribute, which should only be applied to symbol declarations, > of which a typedef'd function pointer is not. This would only be useful if a > function pointer defined in the linked dll is desired t