File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
src/test/java/com/vladsch/flexmark/profile/pegdown Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 117117 <scope >test</scope >
118118 </dependency >
119119 </dependencies >
120+
121+ <build >
122+ <plugins >
123+ <plugin >
124+ <groupId >org.apache.maven.plugins</groupId >
125+ <artifactId >maven-surefire-plugin</artifactId >
126+ <configuration >
127+ <argLine >
128+ <!-- Open the java.lang package for reflection, otherwise pegdown throws the following exception in tests
129+ Could not determine whether class 'org.pegdown.Parser$$parboiled' has already been loaded
130+
131+ See https://stackoverflow.com/questions/75116023/unable-to-make-protected-final-java-lang-class-java-lang-classloader-defineclass -->
132+ --add-opens java.base/java.lang=ALL-UNNAMED
133+ </argLine >
134+ </configuration >
135+ </plugin >
136+ </plugins >
137+ </build >
138+
120139</project >
Original file line number Diff line number Diff line change 99import com .vladsch .flexmark .util .data .MutableDataSet ;
1010import org .jetbrains .annotations .NotNull ;
1111import org .jetbrains .annotations .Nullable ;
12- import org .junit .Ignore ;
1312import org .junit .runners .Parameterized ;
1413
1514import java .util .List ;
1615
17- @ Ignore
1816public class ComboPegdownSpecTest extends ComboSpecTestCase {
1917 final private static String SPEC_RESOURCE = "/pegdown_spec.md" ;
2018 final public static @ NotNull ResourceLocation RESOURCE_LOCATION = ResourceLocation .of (SPEC_RESOURCE );
You can’t perform that action at this time.
0 commit comments