{"action":"closed","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8033","repository_url":"https://api.github.com/repos/hazelcast/hazelcast","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8033/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8033/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8033/events","html_url":"https://github.com/hazelcast/hazelcast/issues/8033","id":151428631,"number":8033,"title":"Deserialization of dynamic proxy instances ignores configured ClassLoader","user":{"login":"zerhacker","id":1681391,"avatar_url":"https://avatars.githubusercontent.com/u/1681391?v=3","gravatar_id":"","url":"https://api.github.com/users/zerhacker","html_url":"https://github.com/zerhacker","followers_url":"https://api.github.com/users/zerhacker/followers","following_url":"https://api.github.com/users/zerhacker/following{/other_user}","gists_url":"https://api.github.com/users/zerhacker/gists{/gist_id}","starred_url":"https://api.github.com/users/zerhacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerhacker/subscriptions","organizations_url":"https://api.github.com/users/zerhacker/orgs","repos_url":"https://api.github.com/users/zerhacker/repos","events_url":"https://api.github.com/users/zerhacker/events{/privacy}","received_events_url":"https://api.github.com/users/zerhacker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Core","name":"Team: Core","color":"109def"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Defect","name":"Type: Defect","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/70","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.7","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/70/labels","id":1346433,"number":70,"title":"3.7","description":"","creator":{"login":"pveentjer","id":105243,"avatar_url":"https://avatars.githubusercontent.com/u/105243?v=3","gravatar_id":"","url":"https://api.github.com/users/pveentjer","html_url":"https://github.com/pveentjer","followers_url":"https://api.github.com/users/pveentjer/followers","following_url":"https://api.github.com/users/pveentjer/following{/other_user}","gists_url":"https://api.github.com/users/pveentjer/gists{/gist_id}","starred_url":"https://api.github.com/users/pveentjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveentjer/subscriptions","organizations_url":"https://api.github.com/users/pveentjer/orgs","repos_url":"https://api.github.com/users/pveentjer/repos","events_url":"https://api.github.com/users/pveentjer/events{/privacy}","received_events_url":"https://api.github.com/users/pveentjer/received_events","type":"User","site_admin":false},"open_issues":177,"closed_issues":564,"state":"open","created_at":"2015-10-09T12:16:13Z","updated_at":"2016-05-23T06:45:12Z","due_on":"2016-06-19T21:00:00Z","closed_at":null},"comments":4,"created_at":"2016-04-27T16:23:29Z","updated_at":"2016-05-23T06:45:12Z","closed_at":"2016-05-23T06:45:12Z","body":"This is a bug in the method\r\n`public static ObjectInputStream newObjectInputStream(final ClassLoader classLoader, final InputStream in) throws IOException`\r\nof the class [com.hazelcast.nio.IOUtil](https://github.com/hazelcast/hazelcast/blob/master/hazelcast/src/main/java/com/hazelcast/nio/IOUtil.java).\r\nThe current implementation is:\r\n```\r\n    public static ObjectInputStream newObjectInputStream(final ClassLoader classLoader, final InputStream in) throws IOException {\r\n        return new ObjectInputStream(in) {\r\n            protected Class<?> resolveClass(final ObjectStreamClass desc) throws ClassNotFoundException {\r\n                return ClassLoaderUtil.loadClass(classLoader, desc.getName());\r\n            }\r\n        };\r\n    }\r\n\r\n```\r\nThe method\r\n`protected Class<?> resolveProxyClass(String[] interfaces) throws IOException, ClassNotFoundException`\r\nof the ObjectInputStream must be overridden as well.\r\nThis bug affects all versions of hazelcast.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"jerrinot"}}