[
https://issues.apache.org/jira/browse/TAP5-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240093#comment-17240093
]
ASF subversion and git services commented on TAP5-2588:
-------------------------------------------------------
Commit 8839ebfb9335de9bd6e5a853391ca1c66c947eef in tapestry-5's branch
refs/heads/java9modules_squashed from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=8839ebf ]
TAP5-2641: avoiding split packages
Also TAP5-2644: splitting tapestry-http out of tapestry-core
TAP5-2641: moving all BeanModel classes to the same parent package
TAP5-2641: reorganizing commons under the same package
TAP5-2641: fixing Hibernate-related split packages
TAP5-2641: moving annotations from tapestry-ioc to tapestry5-annotations
to avoid split packages, with a nice side-effect of providing
more projects to use Tapestry-IoC annotations without having
a dependency on Tapestry-IoC itself.
TAP5-2641: moving more classes around to avoid split packages
TAP5-2641: fixing Groovy test imports
TAP5-2641: move split package avoidance
TAP5-2641: fixing JavaDoc errors
TAP5-2641: fixing JavaDoc errors
TAP5-2641: fixing JavaDoc errors
TAP5-2641: fixing JavaDoc errors
TAP5-2641: moving ServiceStrings.properties to right place
TAP5-2641: fixing test broken by class package change
TAP5-2641: fixing Tapestry-IoC broken tests
TAP5-2641: fixing webresources broken tests
Attempt to get the combinedJacocoReport task to work
Attempt to get the combinedJacocoReport task to work (x2)
Attempt to get the combinedJacocoReport task to work (x3)
Attempt to get the combinedJacocoReport task to work (x4)
Attempt to get the combinedJacocoReport task to work (x5)
TAP5-2641: avoiding split packages
TAP5-2641: avoiding split packages
TAP5-2641: avoiding split packages
TAP5-2641: setting automatic module name
Bumping versiont to 5.7.0.
TAP5-2641: fixing archetype after refactoring
TAP5-2641: dropping 5 from automatic module name
TAP5-2643: NPE in Label when corresponding form field isn't rendered
TAP5-2644: split tapestry-http out of tapestry-core
TAP5-2644: split tapestry-http out of tapestry-core
TAP5-2641: partial implementation of tapestry-version-migrator
TAP5-2641: fixing JavaDoc errors.
TAP5-2641: moving CssCompressor to a better package
TAP5-2641: fixing JavaDoc errors.
TAP5-2641: fixing JavaDoc errors.
TAP5-2644: trying to fix test failure in ClojureBuilderSpec
TAP5-2644: trying to fix test failure in OverrideMethodsTest
TAP5-2644: trying to fix test failure in CoreBehaviorsTest
TAP5-2644: debugging test failure in CoreBehaviorsTest
TAP5-2644: finally fixing failure in CoreBehaviorsTest
TAP5-2644: fixing tapestry-spring test failures
TAP5-2641: first working version of migrator tool
TAP5-2641: fixing JavaDoc errors in migrator
TAP5-2641: fixing of migrator tool tests
TAP5-2641: fixing migrator tool manifest file
TAP5-2588: moving dependencies from plastic to tapestry-core
TAP5-2588: adding JAXB dependency to tapestry-hibernate-core
TAP5-2588: adding javax.annotation dependency to tapestry-ioc
Fixing failing test FormTests.create_select_model_coercion
TAP5-2641: fixing automatic module names
TAP5-2641: fixing automatic module names
> Does not work with Java 9
> -------------------------
>
> Key: TAP5-2588
> URL: https://issues.apache.org/jira/browse/TAP5-2588
> Project: Tapestry 5
> Issue Type: Bug
> Components: plastic
> Affects Versions: 5.4.3
> Reporter: Jochen Kemnade
> Assignee: Thiago Henrique De Paula Figueiredo
> Priority: Critical
> Fix For: 5.5.0
>
> Attachments:
> 0001-TAP5-2588-Upgrade-ASM-6.x-7.0.1-for-Java-11-support.patch
>
>
> You cannot use Tapestry with Java 9 because of an outdated ASM version in
> plastic (5.0.4). AFAICT, we'll need to upgrade to 6.0. My attempt do do so
> results in a {{ClassCastException}} in
> {{org.apache.tapestry5.plastic.ArrayAttributeAnnotations.explicit values for
> array attributes}}.
> {noformat}
> java.lang.ClassCastException: [I cannot be cast to
> java.base/[Ljava.lang.Object;
> at
> org.apache.tapestry5.internal.plastic.AbstractAnnotationBuilder$2.visitEnd(AbstractAnnotationBuilder.java:134)
> at
> org.apache.tapestry5.internal.plastic.asm.tree.AnnotationNode.accept(AnnotationNode.java:284)
> at
> org.apache.tapestry5.internal.plastic.asm.tree.AnnotationNode.accept(AnnotationNode.java:251)
> at
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createAnnotation(PlasticClassPool.java:307)
> at
> org.apache.tapestry5.internal.plastic.PlasticClassPool$4.buildAnnotation(PlasticClassPool.java:286)
> at
> org.apache.tapestry5.internal.plastic.PlasticClassPool$4.getAnnotation(PlasticClassPool.java:270)
> at
> org.apache.tapestry5.internal.plastic.DelegatingAnnotationAccess.getAnnotation(DelegatingAnnotationAccess.java:42)
> at
> org.apache.tapestry5.internal.plastic.PlasticClassImpl.getAnnotation(PlasticClassImpl.java:342)
> at org.apache.tapestry5.plastic.ArrayAttributeAnnotations.explicit
> values for array attributes(ArrayAttributeAnnotations.groovy:27)
> {noformat}
> The {{AbstractAnnotationBuilder}} subclass tries to cast an {{int[]}} to an
> {{Object[]}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)