Skip to content

Commit

Permalink
reverted breaking changes from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnich committed Sep 15, 2023
1 parent 448002b commit a475307
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/QoreJniClassMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2440,7 +2440,6 @@ LocalReference<jobject> JniExternalProgramData::getJavaTypeDefinition(Env& env,
// get internal name for Qore class
LocalReference<jstring> jname = getJavaNameForClass(env, *cls);

/*
if (!isCreateInProgress(cls->getNamespacePath())) {
printd(5, "JniExternalProgramData::getJavaTypeDefinition() type '%s' (%d) creating Java class for '%s' (%p)\n",
qore_type_get_name(ti), t, cls->getPath(), cls);
Expand All @@ -2464,7 +2463,6 @@ LocalReference<jobject> JniExternalProgramData::getJavaTypeDefinition(Env& env,
e.ignore();
}
}
*/

/** FIXME: we try to create the Java class here and then create a forward reference if it fails
Expand Down
7 changes: 0 additions & 7 deletions src/QoreJniClassMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -468,13 +468,6 @@ class JniExternalProgramData : public AbstractQoreProgramExternalData, public Qo
/** @param qpath the full Qore classpath to the Qore class
*/
DLLLOCAL void setCreateInProgress(const std::string& qpath) {
#ifdef DEBUG
strset_t::iterator i = in_progress_set.find(qpath);
if (in_progress_set.find(qpath) != in_progress_set.end()) {
printd(0, "ERROR '%s' already in progress\n", qpath.c_str());
}
#endif
assert(in_progress_set.find(qpath) == in_progress_set.end());
in_progress_set.insert(qpath);
}

Expand Down

0 comments on commit a475307

Please sign in to comment.