We're updating the issue view to help you get more done. 

Object created by createDynamicProxy() not instanceOf specified interface

Description

If you load java libs in Application.cfc using javaSettings and try to create object which should implement loaded interface - object incorrectly created.

Example:
Application.cfc
this.javaSettings = {LoadPaths = ["Path to jar lib"], loadColdFusionClassPath=true, reloadOnChange= true, watchInterval = 100, watchExtensions = "jar,class,xml"};

Test code:
var testObject = createDynamicProxy('component.testComponent', 'interfaceFromJarLib');

IsInstanceOf(testObject , 'interfaceFromJarLib')
expected result -> true
actual result -> false

Environment

windows 10 x64

Status

Assignee

Michael Offner

Reporter

Oleksandr Zavadskyy

Labels

Sprint

None

Fix versions

Affects versions

5.1.0.34

Priority

Critical