Wrote /root/JavaX-Caches/tmp_1539346539/main.java - 22233 bytes (written=22233, should be 22233)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_554715482 /root/JavaX-Caches/tmp_1539346539/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1539346539/main.java:20: error: cannot find symbol
public RGB(Color color) {
^
symbol: class Color
location: class RGB
/root/JavaX-Caches/tmp_1539346539/main.java:36: error: cannot find symbol
public Color getColor() {
^
symbol: class Color
location: class RGB
/root/JavaX-Caches/tmp_1539346539/main.java:92: error: cannot find symbol
private BufferedImage bufferedImage;
^
symbol: class BufferedImage
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:93: error: cannot find symbol
private File file;
^
symbol: class File
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:100: error: cannot find symbol
public RGBImage(BufferedImage image) {
^
symbol: class BufferedImage
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:104: error: cannot find symbol
public RGBImage(BufferedImage image, File file) {
^
symbol: class BufferedImage
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:104: error: cannot find symbol
public RGBImage(BufferedImage image, File file) {
^
symbol: class File
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:121: error: cannot find symbol
public RGBImage(String file) throws IOException {
^
symbol: class IOException
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:125: error: cannot find symbol
public RGBImage(Dimension size, Color color) {
^
symbol: class Dimension
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:125: error: cannot find symbol
public RGBImage(Dimension size, Color color) {
^
symbol: class Color
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:129: error: cannot find symbol
public RGBImage(Dimension size, RGB color) {
^
symbol: class Dimension
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:175: error: cannot find symbol
public RGBImage(int width, int height, Color color) {
^
symbol: class Color
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:179: error: cannot find symbol
public RGBImage(File file) throws IOException {
^
symbol: class File
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:179: error: cannot find symbol
public RGBImage(File file) throws IOException {
^
symbol: class IOException
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:225: error: cannot find symbol
public BufferedImage getBufferedImage() {
^
symbol: class BufferedImage
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:236: error: cannot find symbol
public RGBImage clip(Rectangle r) {
^
symbol: class Rectangle
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:251: error: cannot find symbol
private Rectangle fixClipRect(Rectangle r) {
^
symbol: class Rectangle
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:251: error: cannot find symbol
private Rectangle fixClipRect(Rectangle r) {
^
symbol: class Rectangle
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:258: error: cannot find symbol
public File getFile() {
^
symbol: class File
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:268: error: cannot find symbol
public static RGBImage load(File file) {
^
symbol: class File
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:281: error: cannot find symbol
public void save(File file) throws IOException {
^
symbol: class File
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:281: error: cannot find symbol
public void save(File file) throws IOException {
^
symbol: class IOException
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:303: error: cannot find symbol
public void setPixel(int x, int y, Color color) {
^
symbol: class Color
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:328: error: cannot find symbol
public Dimension getSize() {
^
symbol: class Dimension
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:371: error: cannot find symbol
abstract class Surface extends JPanel {
^
symbol: class JPanel
/root/JavaX-Caches/tmp_1539346539/main.java:376: error: cannot find symbol
public AlphaComposite composite;
^
symbol: class AlphaComposite
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:377: error: cannot find symbol
public Paint texture;
^
symbol: class Paint
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:378: error: cannot find symbol
public BufferedImage bimg;
^
symbol: class BufferedImage
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:388: error: cannot find symbol
private Toolkit toolkit;
^
symbol: class Toolkit
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:483: error: cannot find symbol
public BufferedImage createBufferedImage(Graphics2D g2,
^
symbol: class Graphics2D
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:483: error: cannot find symbol
public BufferedImage createBufferedImage(Graphics2D g2,
^
symbol: class BufferedImage
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:517: error: cannot find symbol
private BufferedImage createBinaryImage(int w, int h, int pixelBits) {
^
symbol: class BufferedImage
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:546: error: cannot find symbol
private BufferedImage createSGISurface(int w, int h, int pixelBits) {
^
symbol: class BufferedImage
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:583: error: cannot find symbol
BufferedImage bi,
^
symbol: class BufferedImage
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:584: error: cannot find symbol
Graphics g) {
^
symbol: class Graphics
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:581: error: cannot find symbol
public Graphics2D createGraphics2D(int width,
^
symbol: class Graphics2D
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:617: error: cannot find symbol
public abstract void render(int w, int h, Graphics2D g);
^
symbol: class Graphics2D
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:644: error: cannot find symbol
public void paint(Graphics g) {
^
symbol: class Graphics
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:683: error: cannot find symbol
public static void setAlpha(Graphics2D g, float alpha) {
^
symbol: class Graphics2D
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:689: error: cannot find symbol
private BufferedImage image;
^
symbol: class BufferedImage
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:691: error: cannot find symbol
private Rectangle selection;
^
symbol: class Rectangle
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:701: error: cannot find symbol
public ImageSurface(BufferedImage image) {
^
symbol: class BufferedImage
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:718: error: cannot find symbol
public void render(int w, int h, Graphics2D g) {
^
symbol: class Graphics2D
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:730: error: cannot find symbol
public void drawSelectionRect(Graphics2D g, Rectangle selection, Color green, Color white) {
^
symbol: class Graphics2D
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:730: error: cannot find symbol
public void drawSelectionRect(Graphics2D g, Rectangle selection, Color green, Color white) {
^
symbol: class Rectangle
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:730: error: cannot find symbol
public void drawSelectionRect(Graphics2D g, Rectangle selection, Color green, Color white) {
^
symbol: class Color
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:730: error: cannot find symbol
public void drawSelectionRect(Graphics2D g, Rectangle selection, Color green, Color white) {
^
symbol: class Color
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:752: error: cannot find symbol
public Dimension getMinimumSize() {
^
symbol: class Dimension
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:771: error: cannot find symbol
public void setImage(BufferedImage image) {
^
symbol: class BufferedImage
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:777: error: cannot find symbol
public BufferedImage getImage() {
^
symbol: class BufferedImage
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:789: error: cannot find symbol
public Dimension getPreferredSize() {
^
symbol: class Dimension
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:794: error: cannot find symbol
public JScrollPane makeScrollPane() {
^
symbol: class JScrollPane
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:810: error: cannot find symbol
private Dimension getDisplaySize() {
^
symbol: class Dimension
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:820: error: cannot find symbol
public void setSelection(Rectangle r) {
^
symbol: class Rectangle
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:825: error: cannot find symbol
public Rectangle getSelection() {
^
symbol: class Rectangle
location: class ImageSurface
/root/JavaX-Caches/tmp_1539346539/main.java:37: error: cannot find symbol
return new Color(r, g, b);
^
symbol: class Color
location: class RGB
/root/JavaX-Caches/tmp_1539346539/main.java:110: error: cannot find symbol
PixelGrabber pixelGrabber = new PixelGrabber(image, 0, 0, width, height, pixels, 0, width);
^
symbol: class PixelGrabber
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:110: error: cannot find symbol
PixelGrabber pixelGrabber = new PixelGrabber(image, 0, 0, width, height, pixels, 0, width);
^
symbol: class PixelGrabber
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:122: error: cannot find symbol
this(new File(file));
^
symbol: class File
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:158: error: cannot find symbol
this(w, h, Color.black);
^
symbol: variable Color
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:172: error: reference to RGBImage is ambiguous
this(image.width, image.height, copyPixels(image.pixels));
^
both constructor RGBImage(int,int,int[]) in RGBImage and constructor RGBImage(int,int,Color) in RGBImage match
/root/JavaX-Caches/tmp_1539346539/main.java:176: error: reference to RGBImage is ambiguous
this(width, height, new RGB(color));
^
both constructor RGBImage(int,int,RGB) in RGBImage and constructor RGBImage(int,int,Color) in RGBImage match
/root/JavaX-Caches/tmp_1539346539/main.java:207: error: reference to RGB is ambiguous
return new RGB(background);
^
both constructor RGB(double) in RGB and constructor RGB(Color) in RGB match
/root/JavaX-Caches/tmp_1539346539/main.java:227: error: cannot find symbol
bufferedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
^
symbol: class BufferedImage
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:227: error: cannot find symbol
bufferedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
^
symbol: variable BufferedImage
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:252: error: cannot find symbol
r = r.intersection(new Rectangle(0, 0, width, height));
^
symbol: class Rectangle
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:254: error: cannot find symbol
r = new Rectangle(r.x, r.y, 0, 0);
^
symbol: class Rectangle
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:264: error: cannot find symbol
return load(new File(fileName));
^
symbol: class File
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:270: error: cannot find symbol
BufferedImage bufferedImage = javax.imageio.ImageIO.read(file);
^
symbol: class BufferedImage
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:272: error: cannot find symbol
} catch (IOException e) {
^
symbol: class IOException
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:286: error: cannot find symbol
else throw new IOException("Unknown image extension: " + name);
^
symbol: class IOException
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:291: error: reference to RGBImage is ambiguous
return new RGBImage(1, 1, new int[] {0xFFFFFF});
^
both constructor RGBImage(int,int,int[]) in RGBImage and constructor RGBImage(int,int,Color) in RGBImage match
/root/JavaX-Caches/tmp_1539346539/main.java:304: error: reference to setPixel is ambiguous
setPixel(x, y, new RGB(color));
^
both method setPixel(int,int,RGB) in RGBImage and method setPixel(int,int,Color) in RGBImage match
/root/JavaX-Caches/tmp_1539346539/main.java:307: error: name clash: class RGBImage has two methods with the same erasure, yet neither overrides the other
public void setPixel(int x, int y, int rgb) {
^
first method: setPixel(int,int,Color) in RGBImage
second method: setPixel(int,int,RGB) in RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:313: error: reference to RGBImage is ambiguous
return new RGBImage(this);
^
both constructor RGBImage(BufferedImage) in RGBImage and constructor RGBImage(File) in RGBImage match
/root/JavaX-Caches/tmp_1539346539/main.java:329: error: cannot find symbol
return new Dimension(width, height);
^
symbol: class Dimension
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:341: error: cannot find symbol
if (!Arrays.equals(pixels, rgbImage.pixels)) return false;
^
symbol: variable Arrays
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:350: error: cannot find symbol
result = 31 * result + Arrays.hashCode(pixels);
^
symbol: variable Arrays
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:359: error: cannot find symbol
return clip(new Rectangle(x, y, width, height));
^
symbol: class Rectangle
location: class RGBImage
/root/JavaX-Caches/tmp_1539346539/main.java:374: error: cannot find symbol
public Object AntiAlias = RenderingHints.VALUE_ANTIALIAS_ON;
^
symbol: variable RenderingHints
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:375: error: cannot find symbol
public Object Rendering = RenderingHints.VALUE_RENDER_SPEED;
^
symbol: variable RenderingHints
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:396: error: cannot find symbol
setDoubleBuffered(false);
^
symbol: method setDoubleBuffered(boolean)
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:397: error: cannot find symbol
toolkit = getToolkit();
^
symbol: method getToolkit()
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:398: error: cannot find symbol
name = this.getClass().getName();
^
symbol: method getClass()
/root/JavaX-Caches/tmp_1539346539/main.java:439: error: cannot find symbol
? RenderingHints.VALUE_ANTIALIAS_ON
^
symbol: variable RenderingHints
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:440: error: cannot find symbol
: RenderingHints.VALUE_ANTIALIAS_OFF;
^
symbol: variable RenderingHints
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:446: error: cannot find symbol
? RenderingHints.VALUE_RENDER_QUALITY
^
symbol: variable RenderingHints
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:447: error: cannot find symbol
: RenderingHints.VALUE_RENDER_SPEED;
^
symbol: variable RenderingHints
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:452: error: cannot find symbol
if (obj instanceof GradientPaint) {
^
symbol: class GradientPaint
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:453: error: cannot find symbol
texture = new GradientPaint(0, 0, Color.white,
^
symbol: class GradientPaint
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:453: error: cannot find symbol
texture = new GradientPaint(0, 0, Color.white,
^
symbol: variable Color
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:454: error: cannot find symbol
getSize().width*2, 0, Color.green);
^
symbol: method getSize()
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:454: error: cannot find symbol
getSize().width*2, 0, Color.green);
^
symbol: variable Color
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:456: error: cannot find symbol
texture = (Paint) obj;
^
symbol: class Paint
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:463: error: cannot find symbol
? AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f)
^
symbol: variable AlphaComposite
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:463: error: cannot find symbol
? AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f)
^
symbol: variable AlphaComposite
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:487: error: cannot find symbol
BufferedImage bi = null;
^
symbol: class BufferedImage
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:489: error: cannot find symbol
bi = (BufferedImage) g2.getDeviceConfiguration().
^
symbol: class BufferedImage
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:492: error: cannot find symbol
bi = new BufferedImage(w, h, imgType);
^
symbol: class BufferedImage
location: class Surface
/root/JavaX-Caches/tmp_1539346539/main.java:523: error: cannot find symbol
IndexColorModel cm = null;
^
symbol: class IndexColorModel
location: class Surface
100 errors
only showing the first 100 errors, of 158 total; use -Xmaxerrs if you would like to see more