Re:Google’s Supreme Court faceoff with Oracle was a disaster...
by imtringued on Friday October 09, 2020 @05:04AM
(#24728101)
I wonder how much you can game this.
Rename java.lang.String to google.java.lang.String and make google's dex compiler automatically look in the google namespace by default.
Not allowed? How about we just hash the Java API names and then let the compiler automatically apply a mapping from hash to google name.
In the worst case Google is probably still allowed to ship a tool that renames uses of the java api directly in the source code and switches it over to whatever Google's naming scheme is. If this wasn't allowed it would be equivalent to making it illegal to not use the Java api because doing the same chance by hand would is not meaningfully different.
Rename java.lang.String to google.java.lang.String and make google's dex compiler automatically look in the google namespace by default.
Not allowed? How about we just hash the Java API names and then let the compiler automatically apply a mapping from hash to google name.
In the worst case Google is probably still allowed to ship a tool that renames uses of the java api directly in the source code and switches it over to whatever Google's naming scheme is. If this wasn't allowed it would be equivalent to making it illegal to not use the Java api because doing the same chance by hand would is not meaningfully different.