{ "id": "143807", "key": "TIMOB-18483", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2018-08-15T03:30:30.000+0000", "created": "2015-01-30T20:07:52.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [ { "id": "49156", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "151620", "key": "TIMOB-19648", "fields": { "summary": "Android: Support building SDK on JDK 8+", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2018-08-15T03:30:30.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "During compilation of titanium_mobile, we have a number of errors like:\r\n\r\n\"[javac] warning: android/text/method/DialerKeyListener.class(android/text/method:DialerKeyListener.class): major version 51 is newer than 50, the highest major version supported by this compiler.\r\n[javac] It is recommended that the compiler be upgraded.\"\r\n\r\nThe current version used for compilation is JDK 6. Recommend upgrading to JDK 7.\r\n\r\nThis is a tooling ticket (as opposed to a DevOps ticket) as it _could_ have ramifications on Android.", "attachment": [], "flagged": false, "summary": "Android: Upgrade version of JDK on jenkins.appcelerator.org", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "341486", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tried doing this (had to use JDK8), and got the following:\r\n\r\nhttp://jenkins.appcelerator.org/job/titanium_mobile_master/3836/console\r\n\r\n{code}\r\n [javac] Note: [KrollBindingGen] Generating JSON: file:/var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/json/org/appcelerator/titanium/bindings/titanium.json\r\n [copy] Copying 18 files to /var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/classes/titanium\r\n [copy] Copied 21 empty directories to 9 empty directories under /var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/classes/titanium\r\n [javac] Compiling 105 source files to /var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/classes/titanium\r\n [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6\r\n [javac] /var/lib/jenkins/jobs/titanium_mobile_master/workspace/android/titanium/src/java/org/appcelerator/titanium/TiBlob.java:561: error: cannot access BinaryEncoder\r\n [javac] \t\treturn new String(Base64.encodeBase64(getBytes()));\r\n [javac] \t\t ^\r\n [javac] class file for org.apache.commons.codec.BinaryEncoder not found\r\n [javac] Note: Some input files use or override a deprecated API.\r\n [javac] Note: Recompile with -Xlint:deprecation for details.\r\n [javac] Note: Some input files use unchecked or unsafe operations.\r\n [javac] Note: Recompile with -Xlint:unchecked for details.\r\n [javac] 1 error\r\n [javac] 1 warning\r\n{code}\r\n\r\nIt appears there are at least a few issues to resolve.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-30T20:36:42.000+0000", "updated": "2015-01-30T20:36:42.000+0000" }, { "id": "353971", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "JDK 1.7 was EOL'd in March with the end of updates in April. Any chance we'll see support for 1.8 soon?\r\n\r\nhttp://www.oracle.com/technetwork/java/javase/downloads/eol-135779.html", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2015-06-01T14:56:27.000+0000", "updated": "2015-06-01T14:56:27.000+0000" }, { "id": "353991", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~skypanther] This ticket is for using JDK 1.8 for compilation of the SDK. Is that what you are interested in?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-01T17:29:05.000+0000", "updated": "2015-06-01T17:29:05.000+0000" }, { "id": "353999", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "Yep. I had to downgrade the version of the JDK on my computer to build the SDK from source. ", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2015-06-01T19:23:45.000+0000", "updated": "2015-06-01T19:23:45.000+0000" }, { "id": "365417", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I cloned off a blocking ticket for fixing the JDK 8+ compile issue: TIMOB-19648\r\n\r\nThat ticket has an open PR against master. Once merged, I assume we can update the JDK on the build server (for master builds).", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-09-30T14:34:24.000+0000", "updated": "2015-09-30T14:34:24.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }