You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generates:
java.lang.IllegalAccessError: tried to access method javax.swing.AbstractListModel.fireContentsChanged(Ljava/lang/Object;II)V from class ru.smarty.TestProtectedInheritance$$$$anonfun$$2
If I comment out self type declaration everything goes well:
Disassembler shows generation of proxy method
public void protected$$fireContentsChanged(TestProtectedInheritance paramTestProtectedInheritance, Object paramObject, int paramInt1, int paramInt2)
{
paramTestProtectedInheritance.fireContentsChanged(paramObject, paramInt1, paramInt2);
}
In second code while in first example code is made directly. No compile time error is given.
=== Additional information ===
Might be caused by #2296.
=== What versions of the following are you using? ===
Scala: 2.8.1
Java: jdk1.6.0_21
Operating system: Windows 7
The text was updated successfully, but these errors were encountered:
Requires Swing:
Generates:
java.lang.IllegalAccessError: tried to access method javax.swing.AbstractListModel.fireContentsChanged(Ljava/lang/Object;II)V from class ru.smarty.TestProtectedInheritance$$$$anonfun$$2
If I comment out self type declaration everything goes well:
No exception.
Disassembler shows generation of proxy method
public void protected$$fireContentsChanged(TestProtectedInheritance paramTestProtectedInheritance, Object paramObject, int paramInt1, int paramInt2)
{
paramTestProtectedInheritance.fireContentsChanged(paramObject, paramInt1, paramInt2);
}
In second code while in first example code is made directly. No compile time error is given.
=== Additional information ===
Might be caused by #2296.
=== What versions of the following are you using? ===
The text was updated successfully, but these errors were encountered: