{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1405","labels_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1405/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1405/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1405/events","html_url":"https://github.com/ceylon/ceylon-spec/issues/1405","id":101759148,"number":1405,"title":"partial private default constructor for Java framework interop (JPA...)","user":{"login":"sgalles","id":153065,"avatar_url":"https://avatars.githubusercontent.com/u/153065?v=3","gravatar_id":"","url":"https://api.github.com/users/sgalles","html_url":"https://github.com/sgalles","followers_url":"https://api.github.com/users/sgalles/followers","following_url":"https://api.github.com/users/sgalles/following{/other_user}","gists_url":"https://api.github.com/users/sgalles/gists{/gist_id}","starred_url":"https://api.github.com/users/sgalles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgalles/subscriptions","organizations_url":"https://api.github.com/users/sgalles/orgs","repos_url":"https://api.github.com/users/sgalles/repos","events_url":"https://api.github.com/users/sgalles/events{/privacy}","received_events_url":"https://api.github.com/users/sgalles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-spec/labels/basic%20language","name":"basic language","color":"AA1155"}],"state":"open","locked":false,"assignee":{"login":"tombentley","id":879487,"avatar_url":"https://avatars.githubusercontent.com/u/879487?v=3","gravatar_id":"","url":"https://api.github.com/users/tombentley","html_url":"https://github.com/tombentley","followers_url":"https://api.github.com/users/tombentley/followers","following_url":"https://api.github.com/users/tombentley/following{/other_user}","gists_url":"https://api.github.com/users/tombentley/gists{/gist_id}","starred_url":"https://api.github.com/users/tombentley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombentley/subscriptions","organizations_url":"https://api.github.com/users/tombentley/orgs","repos_url":"https://api.github.com/users/tombentley/repos","events_url":"https://api.github.com/users/tombentley/events{/privacy}","received_events_url":"https://api.github.com/users/tombentley/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/milestones/11","html_url":"https://github.com/ceylon/ceylon-spec/milestones/1.2","labels_url":"https://api.github.com/repos/ceylon/ceylon-spec/milestones/11/labels","id":798020,"number":11,"title":"1.2","description":"Serialization.","creator":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":242,"state":"open","created_at":"2014-09-22T09:55:40Z","updated_at":"2015-10-01T09:58:05Z","due_on":"2014-10-28T23:00:00Z","closed_at":null},"comments":35,"created_at":"2015-08-18T22:02:02Z","updated_at":"2015-10-02T11:07:06Z","closed_at":null,"body":"If we could write this :\r\n```ceylon\r\nclass Foo{\r\n\tabstract new(){}\r\n}\r\n```\r\nit would allow to generate a private default constructor in Java for the frameworks that need it.\r\n\r\nFor instance, currently this JPA entity with FIELD access\r\nhttps://github.com/sgalles/ceylon-dddsample/blob/master/source/dddsample/cargotracker/domain/model/cargo/Cargo.ceylon\r\nmust have this constructor to please the compiler.\r\n```ceylon\r\nshared new() extends init(TrackingId(), RouteSpecification()){}\r\n```\r\nbut it could simply be\r\n`abstract new(){}`"},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/comments/144991723","html_url":"https://github.com/ceylon/ceylon-spec/issues/1405#issuecomment-144991723","issue_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1405","id":144991723,"user":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T11:07:06Z","updated_at":"2015-10-02T11:07:06Z","body":"I mean we _could_ say that only `serializable` Ceylon classes can be serialized via Java serialization, if there were some advantage to that. (I don't especially see any.)"}}