[ https://issues.apache.org/jira/browse/GROOVY-11478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun resolved GROOVY-11478. --------------------------------- Fix Version/s: 5.0.0-alpha-11 Resolution: Fixed https://github.com/apache/groovy/commit/92b9bf430f822f69efada0be89e544f489d964da > Enable GroovyClassLoader to be ParallelCapable > ---------------------------------------------- > > Key: GROOVY-11478 > URL: https://issues.apache.org/jira/browse/GROOVY-11478 > Project: Groovy > Issue Type: Improvement > Affects Versions: 3.0.22, 4.0.23, 5.0.0-alpha-10 > Reporter: Paul King > Assignee: Paul King > Priority: Major > Fix For: 5.0.0-alpha-11 > > > GroovyClassLoader is parallel capable but we do not declare it as such by > calling the {{registerAsParallelCapable}} method as per recommended > guidelines[1]. Some frameworks have worked around this using reflection but > as JDK restrictions have tightened in later JDK versions, this has become not > possible. Other workarounds[2] for frameworks to work with non-parallel > capable classloaders have also been deprecated and removed in recent JDK > versions[3][4][5]. See also [6]. > [1] https://docs.oracle.com/javase/7/docs/technotes/guides/lang/cl-mt.html > [2] https://openjdk.org/groups/core-libs/ClassLoaderProposal.html > [3] https://bugs.openjdk.org/browse/JDK-8296446 > [4] https://bugs.openjdk.org/browse/JDK-8303967 > [5] https://bugs.openjdk.org/browse/JDK-8295848 > [6] https://inside.java/2022/11/14/quality-heads-up/ -- This message was sent by Atlassian Jira (v8.20.10#820010)