> On Feb 11, 2016, at 7:58 AM, Sergey Bylokhov <[email protected]> > wrote: > > On 11.02.16 18:52, Alan Bateman wrote: >> Proxy.getProxyClass is proposed to be deprecated in Java SE 9 - you'll >> see the changes in the jake forest, they just haven't got to JDK 9 main >> line yet. There is also a very clear list of restrictions in the updated >> javadoc. Since you are going into jdk9/client then maybe the simplest is >> to just reference the restrictions in the Proxy class. > > Right, the new javadoc of newProxyInstance() in the jake is quite detailed, > I'll update the fix.
In case, anyone is interested in the jake’s updated spec of newProxyInstance: http://download.java.net/jigsaw/docs/api/java/lang/reflect/Proxy.html#newProxyInstance-java.lang.ClassLoader-java.lang.Class:A-java.lang.reflect.InvocationHandler- Mandy
