harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3280) [classlib][suncompat][netbeans] Netbeans has hardcoded references to sun.awt.AppContext
Date Fri, 02 Mar 2007 17:48:51 GMT

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

Vasily Zakharov updated HARMONY-3280:

    Attachment: Harmony-3280-Test.patch

Attached fix and test patches.

The fix adds sun.awt.AppContext class to suncompat module. The class contains three methods
that are used by Netbeans, all three methods throw UnsupportedOperationException.

The test verifies (by its compilation) that sun.awt.AppContext class is present and that three
methods mentioned above throw UnsupportedOperationException.

Of course, the test would fail on RI.

Also, the test would not compile on Harmony unless suncompat module is enabled in deploy/jdk/jre/lib/boot/bootclasspath.properties.

So, I'm not sure if the test should be integrated.

> [classlib][suncompat][netbeans] Netbeans has hardcoded references to sun.awt.AppContext
> ---------------------------------------------------------------------------------------
>                 Key: HARMONY-3280
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3280
>             Project: Harmony
>          Issue Type: Improvement
>          Components: App-Oriented Bug Reports, Classlib
>            Reporter: Vasily Zakharov
>            Priority: Minor
>         Attachments: Harmony-3280-Fix.patch, Harmony-3280-Test.patch
> Netbeans class org.netbeans.modules.editor.EditorModule uses hardcoded references to
RI-specific class sun.awt.AppContext.
> The code is properly wrapped and exceptions are caught, but the direct references make
Netbeans source code non-compilable on Harmony.
> Here's the discussion of this issue in the dev-list: http://thread.gmane.org/gmane.comp.java.harmony.devel/24441
> The respective bug is filed against Netbeans: http://www.netbeans.org/issues/show_bug.cgi?id=97017
> The proposed workaround from Harmony side is adding a stub for sun.awt.AppContext class
to suncompat module.

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

View raw message