Jump to content
We've recently updated our Privacy Statement, available here ×

ireport close


webers

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I am using iReport 5.6.0 with Java 8.  You need to make a small change to  WeakListenerImpl.java to use with Java 7 and above:

 

diff --git a/openide.util/src/org/openide/util/WeakListenerImpl.java b/openide.util/src/org/openide/util/WeakListenerImpl.java--- a/openide.util/src/org/openide/util/WeakListenerImpl.java+++ b/openide.util/src/org/openide/util/WeakListenerImpl.java@@ -404,6 +404,7 @@                 if (proxyConstructor == null) {                     Class<?> proxyClass = Proxy.getProxyClass(c.getClassLoader(), c);                     proxyConstructor = proxyClass.getConstructor(InvocationHandler.class);+                    proxyConstructor.setAccessible(true);                     constructors.put(c, new SoftReference>(proxyConstructor));                 }

That change breaks Java sandboxing - so don't run any untrusted code in iReport!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...