Commit 78f6e0c7 authored by Jeffrey I. Schiller's avatar Jeffrey I. Schiller

Fix issue #309

declare $define as protected in Form.java because it needs to be
overridden by Screen1 which is always in a different package.

Change-Id: I318d453fa435700c72dfde310afac11a197ff456
parent 978ee011
......@@ -441,7 +441,8 @@ public class Form extends Activity
* {@link com.google.appinventor.components.scripts.LangDefXmlGenerator},
* respectively. The actual implementation appears in {@code runtime.scm}.
*/
void $define() {
protected void $define() { // This must be declared protected because we are called from Screen1 which subclasses
// us and isn't in our package.
throw new UnsupportedOperationException();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment