aprovpn / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

Compile Error #335

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Download v0.6.29.zip
2.Compile will complain error for 
main/src/main/java/de/blinkt/openvpn/fragments/FaqFragment.java

What version of OpenVPN for Android are you using (see about screen)?
0.6.29

What is the expected output? What do you see instead?
Successfully build. But I got:

/ics-openvpn-v0.6.29/main/src/main/java/de/blinkt/openvpn/fragments/FaqFragment.
java:196: illegal start of type
        Vector<FAQEntry> faqItems = new Vector<>();
                                               ^
1 error
:main:compileNormalDebugJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':main:compileNormalDebugJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

What mobile phone are you using?
-

Which Android Version and stock ROM or aftermarket like cyanogenmod?
-

Please provide any additional information below.
After changed Line 196 (first line of "private FAQEntry[] getFAQEntries()" 
method) to the following, it works:
        Vector<FAQEntry> faqItems = new Vector<FAQEntry>();

Original issue reported on code.google.com by Ecl.T...@gmail.com on 19 Mar 2015 at 2:04

GoogleCodeExporter commented 9 years ago
I am not sure how you are trying to build ics-openvpn the syntax your compiler 
complains about is valid Java 1.7.

Original comment by arne@rfc2549.org on 19 Mar 2015 at 8:40