Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/2063259d0c42a602f1db2732f55597e6 to your computer and use it in GitHub Desktop.

Select an option

Save trycf/2063259d0c42a602f1db2732f55597e6 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
executorsClass = CreateObject("java", "java.util.concurrent.Executors");
SystemClass = createObject( "java", "java.lang.System" );
obj = executorsClass.newScheduledThreadPool(2)
writedump( SystemClass.identityHashCode( obj ) )
obj2 = duplicate( obj )
writedump( SystemClass.identityHashCode( obj2 ) )
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment