Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

several errors in DataSerializer #5

Open
epicbuilder2007 opened this issue Feb 19, 2022 · 0 comments
Open

several errors in DataSerializer #5

epicbuilder2007 opened this issue Feb 19, 2022 · 0 comments

Comments

@epicbuilder2007
Copy link

> Task :compileJava FAILED
/home/epicbuilder2007/Downloads/DashLoader-Core/src/main/java/dev/quantumfusion/dashloader/core/io/serializer/DashSerializer.java:56: error: incompatible types: Class<AbstractDataChunk> cannot be converted to String
                factory.addGlobalAnnotation(AbstractDataChunk.class, DataSubclasses.class, new Class[]{DataChunk.class, StagedDataChunk.class});
                                                             ^
/home/epicbuilder2007/Downloads/DashLoader-Core/src/main/java/dev/quantumfusion/dashloader/core/io/serializer/DashSerializer.java:57: error: cannot find symbol
                factory.setClassName(getSerializerName(holderClass));
                       ^
  symbol:   method setClassName(@org.jetbrains.annotations.NotNull String)
  location: variable factory of type SerializerFactory<UnsafeIO,F>
  where F is a type-variable:
    F extends Object declared in method <F>create(Path,Class<F>,List<DashObjectClass<?,?>>,Class<? extends Dashable<?>>[])
/home/epicbuilder2007/Downloads/DashLoader-Core/src/main/java/dev/quantumfusion/dashloader/core/io/serializer/DashSerializer.java:58: error: cannot find symbol
                factory.setExportPath(serializerFileLocation);
                       ^
  symbol:   method setExportPath(Path)
  location: variable factory of type SerializerFactory<UnsafeIO,F>
  where F is a type-variable:
    F extends Object declared in method <F>create(Path,Class<F>,List<DashObjectClass<?,?>>,Class<? extends Dashable<?>>[])
/home/epicbuilder2007/Downloads/DashLoader-Core/src/main/java/dev/quantumfusion/dashloader/core/io/serializer/DashSerializer.java:66: error: incompatible types: Class<CAP#1> cannot be converted to String
                                factory.addGlobalAnnotation(dashable, DataSubclasses.class, dashClasses.toArray(Class[]::new));
                                                            ^
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Dashable from capture of ? extends Dashable
/home/epicbuilder2007/Downloads/DashLoader-Core/src/main/java/dev/quantumfusion/dashloader/core/io/serializer/DashSerializer.java:105: error: cannot find symbol
                                serializer.put(UnsafeIO.wrap(byteBuffer), object);
                                                       ^
  symbol:   method wrap(ByteBuffer)
  location: class UnsafeIO
/home/epicbuilder2007/Downloads/DashLoader-Core/src/main/java/dev/quantumfusion/dashloader/core/io/serializer/DashSerializer.java:126: error: cannot find symbol
                                serializer.put(UnsafeIO.wrap(map), object);
                                                       ^
  symbol:   method wrap(MappedByteBuffer)
  location: class UnsafeIO
/home/epicbuilder2007/Downloads/DashLoader-Core/src/main/java/dev/quantumfusion/dashloader/core/io/serializer/DashSerializer.java:152: error: cannot find symbol
                        return serializer.get(UnsafeIO.wrap(decoded));
                                                      ^
  symbol:   method wrap(ByteBuffer)
  location: class UnsafeIO
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
7 errors
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant