Download Jar. Libraryless. Click here for Pure Java version (11327L/73K).
1 | !7 |
2 | |
3 | set flag OurSyncCollections. |
4 | |
5 | p-exp {
|
6 | vmBus_snoopToPrint(msg -> eq(msg, "makeAccessible_error")); |
7 | assertEqualsVerbose("sync hm{}", structure(synchronizedMap()));
|
8 | assertTrueVerbose(unstructure("sync hm{}") instanceof SynchronizedMap);
|
9 | print("OK");
|
10 | } |
Began life as a copy of #1031168
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031170 |
| Snippet name: | Solve reflection problem in newer JDK with structure(synchronizedMap()) |
| Eternal ID of this version: | #1031170/2 |
| Text MD5: | 4f4749a1eae642b8e449c13d20ce32f4 |
| Transpilation MD5: | 9874500c8c2171b87420d7d58b8137f1 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-05-16 18:16:38 |
| Source code size: | 269 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 517 / 1709 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |