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

Joe Bowser resolved CB-13566.
-----------------------------
    Resolution: Won't Fix

This is an issue with a Cordova Plugin that's using language features not 
supported by Cordova.  Cordova currently is stuck with Java 1.6 compatibility 
until the next major version when it will go up to Java 1.8

> 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
>         Environment: G:\Mobile\colombia>cordova platform ls
> Installed platforms:
>   android 6.3.0
> Available platforms:
>   blackberry10 ~3.8.0 (deprecated)
>   browser ~5.0.0
>   ios ~4.5.1
>   osx ~4.0.1
>   ubuntu ~4.3.4 (deprecated)
>   webos ~3.7.0
>   windows ~5.0.0
>   www ^3.12.0
> G:\Mobile\colombia>cordova plugin ls
> com.virtualartifacts.webintent 1.0.0 "WebIntent"
> cordova-plugin-camera 3.0.0 "Camera"
> cordova-plugin-dialogs 1.3.4 "Notification"
> cordova-plugin-file 5.0.0 "File"
> cordova-plugin-file-transfer 1.7.0 "File Transfer"
> cordova-plugin-inappbrowser 1.7.2 "InAppBrowser"
> cordova-plugin-network-information 1.3.4 "Network Information"
> cordova-plugin-safariviewcontroller 1.4.7 "SafariViewController"
> cordova-plugin-whitelist 1.3.3 "Whitelist"
> phonegap-plugin-push 2.1.0 "PushPlugin"
> G:\Mobile\colombia>cordova --version
> 7.1.0
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to