File tree 2 files changed +1
-1
lines changed
lib-test/jdk/test/lib/hexdump
2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change 39
39
/*
40
40
* @test
41
41
* @summary ASN.1 formatting
42
+ * @modules java.base/sun.security.util
42
43
* @library /test/lib
43
44
* @compile ASN1FormatterTest.java
44
45
* @run testng jdk.test.lib.hexdump.ASN1FormatterTest
Original file line number Diff line number Diff line change @@ -412,7 +412,6 @@ private static String oidName(byte[] bytes) {
412
412
// Look up the OID; if the class is not accessible just return the numeric form
413
413
Class <?> cl = Class .forName ("sun.security.util.KnownOIDs" );
414
414
Method findMatch = cl .getDeclaredMethod ("findMatch" , String .class );
415
- findMatch .setAccessible (true );
416
415
Object oid = findMatch .invoke (null , noid );
417
416
return (oid == null ) ? noid : noid + " (" + oid .toString () + ")" ;
418
417
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException | InvocationTargetException e ) {
You can’t perform that action at this time.
0 commit comments