[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3333) seam-gen generated test configuration fails on JDK6

Dan Allen (JIRA) jira-events at lists.jboss.org
Wed Nov 5 17:53:20 EST 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12437136#action_12437136 ] 

Dan Allen commented on JBSEAM-3333:
-----------------------------------

This issue was resolved in Seam 2.1.0.GA. When using Sun JDK 6 with SeamTest (which is really an issue with Embedded JBoss) you have to use the following JVM flag.

-Dsun.lang.ClassLoader.allowArraySyntax=true

You add this to the <testng> tag as follows:

<jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>

In Eclipse, you have to add this to the the TestNG launch configuration under VM args.

http://www.seamframework.org/Documentation/DoesSeamWorkWithJDK60

> seam-gen generated test configuration fails on JDK6
> ---------------------------------------------------
>
>                 Key: JBSEAM-3333
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3333
>             Project: Seam
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.1.0.BETA1
>         Environment: JDK6 update 7
> Fedora 9
>            Reporter: Jozef Hartinger
>            Assignee: Dan Allen
>             Fix For: 2.1.1.CR1
>
>         Attachments: seam-gen.txt
>
>
> When running seam-gen generated tests configuration failure appears. See attached file for detailed output. Problem does not appear on JDK5.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list