Changeset 10746 in josm for trunk/src/com/kitfox/svg/app


Ignore:
Timestamp:
2016-08-06T16:52:01+02:00 (8 years ago)
Author:
Don-vip
Message:

see #11390, see #11924 - replace javax.xml.bind.DatatypeConverter (not visible by default in Java 9) by java.util.Base64 (new in Java 8)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/kitfox/svg/app/data/Handler.java

    r8149 r10746  
    4242import java.net.URLConnection;
    4343import java.net.URLStreamHandler;
     44import java.util.Base64;
    4445import java.util.logging.Level;
    4546import java.util.logging.Logger;
    46 
    47 import javax.xml.bind.DatatypeConverter;
    4847
    4948/**
     
    7170                try
    7271                {
    73                     buf = DatatypeConverter.parseBase64Binary(content.substring(7));
     72                    buf = Base64.getDecoder().decode(content.substring(7));
    7473                }
    7574                catch (IllegalArgumentException e)
Note: See TracChangeset for help on using the changeset viewer.