{ "id": "171421", "key": "TIMOB-25913", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [ { "id": "20102", "name": "Release 7.1.1", "archived": false, "released": true, "releaseDate": "2018-05-02" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-04-03T17:47:11.000+0000", "created": "2018-03-28T23:12:57.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-7.1.1" ], "versions": [], "issuelinks": [ { "id": "56419", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "171169", "key": "TIMOB-25799", "fields": { "summary": "Android: Cannot build titanium project with JDK 1.9", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-04-04T21:02:19.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": "h5.Steps to reproduce:\r\n1. Build an android app with SDK having fix for java 9 support.\r\n\r\nh5.Actual results:\r\n1. The build will fail with error:\r\n{code}\r\n[ERROR] Failed to compile Java source files:\r\n[ERROR] \r\n[ERROR] An exception has occurred in the compiler (9.0.4). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.\r\n[ERROR] java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0\r\n[ERROR] at java.base/java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)\r\n[ERROR] at java.base/java.time.temporal.ChronoField.checkValidValue(ChronoField.java:714)\r\n[ERROR] at java.base/java.time.LocalDate.of(LocalDate.java:269)\r\n[ERROR] at java.base/java.time.LocalDateTime.of(LocalDateTime.java:336)\r\n[ERROR] at jdk.zipfs/jdk.nio.zipfs.ZipUtils.dosToJavaTime(ZipUtils.java:109)\r\n[ERROR] at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.cen(ZipFileSystem.java:1950)\r\n[ERROR] at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.readCEN(ZipFileSystem.java:1937)\r\n[ERROR] at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getEntry(ZipFileSystem.java:1324)\r\n[ERROR] at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getFileAttributes(ZipFileSystem.java:312)\r\n[ERROR] at jdk.zipfs/jdk.nio.zipfs.ZipPath.getAttributes(ZipPath.java:721)\r\n[ERROR] at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.readAttributes(ZipFileSystemProvider.java:293)\r\n[ERROR] at java.base/java.nio.file.Files.readAttributes(Files.java:1755)\r\n[ERROR] at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219)\r\n[ERROR] at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)\r\n[ERROR] at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:373)\r\n[ERROR] at java.base/java.nio.file.Files.walkFileTree(Files.java:2749)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.(JavacFileManager.java:523)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:319)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:715)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:722)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanPlatformPath(ClassFinder.java:673)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:525)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:293)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1120)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:810)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:344)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:529)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:285)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:300)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:570)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:554)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1052)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:923)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:302)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:162)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)\r\n[ERROR] at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)\r\n{code}\r\n\r\nh5.Expected result:\r\n1. The build should be successful.\r\n", "attachment": [], "flagged": false, "summary": "Android: Build fails for android with java.time.DateTimeException with java 9.0.4 & crittercism", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Studio Ver: 5.1.0\r\nSDK Ver: 7.1.1.v20180328040408\r\nOS Ver: 10.13.2\r\nXcode Ver: Xcode 9.2\r\nAppc NPM: 4.2.12\r\nAppc CLI: 7.0.3-master.23\r\nDaemon Ver: 1.0.1\r\nTi CLI Ver: 5.1.0\r\nAlloy Ver: 1.11.0\r\nNode Ver: 8.9.1\r\nNPM Ver: 5.5.1\r\nJava Ver: 9.0.4\r\nDevices: ⇨ google Nexus 6P --- Android 8.0.0", "closedSprints": [ { "id": 1018, "state": "closed", "name": "2018 Sprint 07 SDK", "startDate": "2018-03-25T21:59:36.637Z", "endDate": "2018-04-08T21:59:00.000Z", "completeDate": "2018-04-08T17:55:14.467Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "436058", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "appcelerator.apm: https://github.com/appcelerator-modules/appcelerator.apm/pull/32", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-28T23:22:22.000+0000", "updated": "2018-03-28T23:22:22.000+0000" }, { "id": "436060", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9971\r\n7_1_X: https://github.com/appcelerator/titanium_mobile/pull/9972", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-28T23:27:12.000+0000", "updated": "2018-03-28T23:27:12.000+0000" }, { "id": "436247", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nPR's merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-03T17:47:05.000+0000", "updated": "2018-04-03T17:47:05.000+0000" }, { "id": "436302", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with SDK 7.1.1.v20180404110450 & 7.2.0.v20180403153400 & crittercism ver 3.1.1\r\n\r\nClosing.\r\n\r\nStudio Ver: 5.1.0\r\nOS Ver: 10.13.2\r\nXcode Ver: Xcode 9.3\r\nAppc NPM: 4.2.13-2\r\nAppc CLI: 7.0.3-master.27\r\nDaemon Ver: 1.0.1\r\nTi CLI Ver: 5.1.0\r\nAlloy Ver: 1.11.0\r\nNode Ver: 8.9.1\r\nNPM Ver: 5.5.1\r\nJava Ver: 9.0.4\r\nDevices: ⇨ google Nexus 6P --- Android 8.0.0\r\n ⇨ google Nexus 5 --- Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T21:00:33.000+0000", "updated": "2018-04-04T21:00:33.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }