harmony-commits mailing list archives

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

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

Gregory Shimansky commented on HARMONY-3287:

The function Graphics_new tries to create a new Graphics object. This Graphics object has
an overloaded new operator which calls GdipAlloc function but it returns NULL. In MSDN documentation
I found that before calling any GDI+ functions it is necessary to call GdiplusStartup function.
It is called in SWT code from GdiplusStartup native method. But on DRLVM this function for
some reason returns 1, which means GenericError according to MSDN.

I didn't find out the reason for this GdiplusStartup failure so far. Its arguments seem to
be correct to me.

> [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
> 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