hex007 / freej2me

A free J2ME emulator with libretro, awt and sdl2 frontends.
Other
486 stars 75 forks source link

fixed getResourceAsStream bug #132

Closed thetbw closed 2 years ago

thetbw commented 2 years ago

see #131

thetbw commented 2 years ago

error place in 2048 is at this https://github.com/jsmucr/2048-for-J2ME/blob/master/src/game2048/scene/Logo.java#L20 (when load a icon form relative path)

this way is legal from java doc at this https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#getResourceAsStream-java.lang.String-

the resolveName algorithm is copy from openjdk Class.resolveName, image

I removed other out-of-style edits