Repository: reef Updated Branches: refs/heads/master 5e9375dcb -> aee6c0b73
[REEF-383] Remove JavaBridge.java `JavaBridge` contained code that silently failed for several releases now. This removes this code. JIRA: [REEF-383](https://issues.apache.org/jira/browse/REEF-383) Pull Request: This closes #1061 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/aee6c0b7 Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/aee6c0b7 Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/aee6c0b7 Branch: refs/heads/master Commit: aee6c0b73a0f1921aa681afd1119c1819bcd844a Parents: 5e9375d Author: Markus Weimer <[email protected]> Authored: Wed Jun 29 12:17:42 2016 -0700 Committer: Mariia Mykhailova <[email protected]> Committed: Wed Jun 29 15:59:44 2016 -0700 ---------------------------------------------------------------------- .../org/apache/reef/javabridge/JavaBridge.java | 44 -------------------- 1 file changed, 44 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/aee6c0b7/lang/java/reef-bridge-java/src/main/java/org/apache/reef/javabridge/JavaBridge.java ---------------------------------------------------------------------- diff --git a/lang/java/reef-bridge-java/src/main/java/org/apache/reef/javabridge/JavaBridge.java b/lang/java/reef-bridge-java/src/main/java/org/apache/reef/javabridge/JavaBridge.java deleted file mode 100644 index 9a848d3..0000000 --- a/lang/java/reef-bridge-java/src/main/java/org/apache/reef/javabridge/JavaBridge.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.apache.reef.javabridge; - -import org.apache.reef.annotations.audience.Interop; -import org.apache.reef.annotations.audience.Private; - -import java.util.logging.Logger; - -/** - * TODO[JIRA REEF-383] Document/Refactor JavaBridge. - */ -@Private -@Interop(CppFiles = "JavaClrBridge.cs") -public class JavaBridge { - private static final String CPP_BRIDGE = "JavaClrBridge"; - private static final Logger LOG = Logger.getLogger(JavaBridge.class.toString()); - - static { - try { - System.loadLibrary(CPP_BRIDGE); - } catch (final UnsatisfiedLinkError e) { - // TODO[JIRA REEF-383] Document/Refactor JavaBridge - LOG.severe("Cannot load native JavaClrBridge."); - } - } -} -
