You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Scott Yuan (Jira)" <ji...@apache.org> on 2022/10/21 22:58:00 UTC

[jira] [Created] (SLING-11633) ClientSideTeleporter throwing illegal argument when target byte code is > 1.8

Scott Yuan created SLING-11633:
----------------------------------

             Summary: ClientSideTeleporter throwing illegal argument when target byte code is > 1.8
                 Key: SLING-11633
                 URL: https://issues.apache.org/jira/browse/SLING-11633
             Project: Sling
          Issue Type: Improvement
          Components: Apache Sling Testing Rules
         Environment: Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: C:\aem-tools\utils\apache-maven-3.8.5
Java version: 11.0.15.1, vendor: Oracle Corporation, runtime: C:\aem-tools\utils\jdk-11.0.15.1
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
            Reporter: Scott Yuan
         Attachments: mylab-1.zip, mylab.zip

When attempted to use the latest 1.0.22 to build test cases using TeleporterRule with Java 11+ code, illegal arguments error occurred. 

It can be reproduce with the attached Maven project by change following properites to 11. 

* maven.compiler.source
* maven.compiler.target




--
This message was sent by Atlassian Jira
(v8.20.10#820010)