tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Mikhulya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2214) Make tapestry5 java8 compatible
Date Sun, 23 Mar 2014 12:41:44 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944416#comment-13944416

Michael Mikhulya commented on TAP5-2214:

No changes to the rest of Plastic source were required so I believe T5.3 uses could just use
T5.4 plastic library once this is released (or build from source).

Unfortunatelly T5.3 fails with exception:
Caused by: java.lang.NoSuchMethodError: org.apache.tapestry5.plastic.PlasticManager.createProxyTransformation

I added one method and it fixed the issue:
    public <T> PlasticClassTransformation<T> createProxyTransformation(Class interfaceType)
        return createProxyTransformation(interfaceType, null);

> Make tapestry5 java8 compatible
> -------------------------------
>                 Key: TAP5-2214
>                 URL: https://issues.apache.org/jira/browse/TAP5-2214
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: plastic
>    Affects Versions: 5.4
>            Reporter: Joachim Van der Auwera
>            Assignee: Kalle Korhonen
>         Attachments: 0001-use-asm-5.0_BETA-for-java8.patch, 0002-TAP5-2214-use-ASM-5.0_BETA-for-java8-compatibility.patch,
> As it stands Tapestry does not work on java8. This seems to be caused by ASM. Updating
the enclosed asm to 5.0_Bet seems to do the trick.

This message was sent by Atlassian JIRA

View raw message