harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4323) [jdktools][jpda] JDWP commands VirtualMachine.AllClasses returns not prepared classes
Date Tue, 03 Jul 2007 12:51:04 GMT
[jdktools][jpda] JDWP commands VirtualMachine.AllClasses returns not prepared classes
-------------------------------------------------------------------------------------

                 Key: HARMONY-4323
                 URL: https://issues.apache.org/jira/browse/HARMONY-4323
             Project: Harmony
          Issue Type: Bug
          Components: JDK
         Environment: Windows/x86, Linux/x86
            Reporter: Ivan Popov


JDWP spec does not say anyting about classes returned by AllClasses command. However, JDI
spec for VirtualMachine.allClasses() reads:

  The returned list will include reference types loaded at least 
  to the point of preparation and types (like array) for which 
  preparation is not defined. 

It is unclear who should perform filtering for classes: JDI or JDWP implementation. But it
looks like JDWP agent from RI never reports unprepared classes. It makes sense to adjust Harmony's
JDWP agent to filter out unprepared classes.

This issue may cause intermittent failures of the following JDWP stress tests:

  org.apache.harmony.test.stress.jpda.jdwp.scenario.REFTYPE003.RefTypeTest003
  org.apache.harmony.test.stress.jpda.jdwp.scenario.REFTYPE004.RefTypeTest004


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


Mime
View raw message