Skip to content

Commit 7435dac

Browse files
committed
refactor: flatten jvm_bridge submodule into jvm-bridge crate root
Move macros, JVMClasses, and helper types from the jvm_bridge submodule to the crate root, eliminating the redundant jvm_bridge::jvm_bridge path.
1 parent 900361f commit 7435dac

7 files changed

Lines changed: 375 additions & 394 deletions

File tree

native/core/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,13 @@ use mimalloc::MiMalloc;
5656

5757
// Re-export from jvm-bridge crate for internal use
5858
pub use datafusion_comet_jvm_bridge::errors;
59-
pub use datafusion_comet_jvm_bridge::jvm_bridge;
6059
pub use datafusion_comet_jvm_bridge::JAVA_VM;
6160

61+
/// Re-export jvm-bridge items under the `jvm_bridge` name for convenience.
62+
pub mod jvm_bridge {
63+
pub use datafusion_comet_jvm_bridge::*;
64+
}
65+
6266
use errors::{try_unwrap_or_throw, CometError, CometResult};
6367

6468
#[macro_use]
File renamed without changes.
File renamed without changes.
File renamed without changes.

native/jvm-bridge/src/jvm_bridge/comet_task_memory_manager.rs renamed to native/jvm-bridge/src/comet_task_memory_manager.rs

File renamed without changes.

0 commit comments

Comments
 (0)