{"action":"opened","issue":{"url":"https://api.github.com/repos/jibx/jibx/issues/7","repository_url":"https://api.github.com/repos/jibx/jibx","labels_url":"https://api.github.com/repos/jibx/jibx/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/jibx/jibx/issues/7/comments","events_url":"https://api.github.com/repos/jibx/jibx/issues/7/events","html_url":"https://github.com/jibx/jibx/issues/7","id":149911431,"number":7,"title":"`track-source` attribute not working with Java 7","user":{"login":"lpetit-yseop","id":1890265,"avatar_url":"https://avatars.githubusercontent.com/u/1890265?v=3","gravatar_id":"","url":"https://api.github.com/users/lpetit-yseop","html_url":"https://github.com/lpetit-yseop","followers_url":"https://api.github.com/users/lpetit-yseop/followers","following_url":"https://api.github.com/users/lpetit-yseop/following{/other_user}","gists_url":"https://api.github.com/users/lpetit-yseop/gists{/gist_id}","starred_url":"https://api.github.com/users/lpetit-yseop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpetit-yseop/subscriptions","organizations_url":"https://api.github.com/users/lpetit-yseop/orgs","repos_url":"https://api.github.com/users/lpetit-yseop/repos","events_url":"https://api.github.com/users/lpetit-yseop/events{/privacy}","received_events_url":"https://api.github.com/users/lpetit-yseop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-20T23:12:22Z","updated_at":"2016-04-20T23:12:22Z","closed_at":null,"body":"source tracking does not work with java 7. I've tracked the problem down to `org.jibx.binding.def.ObjectBinding.genTrackSourceCode()` where the whole method body execution is protected by an `if (m_class.isDirectAccess())` test.\r\n\r\nReleasing a little bit the constraint by doing `if (m_class.isLimitedDirectAccess())` solves the issue.\r\n\r\nWhat do you think about this solution? Are there drawbacks my tests haven't revealed yet?\r\n\r\nIf the fix seems correct, would you consider releasing a new patch version of jibx (2.6.1 ?) with this fix ?"}}