[BLUEJ-411] jar-Libraries are not imported correctly
For a school assignment I had to import an library, which was distributed as an .jar-File. Upon creating an object, some parts of this library don't work while other do correctly. I get an error message which is the following: {noformat}java.lang.IllegalAccessError: tried to access method DarstellungImpl.FuellFarbeSetzen(Ljava/lang/String;)V from class ZELLENSYMBOL at ZELLENSYMBOL.(ZELLENSYMBOL.java:32) at ZELLE.(ZELLE.java:18) at LABYRINTH.(LABYRINTH.java:15) {noformat} The classes ZELLE and LABYRINTH were written by me, and compile without any error. The class ZELLENSYMBOL was distributed as an class-File and the Method which is tried to access was distributed in the Library. All of these classes are compiling without any error. I rechecked this in version 3.0.3, and everything works correctly in this version. To make sure that there is no mistake, I tried the same in NetBeans, and it works too.
I've attached all three classes and the library, too.
Issue metadata
- Issue type: Bug
- Priority: High
- Fix versions: 3.0.7