Remove build errors on JDK8

This commit is contained in:
konsoletyper 2015-03-08 12:18:57 +03:00
parent 8b168b53eb
commit 7869173ac2
368 changed files with 376 additions and 577 deletions

View File

@ -36,7 +36,7 @@ import org.teavm.debugging.javascript.*;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class ChromeRDPDebugger implements JavaScriptDebugger, ChromeRDPExchangeConsumer {
private static final Logger logger = LoggerFactory.getLogger(ChromeRDPDebugger.class);

View File

@ -17,7 +17,7 @@ package org.teavm.chromerdp;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public interface ChromeRDPExchange {
void send(String message);

View File

@ -17,7 +17,7 @@ package org.teavm.chromerdp;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public interface ChromeRDPExchangeConsumer {
void setExchange(ChromeRDPExchange exchange);

View File

@ -19,7 +19,7 @@ import java.io.IOException;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public interface ChromeRDPExchangeListener {
void received(String message) throws IOException;

View File

@ -20,7 +20,7 @@ import org.teavm.debugging.javascript.JavaScriptVariable;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class RDPLocalVariable implements JavaScriptVariable {
private String name;

View File

@ -23,7 +23,7 @@ import java.util.concurrent.atomic.AtomicReference;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class RDPScope extends AbstractMap<String, RDPLocalVariable> {
private AtomicReference<Map<String, RDPLocalVariable>> backingMap = new AtomicReference<>();

View File

@ -23,7 +23,7 @@ import org.teavm.debugging.javascript.JavaScriptVariable;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class RDPValue implements JavaScriptValue {
private AtomicReference<String> representation = new AtomicReference<>();

View File

@ -20,7 +20,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class CallArgumentDTO {

View File

@ -19,7 +19,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class PropertyDescriptorDTO {

View File

@ -20,7 +20,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class RemoteObjectDTO {

View File

@ -19,7 +19,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ScopeDTO {

View File

@ -20,7 +20,7 @@ import org.teavm.chromerdp.data.CallArgumentDTO;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class CallFunctionCommand {

View File

@ -20,7 +20,7 @@ import org.teavm.chromerdp.data.RemoteObjectDTO;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class CallFunctionResponse {

View File

@ -19,7 +19,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class GetPropertiesCommand {

View File

@ -20,7 +20,7 @@ import org.teavm.chromerdp.data.PropertyDescriptorDTO;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class GetPropertiesResponse {

View File

@ -23,7 +23,7 @@ import org.teavm.platform.metadata.*;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class DeclaringClassMetadataGenerator implements ClassScopedMetadataGenerator {
@Override

View File

@ -20,7 +20,7 @@ import org.teavm.classlib.impl.unicode.CLDRReader;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class FirstDayOfWeekMetadataGenerator extends WeekMetadataGenerator {
@Override

View File

@ -24,7 +24,7 @@ import org.teavm.model.instructions.InvokeInstruction;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class JavacSupport implements ClassHolderTransformer {
@Override

View File

@ -20,7 +20,7 @@ import org.teavm.classlib.impl.unicode.CLDRReader;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class MinimalDaysInFirstWeekMetadataGenerator extends WeekMetadataGenerator {
@Override

View File

@ -32,7 +32,7 @@ import org.teavm.model.ValueType;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class ServiceLoaderSupport implements Generator, DependencyListener {
private Set<String> achievedClasses = new HashSet<>();

View File

@ -22,7 +22,7 @@ import org.teavm.platform.metadata.*;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public abstract class WeekMetadataGenerator implements MetadataGenerator {
@Override

View File

@ -20,7 +20,7 @@ import java.util.List;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class JCLClass {
public final String name;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.impl.report;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class JCLItem {
public final JCLItemType type;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.impl.report;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
enum JCLItemType {
FIELD,

View File

@ -20,7 +20,7 @@ import java.util.List;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class JCLPackage {
public final String name;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.impl.report;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
enum JCLStatus {
FOUND,

View File

@ -20,7 +20,7 @@ import org.teavm.platform.metadata.*;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class AvailableLocalesMetadataGenerator implements MetadataGenerator {
@Override

View File

@ -21,7 +21,7 @@ import org.teavm.platform.metadata.*;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class CLDRHelper {
public static String getCode(String language, String country) {

View File

@ -21,7 +21,7 @@ import org.teavm.platform.metadata.*;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class LikelySubtagsMetadataGenerator implements MetadataGenerator {
@Override

View File

@ -19,7 +19,7 @@ import org.teavm.classlib.java.lang.TString;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public interface TDataInput {
void readFully(byte[] b) throws TIOException;

View File

@ -19,7 +19,7 @@ import org.teavm.classlib.java.lang.*;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TDataInputStream extends TFilterInputStream implements TDataInput {
byte[] buff;

View File

@ -29,37 +29,16 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
protected int written;
byte buff[];
/**
* Constructs a new {@code DataOutputStream} on the {@code OutputStream}
* {@code out}. Note that data written by this stream is not in a human
* readable form but can be reconstructed by using a {@link DataInputStream}
* on the resulting output.
*
* @param out
* the target stream for writing.
*/
public TDataOutputStream(TOutputStream out) {
super(out);
buff = new byte[8];
}
/**
* Flushes this stream to ensure all pending data is sent out to the target
* stream. This implementation then also flushes the target stream.
*
* @throws IOException
* if an error occurs attempting to flush this stream.
*/
@Override
public void flush() throws TIOException {
super.flush();
}
/**
* Returns the total number of bytes written to the target stream so far.
*
* @return the number of bytes written to the target stream.
*/
public final int size() {
if (written < 0) {
written = TInteger.MAX_VALUE;
@ -67,23 +46,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
return written;
}
/**
* Writes {@code count} bytes from the byte array {@code buffer} starting at
* {@code offset} to the target stream.
*
* @param buffer
* the buffer to write to the target stream.
* @param offset
* the index of the first byte in {@code buffer} to write.
* @param count
* the number of bytes from the {@code buffer} to write.
* @throws IOException
* if an error occurs while writing to the target stream.
* @throws NullPointerException
* if {@code buffer} is {@code null}.
* @see DataInputStream#readFully(byte[])
* @see DataInputStream#readFully(byte[], int, int)
*/
@Override
public void write(byte buffer[], int offset, int count) throws TIOException {
if (buffer == null) {
@ -93,64 +55,24 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
written += count;
}
/**
* Writes a byte to the target stream. Only the least significant byte of
* the integer {@code oneByte} is written.
*
* @param oneByte
* the byte to write to the target stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readByte()
*/
@Override
public void write(int oneByte) throws TIOException {
out.write(oneByte);
written++;
}
/**
* Writes a boolean to the target stream.
*
* @param val
* the boolean value to write to the target stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readBoolean()
*/
@Override
public final void writeBoolean(boolean val) throws TIOException {
out.write(val ? 1 : 0);
written++;
}
/**
* Writes an 8-bit byte to the target stream. Only the least significant
* byte of the integer {@code val} is written.
*
* @param val
* the byte value to write to the target stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readByte()
* @see DataInputStream#readUnsignedByte()
*/
@Override
public final void writeByte(int val) throws TIOException {
out.write(val);
written++;
}
/**
* Writes the low order bytes from a string to the target stream.
*
* @param str
* the string containing the bytes to write to the target stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readFully(byte[])
* @see DataInputStream#readFully(byte[],int,int)
*/
public final void writeBytes(TString str) throws TIOException {
if (str.length() == 0) {
return;
@ -163,17 +85,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
written += bytes.length;
}
/**
* Writes a 16-bit character to the target stream. Only the two lower bytes
* of the integer {@code val} are written, with the higher one written
* first. This corresponds to the Unicode value of {@code val}.
*
* @param val
* the character to write to the target stream
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readChar()
*/
@Override
public final void writeChar(int val) throws TIOException {
buff[0] = (byte) (val >> 8);
@ -182,17 +93,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
written += 2;
}
/**
* Writes the 16-bit characters contained in {@code str} to the target
* stream.
*
* @param str
* the string that contains the characters to write to this
* stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readChar()
*/
@Override
public final void writeChars(TString str) throws TIOException {
byte newBytes[] = new byte[str.length() * 2];
@ -205,46 +105,16 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
written += newBytes.length;
}
/**
* Writes a 64-bit double to the target stream. The resulting output is the
* eight bytes resulting from calling Double.doubleToLongBits().
*
* @param val
* the double to write to the target stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readDouble()
*/
@Override
public final void writeDouble(double val) throws TIOException {
writeLong(TDouble.doubleToLongBits(val));
}
/**
* Writes a 32-bit float to the target stream. The resulting output is the
* four bytes resulting from calling Float.floatToIntBits().
*
* @param val
* the float to write to the target stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readFloat()
*/
@Override
public final void writeFloat(float val) throws TIOException {
writeInt(TFloat.floatToIntBits(val));
}
/**
* Writes a 32-bit int to the target stream. The resulting output is the
* four bytes, highest order first, of {@code val}.
*
* @param val
* the int to write to the target stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readInt()
*/
@Override
public final void writeInt(int val) throws TIOException {
buff[0] = (byte) (val >> 24);
@ -255,16 +125,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
written += 4;
}
/**
* Writes a 64-bit long to the target stream. The resulting output is the
* eight bytes, highest order first, of {@code val}.
*
* @param val
* the long to write to the target stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readLong()
*/
@Override
public final void writeLong(long val) throws TIOException {
buff[0] = (byte) (val >> 56);
@ -292,18 +152,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
return offset;
}
/**
* Writes the specified 16-bit short to the target stream. Only the lower
* two bytes of the integer {@code val} are written, with the higher one
* written first.
*
* @param val
* the short to write to the target stream.
* @throws IOException
* if an error occurs while writing to the target stream.
* @see DataInputStream#readShort()
* @see DataInputStream#readUnsignedShort()
*/
@Override
public final void writeShort(int val) throws TIOException {
buff[0] = (byte) (val >> 8);
@ -319,19 +167,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
return offset;
}
/**
* Writes the specified encoded in {@link DataInput modified UTF-8} to this
* stream.
*
* @param str
* the string to write to the target stream encoded in
* {@link DataInput modified UTF-8}.
* @throws IOException
* if an error occurs while writing to the target stream.
* @throws UTFDataFormatException
* if the encoded string is longer than 65535 bytes.
* @see DataInputStream#readUTF()
*/
@Override
public final void writeUTF(TString str) throws TIOException {
long utfCount = countUTFBytes(str);
@ -377,5 +212,4 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
}
return offset;
}
}

View File

@ -20,7 +20,7 @@ import org.teavm.classlib.java.lang.TString;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TPushbackInputStream extends TFilterInputStream {
protected byte[] buf;

View File

@ -19,7 +19,7 @@ import org.teavm.classlib.java.lang.TString;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TUTFDataFormatException extends TIOException {
private static final long serialVersionUID = -6383472574962319733L;

View File

@ -23,7 +23,7 @@ import org.teavm.model.MethodReference;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class LongNativeGenerator implements Generator {
@Override

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TArrayIndexOutOfBoundsException extends TIndexOutOfBoundsException {
private static final long serialVersionUID = 5221353436321708950L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TArrayStoreException extends TRuntimeException {
private static final long serialVersionUID = 3911921304974631232L;

View File

@ -23,7 +23,7 @@ import org.teavm.platform.metadata.ClassScopedMetadataProvider;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TClass<T> extends TObject {
TString name;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public abstract class TClassLoader extends TObject {
private TClassLoader parent;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TClassNotFoundException extends TReflectiveOperationException {
private static final long serialVersionUID = -1162632869775788325L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TCloneNotSupportedException extends TException {
private static final long serialVersionUID = 4908200987785128012L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public interface TCloneable {
}

View File

@ -20,7 +20,7 @@ import org.teavm.javascript.spi.Rename;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public abstract class TEnum<E extends TEnum<E>> extends TObject implements TComparable<E>, TSerializable {
private TString name;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TIllegalAccessException extends ReflectiveOperationException {
private static final long serialVersionUID = 8240407889170934565L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TIllegalMonitorStateException extends TRuntimeException {
private static final long serialVersionUID = 7694307746228488658L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TIncompatibleClassChangeError extends TLinkageError {
private static final long serialVersionUID = 366119408566298082L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TInstantiationException extends ReflectiveOperationException {
private static final long serialVersionUID = 8771605296206833516L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TInterruptedException extends Exception {
private static final long serialVersionUID = -7832805114281254695L;

View File

@ -19,7 +19,7 @@ import org.teavm.classlib.java.util.TIterator;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public interface TIterable<T> {
TIterator<T> iterator();

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TLinkageError extends TError {
private static final long serialVersionUID = 9176544705010852435L;

View File

@ -19,7 +19,7 @@ import org.teavm.javascript.spi.GeneratedBy;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TLong extends TNumber implements TComparable<TLong> {
public static final long MIN_VALUE = -0x8000000000000000L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TNegativeArraySizeException extends TRuntimeException {
private static final long serialVersionUID = 4838944281468611671L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TNoSuchFieldError extends TIncompatibleClassChangeError {
private static final long serialVersionUID = 7907885242472547035L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TNoSuchMethodError extends TIncompatibleClassChangeError {
private static final long serialVersionUID = 7907885242472547035L;

View File

@ -27,7 +27,7 @@ import org.teavm.platform.async.AsyncCallback;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@Superclass("")
public class TObject {

View File

@ -20,7 +20,7 @@ import org.teavm.classlib.java.nio.TCharBuffer;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public interface TReadable {
int read(TCharBuffer cb) throws TIOException;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TReflectiveOperationException extends TException {
private static final long serialVersionUID = -455785869284249992L;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public final class TStrictMath extends TObject {
public static double E = 2.71828182845904523536;

View File

@ -26,7 +26,7 @@ import org.teavm.classlib.java.util.regex.TPattern;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class TString extends TObject implements TSerializable, TComparable<TString>, TCharSequence {
public static final TComparator<TString> CASE_INSENSITIVE_ORDER = new TComparator<TString>() {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TSystemClassLoader extends TClassLoader {
TSystemClassLoader() {

View File

@ -23,7 +23,7 @@ import org.teavm.javascript.spi.Superclass;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
@Superclass("java.lang.Object")
public class TThrowable extends RuntimeException {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public final class TVoid extends TObject {
public static final TClass<TVoid> TYPE = TClass.voidClass();

View File

@ -874,8 +874,8 @@ class TDivision {
/**
* Performs the final reduction of the Montgomery algorithm.
*
* @see monPro(BigInteger, BigInteger, BigInteger, long)
* @see monSquare(BigInteger, BigInteger, long)
* @see #monPro(TBigInteger, TBigInteger, TBigInteger, long)
* @see #monSquare(TBigInteger, TBigInteger, long)
*/
static TBigInteger finalSubtraction(int res[], TBigInteger modulus) {

View File

@ -348,8 +348,7 @@ class TElementary {
/**
* Same as
*
* @link #inplaceSubtract(BigInteger, BigInteger), but without the
* {@link #inplaceSubtract(TBigInteger, TBigInteger)}, but without the
* restriction of non-positive values
* @param op1
* should have enough space to save the result

View File

@ -20,7 +20,7 @@ import org.teavm.classlib.java.lang.TReadable;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public abstract class TCharBuffer extends TBuffer implements Comparable<TCharBuffer>, Appendable,
CharSequence, TReadable {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TCharBufferImpl extends TCharBuffer {
public TCharBufferImpl(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TCharBufferOverArray extends TCharBufferImpl {
boolean readOnly;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TCharBufferOverByteBuffer extends TCharBufferImpl {
TByteBufferImpl byteByffer;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TCharBufferOverByteBufferBigEndian extends TCharBufferOverByteBuffer {
public TCharBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TCharBufferOverByteBufferLittleEndian extends TCharBufferOverByteBuffer {
public TCharBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public abstract class TDoubleBuffer extends TBuffer implements Comparable<TDoubleBuffer> {
TDoubleBuffer(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TDoubleBufferImpl extends TDoubleBuffer {
public TDoubleBufferImpl(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TDoubleBufferOverArray extends TDoubleBufferImpl {
boolean readOnly;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TDoubleBufferOverByteBuffer extends TDoubleBufferImpl {
private TByteBufferImpl byteByffer;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public abstract class TFloatBuffer extends TBuffer implements Comparable<TFloatBuffer> {
TFloatBuffer(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TFloatBufferImpl extends TFloatBuffer {
public TFloatBufferImpl(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TFloatBufferOverArray extends TFloatBufferImpl {
boolean readOnly;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TFloatBufferOverByteBuffer extends TFloatBufferImpl {
TByteBufferImpl byteByffer;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TFloatBufferOverByteBufferBigEndian extends TFloatBufferOverByteBuffer {
public TFloatBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TFloatBufferOverByteBufferLittleEndian extends TFloatBufferOverByteBuffer {
public TFloatBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public abstract class TIntBuffer extends TBuffer implements Comparable<TIntBuffer> {
TIntBuffer(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TIntBufferImpl extends TIntBuffer {
public TIntBufferImpl(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TIntBufferOverArray extends TIntBufferImpl {
boolean readOnly;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TIntBufferOverByteBuffer extends TIntBufferImpl {
TByteBufferImpl byteByffer;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TIntBufferOverByteBufferBigEndian extends TIntBufferOverByteBuffer {
public TIntBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TIntBufferOverByteBufferLittleEndian extends TIntBufferOverByteBuffer {
public TIntBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public abstract class TLongBuffer extends TBuffer implements Comparable<TLongBuffer> {
TLongBuffer(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TLongBufferImpl extends TLongBuffer {
public TLongBufferImpl(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TLongBufferOverArray extends TLongBufferImpl {
boolean readOnly;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TLongBufferOverByteBuffer extends TLongBufferImpl {
TByteBufferImpl byteByffer;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TLongBufferOverByteBufferBigEndian extends TLongBufferOverByteBuffer {
public TLongBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TLongBufferOverByteBufferLittleEndian extends TLongBufferOverByteBuffer {
public TLongBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public abstract class TShortBuffer extends TBuffer implements Comparable<TShortBuffer> {
TShortBuffer(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TShortBufferImpl extends TShortBuffer {
public TShortBufferImpl(int capacity, int position, int limit) {

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TShortBufferOverArray extends TShortBufferImpl {
boolean readOnly;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
abstract class TShortBufferOverByteBuffer extends TShortBufferImpl {
TByteBufferImpl byteByffer;

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TShortBufferOverByteBufferBigEndian extends TShortBufferOverByteBuffer {
public TShortBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
class TShortBufferOverByteBufferLittleEndian extends TShortBufferOverByteBuffer {
public TShortBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,

View File

@ -27,7 +27,7 @@ import org.teavm.model.MethodReference;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class DateNativeGenerator implements Generator, DependencyPlugin {
@Override

View File

@ -23,7 +23,7 @@ import org.teavm.model.MethodReference;
/**
*
* @author Alexey Andreev <konsoletyper@gmail.com>
* @author Alexey Andreev
*/
public class RandomNativeGenerator implements Generator {
@Override

Some files were not shown because too many files have changed in this diff Show More