Dave,

Another problem is this:
>
> nativeMethods.m:#include "CodenameOne_GLViewController.h"


I agree that this probably doesn't belong in the nativeMethods.m file since
nativeMethods.m is part of ParparVM and  CodenameOne_GLViewController.h is
part of CN1 --- ParparVM shouldn't depend on CN1.

Nonetheless, right now it looks like nativeMethods.m does need to use a few
things from CN1, and that's why the dependency is there.

The big problem for my build, probably the fatal one, is that last week's
> builds generated this code for enums
>
> JAVA_OBJECT 
> __VALUE_OF_yspahan_YspahanConstants_ymisc(CODENAME_ONE_THREAD_STATE,
> JAVA_OBJECT value) {
>         JAVA_ARRAY values = (JAVA_ARRAY)get_static_
> yspahan_YspahanConstants_ymisc__VALUES(threadStateData);
>     JAVA_ARRAY_OBJECT* data = (JAVA_ARRAY_OBJECT*)values->data;
>
> whereas this week's builds generate this code
>
> JAVA_OBJECT 
> __VALUE_OF_yspahan_YspahanConstants_ymisc(CODENAME_ONE_THREAD_STATE,
> JAVA_OBJECT value) {
>         JAVA_ARRAY values = (JAVA_ARRAY)get_static_
> yspahan_YspahanConstants_ymisc_ENUM_VALUES(threadStateData);
>     JAVA_ARRAY_OBJECT* data = (JAVA_ARRAY_OBJECT*)values->data;
>     int len = values->length;


I'm not sure where the second version would come from.  Perhaps different
versions of the JDK produce different naming conventions for generating
enums.  The class in question (yspahan.YspahanConstants), how was it
compiled?  E.g.  Is the source actually part of a Codename One project, or
was it compiled in another way and converted to, for example, a cn1lib?
What version of the JDK was used to compile it, and what were Java source
and bytecode versions were being targeted?

I have built  several projects with the "Include Source" box checked, and
then done a grep for _ENUM_ but there are no results.  Meaning that my
builds are still producing the first version you posted.

Steve

On Mon, Aug 28, 2017 at 3:21 PM, Dave Dyer <ddyer-goog...@real-me.net>
wrote:

> Another problem is this:
>
> nativeMethods.m:#include "CodenameOne_GLViewController.h"
>
> there is no longer a file with that name, and this is the only reference
> to it.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/
> group/codenameone-discussions.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/codenameone-discussions/60a7c411-20e3-4f10-8d31-
> d6199d226160%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/60a7c411-20e3-4f10-8d31-d6199d226160%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKXTtC3NxgZjDqN9n5L%2B8pq3Wo%2B%3DcVZu1CnQvzut%2B7TH7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to