harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3287) [drlvm][winx64] Eclipse fails in -Xint with SWTError: No more handles
Date Fri, 02 Mar 2007 15:51:50 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Vladimir Beliaev updated HARMONY-3287:

    Attachment: test.zip

Ok, I was able to prepare test case w/o Eclipse running.

Please see attached test.zip.

In short, the test summary is:

- java part just calls to static native method with 3 long arguments (which are 0)

- native part ignores these arguments and calls to GdiplusStartup (as described in msdn docs)

- as result the GdiplusStartup returns '1' (which means error) on drlvm (works fine on RI)

Note, that: if one reduces the number of arguments of JNI-native function then this test works

Vladimir Beliaev

> [drlvm][winx64] Eclipse fails in -Xint with SWTError: No more handles
> ---------------------------------------------------------------------
>                 Key: HARMONY-3287
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3287
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: windows/em64t
>            Reporter: Vladimir Beliaev
>         Attachments: test.zip
> Yesterday I've tried to start Eclipse on drlvm in interpreter mode (-Xint option) on
> Eclipse failed starting with org.eclipse.swt.SWTError: No more handles
> Would be nice to get this fixed. The lstack trace fragment is below:
> org.eclipse.swt.SWTError: No more handles
>         at org.eclipse.swt.SWT.error(SWT.java:3433)
>         at org.eclipse.swt.SWT.error(SWT.java:3330)
>         at org.eclipse.swt.SWT.error(SWT.java:3301)
>         at org.eclipse.swt.graphics.GC.initGdip(GC.java:3282)
>        ... skipped ...
> Thanks
> Vladimir Beliaev

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message