I've uploaded here a log of a full sequential (-T1) build with
"--illlegal-access=debug" turned on,
meaning each illegal access warning also has a stack trace of where it came
from, useful for locating
sources of  a particular violation without running a full build locally:

https://drive.google.com/open?id=121bylTJnBCqGDB1D4q9asY-knA6-P_ZI

Cheers
Andrea


On Sun, Oct 21, 2018 at 9:19 AM Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> Hi,
> I've enabled emitting warning for all illegal access (committed and
> pushed) and then grepped in the sources,
> did not find much that we can actually act on. Here is what I have.
>
> *1) Protobuf illegal access*
> WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil
> (file:/home/aaime/.m2/repository/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar)
> to field java.nio.Buffer.address
> WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil
> (file:/home/aaime/.m2/repository/com/google/protobuf/protobuf-java/3.5.0/protobuf-java-3.5.0.jar)
> to field java.nio.Buffer.address
>
> Still there in their source code, nothing we can do, and a ticket already
> exists for it since 2 years ago:
>
>    -
>    
> https://github.com/protocolbuffers/protobuf/blob/master/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java#L371
>    - https://github.com/protocolbuffers/protobuf/issues/3781
>
> *2) jaxb-runtime illegal acces*
> WARNING: Illegal reflective access by
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
> (file:/home/aaime/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.0/jaxb-runtime-2.3.0.jar)
> to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
> WARNING: Illegal reflective access by
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
> (file:/home/aaime/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.0/jaxb-runtime-2.3.0.jar)
> to method java.lang.ClassLoader.findLoadedClass(java.lang.String)
> WARNING: Illegal reflective access by
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
> (file:/home/aaime/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.0/jaxb-runtime-2.3.0.jar)
> to method java.lang.ClassLoader.resolveClass(java.lang.Class)
>
> Looks like this might be solved in 2.4.4, which is not released yet:
> https://javaee.github.io/jaxb-v2/doc/user-guide/ch02.html#a-2-4-0
> I guess we could open a ticket for the future.
>
> *3) EMF*
> WARNING: Illegal reflective access by
> org.eclipse.emf.ecore.xmi.impl.XMLHandler
> (file:/home/aaime/.m2/repository/org/eclipse/emf/org.eclipse.emf.ecore.xmi/2.12.0/org.eclipse.emf.ecore.xmi-2.12.0.jar)
> to method
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()
> WARNING: Illegal reflective access by
> org.eclipse.emf.ecore.xmi.impl.XMLHandler
> (file:/home/aaime/.m2/repository/org/eclipse/emf/org.eclipse.emf.ecore.xmi/2.12.0/org.eclipse.emf.ecore.xmi-2.12.0.jar)
> to method
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getXMLVersion()
>
> Looks like it might be solved by upgrading, see also
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=517054
> Added a task in the sheet.
>
> *4) NIOUtilities*
> WARNING: Illegal reflective access by org.geotools.resources.NIOUtilities
> (file:/home/aaime/devel/git-gt/modules/library/metadata/target/gt-metadata-21-SNAPSHOT.jar)
> to method java.nio.DirectByteBuffer.cleaner()
>
> This is legit, but without that cleaner on Windows shapefile reading will
> not last long before making the JVM explode.
> Will have to check if there are replacements (might be). Task created.
>
> *5) HSQLDB*
> WARNING: Illegal reflective access by org.hsqldb.persist.RAFileNIO
> (file:/home/aaime/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar)
> to method java.nio.DirectByteBuffer.cleaner()
>
> We are using the latest release already, nothing we can do... opened a
> ticket: https://sourceforge.net/p/hsqldb/bugs/1526/
>
> *7) CSS*
> WARNING: Illegal reflective access by org.parboiled.transform.AsmUtils
> (file:/home/aaime/.m2/repository/org/parboiled/parboiled-java/1.1.7/parboiled-java-1.1.7.jar)
> to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
> WARNING: Illegal reflective access by org.parboiled.transform.AsmUtils
> (file:/home/aaime/.m2/repository/org/parboiled/parboiled-java/1.1.7/parboiled-java-1.1.7.jar)
> to method java.lang.ClassLoader.findLoadedClass(java.lang.String)
>
> There is a newer version we can upgrade to that uses a JDK 9 compatible
> ASM version, created a task for it, but the reflective access is still
> there, opened a ticket.
>
> *8) Testing issues*
> WARNING: Illegal reflective access by org.opengis.util.CodeListTest
> (file:/home/aaime/devel/git-gt/modules/library/opengis/target/test-classes/)
> to field java.util.ArrayList.elementData
> WARNING: Illegal reflective access by
> org.easymock.cglib.core.ReflectUtils$1
> (file:/home/aaime/.m2/repository/org/easymock/easymock/3.6/easymock-3.6.jar)
> to method
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Illegal reflective access by
> org.fest.reflect.util.Accessibles$SetAccessibleAction
> (file:/home/aaime/.m2/repository/org/easytesting/fest-reflect/1.2/fest-reflect-1.2.jar)
> to method javax.swing.SwingUtilities.appContextGet(java.lang.Object)
> WARNING: Illegal reflective access by
> org.mockito.cglib.core.ReflectUtils$2
> (file:/home/aaime/.m2/repository/org/mockito/mockito-all/1.9.5/mockito-all-1.9.5.jar)
> to method
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Illegal reflective access by
> org.mockito.internal.creation.jmock.ClassImposterizer
> (file:/home/aaime/.m2/repository/org/mockito/mockito-all/1.9.5/mockito-all-1.9.5.jar)
> to constructor javax.xml.parsers.SAXParser()
> WARNING: Illegal reflective access by
> org.mockito.internal.creation.jmock.ClassImposterizer
> (file:/home/aaime/.m2/repository/org/mockito/mockito-all/1.9.5/mockito-all-1.9.5.jar)
> to constructor javax.xml.parsers.SAXParserFactory()
>
> Not sure we care about these? Testing is going to work off the classpath
> for the foreseeable future, or not? Added a task anyways.
>
> Cheers
> Andrea
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
> http://www.geo-solutions.it http://twitter.com/geosolutions_it
> ------------------------------------------------------- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
>


-- 

Regards, Andrea Aime == GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
@geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to