{"action":"created","issue":{"url":"https://api.github.com/repos/testmycode/tmc-server/issues/486","repository_url":"https://api.github.com/repos/testmycode/tmc-server","labels_url":"https://api.github.com/repos/testmycode/tmc-server/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/testmycode/tmc-server/issues/486/comments","events_url":"https://api.github.com/repos/testmycode/tmc-server/issues/486/events","html_url":"https://github.com/testmycode/tmc-server/issues/486","id":329089044,"node_id":"MDU6SXNzdWUzMjkwODkwNDQ=","number":486,"title":"Java source and target versions for the compiler are still 1.6","user":{"login":"matjojo","id":8158314,"node_id":"MDQ6VXNlcjgxNTgzMTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8158314?v=4","gravatar_id":"","url":"https://api.github.com/users/matjojo","html_url":"https://github.com/matjojo","followers_url":"https://api.github.com/users/matjojo/followers","following_url":"https://api.github.com/users/matjojo/following{/other_user}","gists_url":"https://api.github.com/users/matjojo/gists{/gist_id}","starred_url":"https://api.github.com/users/matjojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matjojo/subscriptions","organizations_url":"https://api.github.com/users/matjojo/orgs","repos_url":"https://api.github.com/users/matjojo/repos","events_url":"https://api.github.com/users/matjojo/events{/privacy}","received_events_url":"https://api.github.com/users/matjojo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-04T14:50:27Z","updated_at":"2018-06-04T15:22:28Z","closed_at":"2018-06-04T15:10:45Z","author_association":"NONE","body":"Java source and target versions for the compiler are still 1.6. Updating this (and what else needs updating with that) should allow students to use newer Java versions and newer syntax.\r\n\r\nAfter finding out that the local tests didn't work when using newer java syntax I found that the solution was to update the javac.source and the javac.target compiler flags to 7, which would allow the compiler to use newer java syntax (in my example the new(ish) diamond operator for ArrayList and using Strings in a switch).\r\n\r\nThis fix for local can be seen here: https://github.com/testmycode/tmc-intellij/issues/138 \r\nThe same fix should apply to the server software. I don't have ubuntu set up so I can't develop and or test the fix myself sadly. \r\n\r\n[This](https://github.com/testmycode/tmc-server/blob/master/spec/fixtures/exercises/common_files/nbproject/project.properties#L42) is the link to the file and line(s) that need to be updated to allow the newer java syntaxes to work. And [This](https://tmc.mooc.fi/submissions/2108879#files) is a link to a TMC submission that shows the problem."},"comment":{"url":"https://api.github.com/repos/testmycode/tmc-server/issues/comments/394394190","html_url":"https://github.com/testmycode/tmc-server/issues/486#issuecomment-394394190","issue_url":"https://api.github.com/repos/testmycode/tmc-server/issues/486","id":394394190,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDM5NDE5MA==","user":{"login":"nygrenh","id":1922896,"node_id":"MDQ6VXNlcjE5MjI4OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1922896?v=4","gravatar_id":"","url":"https://api.github.com/users/nygrenh","html_url":"https://github.com/nygrenh","followers_url":"https://api.github.com/users/nygrenh/followers","following_url":"https://api.github.com/users/nygrenh/following{/other_user}","gists_url":"https://api.github.com/users/nygrenh/gists{/gist_id}","starred_url":"https://api.github.com/users/nygrenh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nygrenh/subscriptions","organizations_url":"https://api.github.com/users/nygrenh/orgs","repos_url":"https://api.github.com/users/nygrenh/repos","events_url":"https://api.github.com/users/nygrenh/events{/privacy}","received_events_url":"https://api.github.com/users/nygrenh/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T15:22:28Z","updated_at":"2018-06-04T15:22:28Z","author_association":"MEMBER","body":"@matjojo And thanks for reporting this!"}}
{"actor":{"display_login":"nygrenh"}}