mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
Repair maven build
This commit is contained in:
parent
461528b51f
commit
2b52bbedf8
|
@ -120,7 +120,7 @@ public class DebugInformationBuilder implements DebugInformationEmitter {
|
||||||
if (debugInformation == null) {
|
if (debugInformation == null) {
|
||||||
debugInformation = new DebugInformation();
|
debugInformation = new DebugInformation();
|
||||||
|
|
||||||
debugInformation.fileNames = files.getItems();;
|
debugInformation.fileNames = files.getItems();
|
||||||
debugInformation.classNames = classes.getItems();
|
debugInformation.classNames = classes.getItems();
|
||||||
debugInformation.fields = fields.getItems();
|
debugInformation.fields = fields.getItems();
|
||||||
debugInformation.methods = methods.getItems();
|
debugInformation.methods = methods.getItems();
|
||||||
|
|
|
@ -1,4 +1,18 @@
|
||||||
package org.teavm.debugging;
|
/*
|
||||||
|
* Copyright 2014 Alexey Andreev.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/package org.teavm.debugging;
|
||||||
|
|
||||||
import java.util.AbstractMap;
|
import java.util.AbstractMap;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
@ -10,7 +24,7 @@ import java.util.concurrent.atomic.AtomicReference;
|
||||||
*
|
*
|
||||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||||
*/
|
*/
|
||||||
class PropertyMap extends AbstractMap<String, Variable>{
|
class PropertyMap extends AbstractMap<String, Variable> {
|
||||||
private String className;
|
private String className;
|
||||||
private AtomicReference<Map<String, Variable>> backingMap = new AtomicReference<>();
|
private AtomicReference<Map<String, Variable>> backingMap = new AtomicReference<>();
|
||||||
private Map<String, JavaScriptVariable> jsVariables;
|
private Map<String, JavaScriptVariable> jsVariables;
|
||||||
|
|
|
@ -351,7 +351,7 @@ public class TeaVM implements TeaVMHost, ServiceRepository {
|
||||||
if (debugEmitter != null) {
|
if (debugEmitter != null) {
|
||||||
renderer.setDebugEmitter(debugEmitter);
|
renderer.setDebugEmitter(debugEmitter);
|
||||||
}
|
}
|
||||||
debugEmitter.setLocationProvider(sourceWriter);
|
renderer.getDebugEmitter().setLocationProvider(sourceWriter);
|
||||||
for (Map.Entry<MethodReference, Injector> entry : methodInjectors.entrySet()) {
|
for (Map.Entry<MethodReference, Injector> entry : methodInjectors.entrySet()) {
|
||||||
renderer.addInjector(entry.getKey(), entry.getValue());
|
renderer.addInjector(entry.getKey(), entry.getValue());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user