diff options
author | mohawk2 <mohawk2@users.noreply.github.com> | 2022-02-12 22:10:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-12 22:10:26 +0000 |
commit | 8a05efd4abef1c5e4c89f5b2197178400afeae65 (patch) | |
tree | dac303549bb82381a7d77c22dd1fa2a693b936de | |
parent | 277ab80dac992ec4c6a63cb97e84a2e4af8b0298 (diff) | |
parent | 127c6582ee4a8c157df9567406a5849d4af0d602 (diff) |
Merge pull request #11 from jlberner/patch-1
Append to classpath not safe without separator
-rw-r--r-- | t/16_subclass.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/16_subclass.t b/t/16_subclass.t index 113fd49..f39f2c0 100644 --- a/t/16_subclass.t +++ b/t/16_subclass.t @@ -8,7 +8,7 @@ use strict; use warnings; BEGIN { - $ENV{CLASSPATH} .= "t/t16subclass.jar"; + $ENV{CLASSPATH} = join $Config{path_sep}, grep defined, $ENV{CLASSPATH}, File::Spec->catfile(qw(t t16subclass.jar)); } use Inline Java => 'STUDY', STUDY => ['t16subclass']; |