Skip to main content
Park_Lam
Participant
June 30, 2016
Question

Upgrade AIR SDK to support Java 8

  • June 30, 2016
  • 1 reply
  • 861 views

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.

This topic has been closed for replies.

1 reply

Known Participant
October 5, 2018

event lates adobe air sdk 31 has does not support java8

see bugtrack and vote please.

Tracker

Known Participant
October 29, 2018

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