CreateDynamicProxy(): no class defined exceptions when implementing core JDK interfaces

Description

When working with dynamic proxies, i am seeing a weird error when implementing core JDK interfaces. These interfaces are part of JDK8.

Example proxy:

Example Usage:

When I first run the code in the server, the code fails with a no class defined exception. If I restart the server, the error goes away. This is not good for stability.

You can see a travis build on this here:
https://travis-ci.org/coldbox-modules/cbstreams/jobs/360321909

Environment

None

Assignee

Michael Offner

Reporter

Luis Majano

Priority

Major

Labels

None

Fix versions

Sprint

None

Affects versions

Configure