Microsoft KB Archive/922969

From BetaArchive Wiki

Article ID: 922969

Article Last Modified on 11/15/2007



APPLIES TO

  • Microsoft Visual J# .NET Redistributable Package



SYMPTOMS

A Visual J# .NET application may not correctly load different versions of the same class from different assemblies on a computer that is running Microsoft Visual J# .NET Redistributable Package 2.0.

Consider the following scenario in a Microsoft Visual J# .NET application:

  • You use the Java.Lang.Class.forName method to load a Visual J# .NET class from a specific assembly.
  • You load a different version of the same class from a different assembly.

In this scenario, you may experience the following symptoms:

  • If you use the Microsoft .NET Framework 1.1, the application always loads only the first version of the class.
  • If you use the Microsoft .NET Framework 2.0, you receive a RuntimeException exception error message when the application loads the second version of the class.

This problem also occurs if the following conditions are true:

  • You use the Java.Lang.Class.forName method to load both the .NET Framework 1.1 class and the .NET Framework 2.0 class in the application. However, you load these classes from different assemblies.
  • Then, you use the Class.FromType function to retrieve the class.

Note This problem only occurs when you use the Visual J# .NET runtime or the library code.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

Prerequisites

You must have the Microsoft Visual J# .NET Redistributable Package version 2.0 installed to apply this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name File version File size Date Time Platform
vjslib.dll 2.0.50727.181 3,661,824 13-Jul-2006 13:22 x86


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Keywords: kbhotfixserver kbqfe kbpubtypekc KB922969