diff --git a/gson/gson-codegen/pom.xml b/gson/gson-codegen/pom.xml
index 07c37403..c2f9499a 100644
--- a/gson/gson-codegen/pom.xml
+++ b/gson/gson-codegen/pom.xml
@@ -82,8 +82,8 @@
maven-compiler-plugin2.5.1
-
- 1.5
+
+ 1.6-proc:none
diff --git a/gson/gson-codegen/src/test/java/com/google/gson/codegen/functional/CodeGenFunctionalTest.java b/gson/gson-codegen/src/test/java/com/google/gson/codegen/functional/CodeGenFunctionalTest.java
new file mode 100644
index 00000000..c01552cd
--- /dev/null
+++ b/gson/gson-codegen/src/test/java/com/google/gson/codegen/functional/CodeGenFunctionalTest.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2012 Gson Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.gson.codegen.functional;
+
+import junit.framework.TestCase;
+
+public class CodeGenFunctionalTest extends TestCase {
+
+ public void testGeneratedJson() {
+ Order order = new Order("toy", 10);
+ // TODO: figure out how to access the generated type adapter
+ }
+}
diff --git a/gson/gson-codegen/src/test/java/com/google/gson/codegen/functional/Order.java b/gson/gson-codegen/src/test/java/com/google/gson/codegen/functional/Order.java
new file mode 100644
index 00000000..dd501743
--- /dev/null
+++ b/gson/gson-codegen/src/test/java/com/google/gson/codegen/functional/Order.java
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2012 Gson Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.gson.codegen.functional;
+
+import com.google.gson.codegen.GeneratedTypeAdapter;
+
+@GeneratedTypeAdapter
+final class Order {
+ private final String itemName;
+ private final int price;
+
+ public Order(String itemName, int price) {
+ this.itemName = itemName;
+ this.price = price;
+ }
+
+ public String getItemName() {
+ return itemName;
+ }
+
+ public int getAmount() {
+ return price;
+ }
+}