Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19648] Android: Support building SDK on JDK 8+

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2015-10-01T15:36:30.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.1.0
ComponentsAndroid
Labelsn/a
ReporterIngo Muschenetz
AssigneeChristopher Williams
Created2015-09-30T14:31:21.000+0000
Updated2015-11-02T19:48:41.000+0000

Description

Tried doing this (had to use JDK8), and got the following: http://jenkins.appcelerator.org/job/titanium_mobile_master/3836/console
    [javac] Note: [KrollBindingGen] Generating JSON: file:/var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/json/org/appcelerator/titanium/bindings/titanium.json
     [copy] Copying 18 files to /var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/classes/titanium
     [copy] Copied 21 empty directories to 9 empty directories under /var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/classes/titanium
    [javac] Compiling 105 source files to /var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/classes/titanium
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] /var/lib/jenkins/jobs/titanium_mobile_master/workspace/android/titanium/src/java/org/appcelerator/titanium/TiBlob.java:561: error: cannot access BinaryEncoder
    [javac] 		return new String(Base64.encodeBase64(getBytes()));
    [javac] 		                        ^
    [javac]   class file for org.apache.commons.codec.BinaryEncoder not found
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 1 warning
It appears there are at least a few issues to resolve.

Comments

  1. Ingo Muschenetz 2015-09-30

    Can we get this reviewed ASAP?
  2. Lokesh Choudhary 2015-10-27

    [~cwilliams], How can I test this ?
  3. Christopher Williams 2015-10-27

    [~lokeshchdhry] This is basically internal to the dev team. Not sure it needs to be verified by QE, since it's about building Android SDK from source.
  4. Eric Merriman 2015-11-02

    Closing as implemented.

JSON Source