Archived:GetResourceAsStream may open incorrect files (Known Issue)
The getResourceAsStream() method call is used to access files/resources stored inside the JAR file.
On S60 phones (including S60 2nd Edition as well as S60 3rd Edition and S60 3rd Edition, Feature Pack 1 devices) the method may in certain situations return the contents of an incorrect file if the JAR file contains a specific set of resource files.
In this case it is also possible to access the manifest file (which should not be available for this method - the only proper way to access the manifest file contents is through the getAppAproperty() method call).
For example, if the JAR file contains in the root directory the files named:
The contents of file "130" can be accessed with "/0" and "/130.
The contents of file "22" can be accessed with "/2" and "/22".
The contents of the manifest file can be accessed with "/" .