JDK-4109381 : Type safety flaw in shipped rmi classes
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1998-02-04
  • Updated: 1998-02-04
  • Resolved: 1998-02-04
Related Reports
Duplicate :  
Description

Name: rm29839			Date: 02/04/98


sun.rmi.server.ActivationGroupImp access a field
in java.rmmi.activation.ActivationGroup that 
has access flags of 0x8 --> a static field
which can only be accessed by a class within
the package. This is a type safety flaw, even
though classes loaded from disk are not 
verified, they should be.

The field is:
Class clas$java$rmi$MarshelledObject
(Review ID: 24496)
======================================================================

Comments
EVALUATION ann.wollrath@east, 1998-02-04: This was a problem with javac generating class literals that refer to private static fields of a parent class. It was caught when strict VM checking was turned on. It is already fixed (4106051).
11-06-2004