Re: Problem with "Not Implemented" in IKVM.OpenJDK.Media when running .dll

Volker Berlin <[email protected]> Wed, 7 Sep 2016 07:54:47 +0200
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
You can not replace a internal class of the Java VM. Do you have a patch
for the class?

http://ikvm.cvs.sourceforge.net/viewvc/ikvm/ikvm/openjdk/com/sun/imageio/plugins/jpeg/JPEGImageReader.java?annotate=1.3

Volker


Am 06.09.2016 um 20:17 schrieb Joel Hirsh:
> I have a .jar file that I have converted with ikvm, and mostly works
> great.
>
> However,  I am getting an error for one missing method when I run my dll.
>
> java.lang.Error: Not Implemented
>   at
> com.sun.imageio.plugins.jpeg.JPEGImageReader.getImageMetadata(JPEGImageReader.java:63)
>
> This call is coming from pdfbox (org.apache.pdfbox) so I can see that
> the call is there, but don't have any ability to change it.
>
> I thought that perhaps IKVM.OpenJDK.Media.dll had some class files
> that were out of date, and that replacing them with the latest
> versions would help this.  However when I tried to do that I got
> warnings like:
>
> [_ikvmc_] warning IKVMC0109: Skipping class:
> "com.sun.imageio.plugins.jpeg.JPEGImageReader"
>
> [_ikvmc_] (class is already available in referenced assembly
> "IKVM.OpenJDK.Media, Version=7.2.4630.5, Culture=neutral,
> PublicKeyToken=13235d27fcbfff58")
>
> Is there some way that I can correct this?  I though of rebuilding
> IKVM.OpenJDK.Media.dll if there is a process for that.  Or is there a
> way to override the classes in the .dll?
>
> Thanks
>
>
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Ikvm-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ikvm-developers

------------------------------------------------------------------------------

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers