This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 49608 - avoid reflection to access JavaEditor
Summary: avoid reflection to access JavaEditor
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: API
Depends on: 51705
Blocks:
  Show dependency tree
 
Reported: 2004-09-27 19:15 UTC by Pavel Buzek
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2004-09-27 19:15:49 UTC
Fix reflection from javacore on JavaEditor
(guarded sections).

(note: will be difficult as the java module
depends on javacore; separate module will likely
need to be used)
Comment 1 Pavel Buzek 2004-10-13 17:26:42 UTC
not required for 4.0 (as noted there is no API to achieve this)
Comment 2 Jan Becicka 2004-11-29 09:34:59 UTC
There is no reflection from javacore to JavaEditor AFAIK. Reflection
was used to access some editor features. Anyway this is fixed:

  User: jbecicka
  Date: 04/11/24 07:54:59

  Modified:    src/org/netbeans/modules/java JavaModule.java
  Added:       javacore/src/org/netbeans/modules/javacore
                        FileGuardedResolver.java
               javacore/src/org/netbeans/modules/javacore/internalapi
                        GuardedQuery.java GuardedResolver.java
               src/org/netbeans/modules/java DocumentGuardedResolver.java
  Log:
  Guarded sections management moved from JMManager to separate
classes. Use of reflection API removed.

Comment 3 Quality Engineering 2007-09-20 09:54:47 UTC
Reorganization of java component