Is there any way to force Java to recognize the unnamed package from a named package? -


in order complete project, need alter class file in named package.

i cannot put unnamed package; imported other classes.

i cannot put dependencies named packages, relied upon other classes.

my goal force javac through whatever means necessary allow imports unnamed package. it's bad practice, have no other choice.

alternatively, how go putting of imported classes package without recompiling them, reference package in order compile target class, , remove references after compile?

i solved problem. compiled program making barebones definitions of classes , methods imported inside named package, , used program called classeditor edit out package names/path after compiling.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -