Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
014b2858
Commit
014b2858
authored
Jul 24, 2012
by
halatmit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added kawa-1.11-changes.diff to lib
parent
5b941950
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
109 additions
and
0 deletions
+109
-0
appinventor/lib/kawa/README
appinventor/lib/kawa/README
+3
-0
appinventor/lib/kawa/kawa-1.11-changes.diff
appinventor/lib/kawa/kawa-1.11-changes.diff
+106
-0
No files found.
appinventor/lib/kawa/README
View file @
014b2858
The kawa jars in this directory include modifications for App Inventor.
The changes are in the file
kawa-1.11-changes.diff
\ No newline at end of file
appinventor/lib/kawa/kawa-1.11-changes.diff
0 → 100644
View file @
014b2858
==== gnu/bytecode/ObjectType.java#1 - gnu/bytecode/ObjectType.java#2 ====
45c45,49
< return t.isExisting();
---
> // start Google
> return ! (t instanceof ObjectType) || ((ObjectType) t).isExisting();
> // instead of
> // return t.isExisting();
> // end Google
89a94,100
> // start Google
> try
> {
> return Class.forName(cname, false, ObjectType.class.getClassLoader());
> }
> catch (java.lang.ClassNotFoundException ex)
> {
90a102,105
> }
> // instead of
> // return Class.forName(cname, false, getContextClassLoader());
> // end Google
171a187
> // if Google
172a189
> // end Google
176c193,197
< return getMethods(filter, searchSupers, result);
---
> // if Google
> return Type.objectType.getMethods(filter, searchSupers, result, context);
> // instead of
> // return getMethods(filter, searchSupers, result);
> // end Google
==== gnu/expr/Compilation.java#1 - gnu/expr/Compilation.java#2 ====
2444,2445c2444,2446
< if (! mustCompile && ! ModuleExp.compilerAvailable)
< error('e', "this expression must be compiled, but compiler is unavailable");
---
> if (! mustCompile && ! ModuleExp.compilerAvailable) {
> error('w', "this expression claimed that it must be compiled, but compiler is unavailable");
> } else {
2447a2449
> }
==== gnu/expr/ModuleExp.java#1 - gnu/expr/ModuleExp.java#2 ====
174a175,190
> // start Google
> /** Flag to force no compilation */
> public static boolean neverCompile = false;
>
> public static void mustNeverCompile() {
> alwaysCompile = false;
> neverCompile = true;
> compilerAvailable = false;
> }
>
> public static void mustAlwaysCompile() {
> alwaysCompile = true;
> neverCompile = false;
> }
> // end Google
>
204a221,234
>
> // if Google -- NOTE: EVERYTHING FAILS IF THESE ENABLED
> // alwaysCompile = false;
> // neverCompile = true;
> // compilerAvailable = false;
>
> if (alwaysCompile && neverCompile)
> {
> throw new RuntimeException("alwaysCompile and neverCompile are both true!");
> }
> if (neverCompile)
> comp.mustCompile = false;
> // end Google
>
212a243,246
> // if Google
> // if (! alwaysCompile && ! comp.mustCompile)
> // { // optimization - don't generate unneeded Class.
> // instead of
214a249
> // end Google
244c279
< return null;
---
> return false;
273c308
< if (inst instanceof Class)
---
> if (inst instanceof Class) {
275c310
<
---
> }
==== gnu/text/Path.java#1 - gnu/text/Path.java#2 ====
13c13
< implements javax.tools.FileObject
---
> // implements javax.tools.FileObject
==== kawa/Version.java#1 - kawa/Version.java#2 ====
5c5
< return "1.11 (revision 6811M)";
---
> return "1.11";
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment