Get the JDK source (per the OpenJDK instructions):
hg clone http://hg.openjdk.java.net/portola/portola
cd portola
bash ./get_source.shYou need an existing Alpine with an already-built JDK. I have a Docker image of Alpine with glibc-based Zulu JDK:
Get the JDK source (per the OpenJDK instructions):
hg clone http://hg.openjdk.java.net/portola/portola
cd portola
bash ./get_source.shYou need an existing Alpine with an already-built JDK. I have a Docker image of Alpine with glibc-based Zulu JDK:
| module.exports = function(str) { | |
| var buf = Buffer(str.replace(/-/g, '+').replace(/_/g, '/'), 'base64'); | |
| nodes = []; | |
| for (var i = 6; i < buf.length; i += 2) | |
| nodes.push(buf.readUInt16BE(i)); | |
| return { | |
| version: buf.readInt32BE(0), // just a guess | |
| charClass: buf[4], | |
| _: buf[5], // what's this? | |
| nodes: nodes |