[ 
https://issues.apache.org/jira/browse/WEAVER-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15281605#comment-15281605
 ] 

Matt Benson commented on WEAVER-11:
-----------------------------------

>From Romain:
{quote}
I can't comment W-11 not sure why

point is: if you build BVal with j8 with source=target=1.7 then it doesn't run 
on j7 cause of Executable reference in bval code itself when using Reflection.
{quote}

[~rmannibucau]: I have added you to the developers group so you should now be 
able to comment despite the ongoing JIRA lockdown.

> bytecode generated with java 7 or 8 is different and can break on earlier 
> versions
> ----------------------------------------------------------------------------------
>
>                 Key: WEAVER-11
>                 URL: https://issues.apache.org/jira/browse/WEAVER-11
>             Project: Commons Weaver
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>
> Encountered on bval where building with java 8 makes the bytecode java 8 
> compliant and breaks under java 7.
> See org.apache.bval.util.reflection.Reflection#setAccessible where  Utf8      
>          java/lang/reflect/Executable is injected with java 8 and Executable 
> is a java 8 class only.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to