You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Krishna (JIRA)" <ji...@apache.org> on 2017/11/14 01:45:00 UTC

[jira] [Updated] (CB-13566) G:\Mobile\colombia\platforms\android\src\org\chromium\customtabsclient\shared\CustomTabsHelper.java:77: error: diamond operator is not supported in -source use -source 7 or higher to enable diamond operator

     [ https://issues.apache.org/jira/browse/CB-13566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krishna updated CB-13566:
-------------------------
    Description: Error: cmd: Command failed with exit code 1 Error output: G:\Mobile\colombia\platforms\android\src\org\chromium\customtabsclient\shared\CustomTabsHelper.java:77: error: diamond operator is not supported in -source 1.6         List<String> packagesSupportingCustomTabs = new ArrayList<>();                                                                   ^   (use -source 7 or higher to enable diamond operator) G:\Mobile\colombia\platforms\android\src\org\chromium\customtabsclient\shared\ServiceConnection.java:32: error: diamond operator is not supported in -source 1.6         mConnectionCallback = new WeakReference<>(connectionCallback);                                                 ^   (use -source 7 or higher to enable diamond operator) 2 errors  FAILURE: Build failed with an exception.

> G:\Mobile\colombia\platforms\android\src\org\chromium\customtabsclient\shared\CustomTabsHelper.java:77: error: diamond operator is not supported in -source use -source 7 or higher to enable diamond operator
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-13566
>                 URL: https://issues.apache.org/jira/browse/CB-13566
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: cordova-7
>            Reporter: Krishna
>            Assignee: Joe Bowser
>
> Error: cmd: Command failed with exit code 1 Error output: G:\Mobile\colombia\platforms\android\src\org\chromium\customtabsclient\shared\CustomTabsHelper.java:77: error: diamond operator is not supported in -source 1.6         List<String> packagesSupportingCustomTabs = new ArrayList<>();                                                                   ^   (use -source 7 or higher to enable diamond operator) G:\Mobile\colombia\platforms\android\src\org\chromium\customtabsclient\shared\ServiceConnection.java:32: error: diamond operator is not supported in -source 1.6         mConnectionCallback = new WeakReference<>(connectionCallback);                                                 ^   (use -source 7 or higher to enable diamond operator) 2 errors  FAILURE: Build failed with an exception.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org