{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/openj9/issues/3175","repository_url":"https://api.github.com/repos/eclipse/openj9","labels_url":"https://api.github.com/repos/eclipse/openj9/issues/3175/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/openj9/issues/3175/comments","events_url":"https://api.github.com/repos/eclipse/openj9/issues/3175/events","html_url":"https://github.com/eclipse/openj9/issues/3175","id":367766914,"node_id":"MDU6SXNzdWUzNjc3NjY5MTQ=","number":3175,"title":"JTReg test fail : java/lang/invoke/VarHandles/accessibility/TestFieldLookupAccessibility.java","user":{"login":"ben-walsh","id":23211844,"node_id":"MDQ6VXNlcjIzMjExODQ0","avatar_url":"https://avatars3.githubusercontent.com/u/23211844?v=4","gravatar_id":"","url":"https://api.github.com/users/ben-walsh","html_url":"https://github.com/ben-walsh","followers_url":"https://api.github.com/users/ben-walsh/followers","following_url":"https://api.github.com/users/ben-walsh/following{/other_user}","gists_url":"https://api.github.com/users/ben-walsh/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-walsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-walsh/subscriptions","organizations_url":"https://api.github.com/users/ben-walsh/orgs","repos_url":"https://api.github.com/users/ben-walsh/repos","events_url":"https://api.github.com/users/ben-walsh/events{/privacy}","received_events_url":"https://api.github.com/users/ben-walsh/received_events","type":"User","site_admin":false},"labels":[{"id":697962110,"node_id":"MDU6TGFiZWw2OTc5NjIxMTA=","url":"https://api.github.com/repos/eclipse/openj9/labels/comp:vm","name":"comp:vm","color":"1d76db","default":false},{"id":790051174,"node_id":"MDU6TGFiZWw3OTAwNTExNzQ=","url":"https://api.github.com/repos/eclipse/openj9/labels/test%20failure","name":"test failure","color":"ce2e0e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-08T12:29:16Z","updated_at":"2018-11-09T13:14:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Multiple sub-test failures due to accessibility differences for MethodHandles when using MH_UNREFLECT_SETTER_ACCESSIBLE lookup method ...\r\n```\r\n 109         MH_UNREFLECT_SETTER_ACCESSIBLE() {\r\n 110             Object lookup(MethodHandles.Lookup l, Field f) throws Exception {\r\n 111                 return l.unreflectSetter(cloneAndSetAccessible(f));\r\n 112             }\r\n 113         },\r\n...\r\n 145         static Field cloneAndSetAccessible(Field f) throws Exception {\r\n 146             // Clone to avoid mutating source field\r\n 147             f = f.getDeclaringClass().getDeclaredField(f.getName());\r\n 148             f.setAccessible(true);\r\n 149             return f;\r\n 150         }\r\n```\r\n\r\nLog archive : [methodHandlesAccessProb.tar.gz](https://github.com/eclipse/openj9/files/2455861/methodHandlesAccessProb.tar.gz)\r\n\r\n\r\nTest passes against Hotspot."},"comment":{"url":"https://api.github.com/repos/eclipse/openj9/issues/comments/437355961","html_url":"https://github.com/eclipse/openj9/issues/3175#issuecomment-437355961","issue_url":"https://api.github.com/repos/eclipse/openj9/issues/3175","id":437355961,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzM1NTk2MQ==","user":{"login":"pdbain-ibm","id":18007966,"node_id":"MDQ6VXNlcjE4MDA3OTY2","avatar_url":"https://avatars1.githubusercontent.com/u/18007966?v=4","gravatar_id":"","url":"https://api.github.com/users/pdbain-ibm","html_url":"https://github.com/pdbain-ibm","followers_url":"https://api.github.com/users/pdbain-ibm/followers","following_url":"https://api.github.com/users/pdbain-ibm/following{/other_user}","gists_url":"https://api.github.com/users/pdbain-ibm/gists{/gist_id}","starred_url":"https://api.github.com/users/pdbain-ibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdbain-ibm/subscriptions","organizations_url":"https://api.github.com/users/pdbain-ibm/orgs","repos_url":"https://api.github.com/users/pdbain-ibm/repos","events_url":"https://api.github.com/users/pdbain-ibm/events{/privacy}","received_events_url":"https://api.github.com/users/pdbain-ibm/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T13:14:49Z","updated_at":"2018-11-09T13:14:49Z","author_association":"CONTRIBUTOR","body":"For the record via @DanHeidinga :\r\n```If the underlying field is final, the method throws an IllegalAccessException unless setAccessible(true) has succeeded for this Field object and the field is non-static. Setting a final field in this way is meaningful only during deserialization or reconstruction of instances of classes with blank final fields, before they are made available for access by other parts of a program. Use in any other context may have unpredictable effects, including cases in which other parts of a program continue to use the original value of this field.```\r\nhttp://cr.openjdk.java.net/~iris/se/11/latestSpec/api/java.base/java/lang/reflect/Field.html#set(java.lang.Object,java.lang.Object)"}}
{"actor":{"display_login":"pdbain-ibm"}}