Highlighted

Upgrade AIR SDK to support Java 8

New Here ,
Jun 30, 2016

Copy link to clipboard

Copied

Dear Adobe Team,

Question: Is there any plan to upgrade the AIR SDK to support Java 8?

We are working on pack "Google Play Services" into an ANE. It works fine until the Google release the sdk version: 8487000. When we pack the google_play_services_8487000.jar into the ANE and use it in our mobile app. The native java code will exit without throw any exceptions if it meet "@NonNull" (Java 8's new Type Annotation).

How to reproduce:

1. Write a class with two functions, one has Type Annotation "@NonNull" (func1) and the other one has none(func2). Then compile and pack that into a "third_party_lib.jar" with target=1.8; (in our project, that should be google_play_services_lib_8487000.jar)

2. Create an ANE project. Add the "third_party_lib.jar" to the <packagedDependencies/>.

3. Try call the func2, and the ANE will return with normal value;

4. Try call the func1, the ANE will exit without any exceptions and return null value to AS3.

We knew that is cause by the Java version.  The latest version of Google Play Services is very important for us. Very appreciate if your team can take a consider for it. Thank you.

TOPICS
Development

Views

693

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Upgrade AIR SDK to support Java 8

New Here ,
Jun 30, 2016

Copy link to clipboard

Copied

Dear Adobe Team,

Question: Is there any plan to upgrade the AIR SDK to support Java 8?

We are working on pack "Google Play Services" into an ANE. It works fine until the Google release the sdk version: 8487000. When we pack the google_play_services_8487000.jar into the ANE and use it in our mobile app. The native java code will exit without throw any exceptions if it meet "@NonNull" (Java 8's new Type Annotation).

How to reproduce:

1. Write a class with two functions, one has Type Annotation "@NonNull" (func1) and the other one has none(func2). Then compile and pack that into a "third_party_lib.jar" with target=1.8; (in our project, that should be google_play_services_lib_8487000.jar)

2. Create an ANE project. Add the "third_party_lib.jar" to the <packagedDependencies/>.

3. Try call the func2, and the ANE will return with normal value;

4. Try call the func1, the ANE will exit without any exceptions and return null value to AS3.

We knew that is cause by the Java version.  The latest version of Google Play Services is very important for us. Very appreciate if your team can take a consider for it. Thank you.

TOPICS
Development

Views

694

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 30, 2016 2
Explorer ,
Oct 05, 2018

Copy link to clipboard

Copied

event lates adobe air sdk 31 has does not support java8

see bugtrack and vote please.

Tracker

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 05, 2018 0
Explorer ,
Oct 28, 2018

Copy link to clipboard

Copied

wondering are there any alive stuff in adobe support team ? )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 28, 2018 0