You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Strigun (JIRA)" <ji...@apache.org> on 2007/08/17 16:10:31 UTC
[jira] Created: (HARMONY-4647) JFCMark.LoadImageDemo doesn't work
JFCMark.LoadImageDemo doesn't work
-----------------------------------
Key: HARMONY-4647
URL: https://issues.apache.org/jira/browse/HARMONY-4647
Project: Harmony
Issue Type: Bug
Components: App-Oriented Bug Reports
Environment: Win IA32
Reporter: Vladimir Strigun
The bug is reproduced on DRLVM release build (rev 566855).
Steps to reproduce:
1. download JFCMark bench (http://www.excelsior-usa.com/jfcmark.html)
2. configure execution scripts (setVM.bat and ./ImageDemo/runHS_load.bat)
3. execute runHS_load.bat
Attached picture shows that images doesn't loaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-4647) JFCMark.LoadImageDemo doesn't work
Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521785 ]
Andrey Pavlenko commented on HARMONY-4647:
------------------------------------------
This demo does not work on Hrmony because it depends on RI's internal classes. To run this demo on Harmony replace the method clearImagesCache() with the following:
private static void clearImagesCache() {
try {
if(clear == null) {
Class c = Toolkit.getDefaultToolkit().getClass();
Field cacheField = c.getDeclaredField("imageCache");
cacheField.setAccessible(true);
softCache = cacheField.get(null);
clear = softCache.getClass().getMethod("clear", null);
}
clear.invoke(softCache, null);
} catch(Exception e) {
System.out.println("unexpected: " + e);
System.exit(-1);
}
}
With the above patch this demo runs on Harmony, but it does not produce any results - OOME occurs.
> JFCMark.LoadImageDemo doesn't work
> -----------------------------------
>
> Key: HARMONY-4647
> URL: https://issues.apache.org/jira/browse/HARMONY-4647
> Project: Harmony
> Issue Type: Bug
> Components: App-Oriented Bug Reports
> Environment: Win IA32
> Reporter: Vladimir Strigun
> Attachments: LoadImageDemo.JPG
>
>
> The bug is reproduced on DRLVM release build (rev 566855).
> Steps to reproduce:
> 1. download JFCMark bench (http://www.excelsior-usa.com/jfcmark.html)
> 2. configure execution scripts (setVM.bat and ./ImageDemo/runHS_load.bat)
> 3. execute runHS_load.bat
> Attached picture shows that images doesn't loaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4647) JFCMark.LoadImageDemo doesn't work
Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Pavlenko updated HARMONY-4647:
-------------------------------------
Attachment: LoadImageDemo.patch
You could use this patch to run the demo on Harmony.
> JFCMark.LoadImageDemo doesn't work
> -----------------------------------
>
> Key: HARMONY-4647
> URL: https://issues.apache.org/jira/browse/HARMONY-4647
> Project: Harmony
> Issue Type: Bug
> Components: App-Oriented Bug Reports
> Environment: Win IA32
> Reporter: Vladimir Strigun
> Attachments: LoadImageDemo.JPG, LoadImageDemo.patch
>
>
> The bug is reproduced on DRLVM release build (rev 566855).
> Steps to reproduce:
> 1. download JFCMark bench (http://www.excelsior-usa.com/jfcmark.html)
> 2. configure execution scripts (setVM.bat and ./ImageDemo/runHS_load.bat)
> 3. execute runHS_load.bat
> Attached picture shows that images doesn't loaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-4647) JFCMark.LoadImageDemo doesn't work
Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Petrenko reassigned HARMONY-4647:
----------------------------------------
Assignee: Alexey Petrenko
> JFCMark.LoadImageDemo doesn't work
> -----------------------------------
>
> Key: HARMONY-4647
> URL: https://issues.apache.org/jira/browse/HARMONY-4647
> Project: Harmony
> Issue Type: Bug
> Components: App-Oriented Bug Reports
> Environment: Win IA32
> Reporter: Vladimir Strigun
> Assignee: Alexey Petrenko
> Attachments: LoadImageDemo.JPG, LoadImageDemo.patch
>
>
> The bug is reproduced on DRLVM release build (rev 566855).
> Steps to reproduce:
> 1. download JFCMark bench (http://www.excelsior-usa.com/jfcmark.html)
> 2. configure execution scripts (setVM.bat and ./ImageDemo/runHS_load.bat)
> 3. execute runHS_load.bat
> Attached picture shows that images doesn't loaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-4647) JFCMark.LoadImageDemo doesn't work
Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Petrenko closed HARMONY-4647.
------------------------------------
Resolution: Won't Fix
The patch was sent to Excelsior.
> JFCMark.LoadImageDemo doesn't work
> -----------------------------------
>
> Key: HARMONY-4647
> URL: https://issues.apache.org/jira/browse/HARMONY-4647
> Project: Harmony
> Issue Type: Bug
> Components: App-Oriented Bug Reports
> Environment: Win IA32
> Reporter: Vladimir Strigun
> Assignee: Alexey Petrenko
> Attachments: LoadImageDemo.JPG, LoadImageDemo.patch
>
>
> The bug is reproduced on DRLVM release build (rev 566855).
> Steps to reproduce:
> 1. download JFCMark bench (http://www.excelsior-usa.com/jfcmark.html)
> 2. configure execution scripts (setVM.bat and ./ImageDemo/runHS_load.bat)
> 3. execute runHS_load.bat
> Attached picture shows that images doesn't loaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4647) JFCMark.LoadImageDemo doesn't work
Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Strigun updated HARMONY-4647:
--------------------------------------
Attachment: LoadImageDemo.JPG
Screenshot
> JFCMark.LoadImageDemo doesn't work
> -----------------------------------
>
> Key: HARMONY-4647
> URL: https://issues.apache.org/jira/browse/HARMONY-4647
> Project: Harmony
> Issue Type: Bug
> Components: App-Oriented Bug Reports
> Environment: Win IA32
> Reporter: Vladimir Strigun
> Attachments: LoadImageDemo.JPG
>
>
> The bug is reproduced on DRLVM release build (rev 566855).
> Steps to reproduce:
> 1. download JFCMark bench (http://www.excelsior-usa.com/jfcmark.html)
> 2. configure execution scripts (setVM.bat and ./ImageDemo/runHS_load.bat)
> 3. execute runHS_load.bat
> Attached picture shows that images doesn't loaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.