{"action":"created","issue":{"url":"https://api.github.com/repos/Programming-Systems-Lab/phosphor/issues/20","repository_url":"https://api.github.com/repos/Programming-Systems-Lab/phosphor","labels_url":"https://api.github.com/repos/Programming-Systems-Lab/phosphor/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/Programming-Systems-Lab/phosphor/issues/20/comments","events_url":"https://api.github.com/repos/Programming-Systems-Lab/phosphor/issues/20/events","html_url":"https://github.com/Programming-Systems-Lab/phosphor/issues/20","id":166516420,"number":20,"title":"java.lang.BootstrapMethodError under -controlTrack","user":{"login":"BihuanChen","id":13049768,"avatar_url":"https://avatars.githubusercontent.com/u/13049768?v=3","gravatar_id":"","url":"https://api.github.com/users/BihuanChen","html_url":"https://github.com/BihuanChen","followers_url":"https://api.github.com/users/BihuanChen/followers","following_url":"https://api.github.com/users/BihuanChen/following{/other_user}","gists_url":"https://api.github.com/users/BihuanChen/gists{/gist_id}","starred_url":"https://api.github.com/users/BihuanChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BihuanChen/subscriptions","organizations_url":"https://api.github.com/users/BihuanChen/orgs","repos_url":"https://api.github.com/users/BihuanChen/repos","events_url":"https://api.github.com/users/BihuanChen/events{/privacy}","received_events_url":"https://api.github.com/users/BihuanChen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-20T07:39:32Z","updated_at":"2016-07-22T13:12:21Z","closed_at":null,"body":"Hello,\r\n\r\nI was trying to run the following program with the flag `-controlTrack` enabled.\r\n```java\r\npublic class Test {\r\n\t\r\n\tpublic static void main(String[] args) throws IOException, ClassNotFoundException {\r\n\t\tFile f = new File(\"/home/bhchen/Desktop/msg\");\r\n\t\tif (f.exists()) { f.delete(); }\r\n\t\t\r\n        ObjectOutputStream oot = new ObjectOutputStream(new FileOutputStream(\"/home/bhchen/Desktop/msg\"));\r\n        oot.writeInt(11);\r\n        oot.close();\r\n        \t\t\r\n\t\tObjectInputStream ois = new ObjectInputStream(new FileInputStream(\"/home/bhchen/Desktop/msg\"));\r\n\t\tint obj = ois.readInt();\r\n\t\tSystem.out.println(obj);\r\n\t\tois.close();\r\n\t}\r\n\r\n}\r\n```\r\nPhosphor (the current head) threw the following exception.\r\n```java\r\nException in thread \"main\" java.lang.BootstrapMethodError: call site initialization exception\r\n\tat java.lang.Throwable.fillInStackTrace$$PHOSPHORTAGGED(Throwable.java)\r\n\tat java.lang.Throwable.fillInStackTrace$$PHOSPHORTAGGED(Throwable.java:783)\r\n\tat java.lang.Throwable.<init>(Throwable.java:287)\r\n\tat java.lang.Error.<init>(Error.java:88)\r\n\tat java.lang.LinkageError.<init>(LinkageError.java:67)\r\n\tat java.lang.BootstrapMethodError.<init>(BootstrapMethodError.java:66)\r\n\tat java.lang.invoke.CallSite.makeSite$$PHOSPHORTAGGED(CallSite.java:341)\r\n\tat java.lang.invoke.MethodHandleNatives.linkCallSiteImpl$$PHOSPHORTAGGED(MethodHandleNatives.java:307)\r\n\tat java.lang.invoke.MethodHandleNatives.linkCallSite$$PHOSPHORTAGGED(MethodHandleNatives.java:297)\r\n\tat java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java)\r\n\tat java.io.ObjectInputStream.<clinit>(ObjectInputStream.java:3578)\r\n\tat chronicle.test.Test.main$$PHOSPHORTAGGED(Test.java:50)\r\n\tat chronicle.test.Test.main(Test.java)\r\nCaused by: java.lang.invoke.LambdaConversionException: Type mismatch in captured lambda parameter 0: expecting class edu.columbia.cs.psl.phosphor.struct.ControlTaintTagStack, found class java.io.ObjectInputStream\r\n\tat java.lang.Throwable.fillInStackTrace$$PHOSPHORTAGGED(Throwable.java)\r\n\tat java.lang.Throwable.fillInStackTrace$$PHOSPHORTAGGED(Throwable.java:783)\r\n\tat java.lang.Throwable.<init>(Throwable.java:265)\r\n\tat java.lang.Exception.<init>(Exception.java:66)\r\n\tat java.lang.invoke.LambdaConversionException.<init>(LambdaConversionException.java:45)\r\n\tat java.lang.invoke.AbstractValidatingLambdaMetafactory.validateMetafactoryArgs$$PHOSPHORTAGGED(AbstractValidatingLambdaMetafactory.java:256)\r\n\tat java.lang.invoke.LambdaMetafactory.metafactory$$PHOSPHORTAGGED(LambdaMetafactory.java:303)\r\n\tat java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java)\r\n\tat java.lang.invoke.CallSite.makeSite$$PHOSPHORTAGGED(CallSite.java:302)\r\n\t... 6 more\r\n```\r\nHowever, if the flag `-controlTrack` was disabled, Phosphor worked well.\r\n\r\nI found a similar issue https://github.com/Programming-Systems-Lab/phosphor/issues/3, but it failed in my case. It seems this results from the `MultiTaint` mode as `MultiTaint` mode is enabled automatically under `controlTrack`. Please help to have a look.\r\n\r\nThanks,\r\nBihuan"},"comment":{"url":"https://api.github.com/repos/Programming-Systems-Lab/phosphor/issues/comments/234539871","html_url":"https://github.com/Programming-Systems-Lab/phosphor/issues/20#issuecomment-234539871","issue_url":"https://api.github.com/repos/Programming-Systems-Lab/phosphor/issues/20","id":234539871,"user":{"login":"BihuanChen","id":13049768,"avatar_url":"https://avatars.githubusercontent.com/u/13049768?v=3","gravatar_id":"","url":"https://api.github.com/users/BihuanChen","html_url":"https://github.com/BihuanChen","followers_url":"https://api.github.com/users/BihuanChen/followers","following_url":"https://api.github.com/users/BihuanChen/following{/other_user}","gists_url":"https://api.github.com/users/BihuanChen/gists{/gist_id}","starred_url":"https://api.github.com/users/BihuanChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BihuanChen/subscriptions","organizations_url":"https://api.github.com/users/BihuanChen/orgs","repos_url":"https://api.github.com/users/BihuanChen/repos","events_url":"https://api.github.com/users/BihuanChen/events{/privacy}","received_events_url":"https://api.github.com/users/BihuanChen/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T13:12:21Z","updated_at":"2016-07-22T13:12:21Z","body":"Hi Jon,\r\n\r\nI am using HotSpot 1.8.0_91-b14, 64-bit version."}}
{"actor":{"display_login":"BihuanChen"}}