RFR - 8028627: Unsynchronized code path from javax.crypto.Cipher to the WeakHashMap used by JceSecurity to store codebase mappings

2014-05-16 Thread Rob McKenna
Hi folks, The synopsis says it all really. There is an unsynchronized code path from javax.crypto.Cipher to the WeakHashMap used by JceSecurity to store codebase mappings. While this bug is extremely unlikely to manifest we have a couple of reports of it in the wild. As you can see from the

RFR [7195480]: javax.smartcardio does not detect cards on Mac OS X

2014-05-16 Thread Ivan Gerasimov
Hello! It was reported that CardTerminal.isCardPresent(), CardTerminal.waitForCardAbsent(...) and CardTerminal.waitForCardPresent(...) do not work correctly on Mac OS X. It is due to the difference in the types of the fields of SCARD_READERSTATE structure used across different platforms. In

Re: RFR - 8028627: Unsynchronized code path from javax.crypto.Cipher to the WeakHashMap used by JceSecurity to store codebase mappings

2014-05-16 Thread Sean Mullan
Looks ok to me. While you are in there, can you fix the typo a couple lines above that: s/Retuns/Returns You also need to add an appropriate "noreg" label to the bug. --Sean On 05/16/2014 10:29 AM, Rob McKenna wrote: Hi folks, The synopsis says it all really. There is an unsynchronized code