• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

igniterealtime / Smack / 1416
40%

Build:
DEFAULT BRANCH: master
Ran 04 Mar 2018 09:49AM UTC
Jobs 1
Files 817
Run time 37s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1416

push

travis-ci

Flowdalic
Reset Java source compatibility to 1.7 (Java 7)

The following wild problem appeared:

Smack currently checks for Android API compatiblity by creating a
extra 'compileAndroid' task, which has the boot classpath set to the
corresponding android.jar of the minimum Android API level required by
Smack. This ensures that the task failes if we use methods which are
not part of this Android API level.

Now setting javac's source/target compatibility level to Java 8 in
itself is not a problem, newer Android build toolchains will desugar
most Java 8 ishms to the Java 7 flavor supported by the dex tool,
hence Android projects are able to consume a Java 8 enabled Smack.

But as soon as we use lambdas with an minimum Android API level
lower than 26, the compileAndroid task will fail with:

com.sun.tools.javac.code.Symbol$CompletionFailure:
  class file for java.lang.invoke.MethodHandles$Lookup not found.

Re-opens SMACK-801.

11300 of 31004 relevant lines covered (36.45%)

0.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1416.1 04 Mar 2018 09:49AM UTC 0
36.45
Travis Job 1416.1
Source Files on build 1416
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1416
  • b7e7aeee on github
  • Prev Build on master (#1413)
  • Next Build on master (#1421)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc