From: chibash Date: Sun, 1 Dec 2013 16:49:38 +0000 (+0900) Subject: fixed JASSIST-212 X-Git-Tag: rel_3_18_2_ga~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=457a8b216d56cd244b74f17b6b0a510595deb1fe;p=javassist.git fixed JASSIST-212 --- diff --git a/src/test/test4/JIRA212.java b/src/test/test4/JIRA212.java new file mode 100644 index 00000000..4c532d00 --- /dev/null +++ b/src/test/test4/JIRA212.java @@ -0,0 +1,23 @@ +package test4; + +public class JIRA212 { + public Long id; + public String name; + public void test() { + JIRA212 object = new JIRA212(); + + object.name = "test"; // get or set string value + + try { // in try + object.id = 100L; // get or set long value + String name = object.name; // get or set string value + } catch (Throwable t) { + t.printStackTrace(); + } + } + + public Long getId() { return id; } + public void setId(Long id) { this.id = id; } + public String getName() { return name; } + public void setName(String name) { this.name = name; } +}