Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1031170 // Solve reflection problem in newer JDK with structure(synchronizedMap())

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (11327L/73K).

!7

set flag OurSyncCollections.

p-exp {
  vmBus_snoopToPrint(msg -> eq(msg, "makeAccessible_error"));
  assertEqualsVerbose("sync hm{}", structure(synchronizedMap()));
  assertTrueVerbose(unstructure("sync hm{}") instanceof SynchronizedMap);
  print("OK");
}

Author comment

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: 102 / 646
Version history: 1 change(s)
Referenced in: [show references]