equal
deleted
inserted
replaced
60 }; |
60 }; |
61 |
61 |
62 // parse module-info.class |
62 // parse module-info.class |
63 ClassReader cr = new ClassReader(in); |
63 ClassReader cr = new ClassReader(in); |
64 cr.accept(cv, attrs, 0); |
64 cr.accept(cv, attrs, 0); |
65 return modTargets[0] != null && |
65 return modTargets[0] != null && modTargets[0].targetPlatform() != null; |
66 (modTargets[0].osName() != null || modTargets[0].osArch() != null); |
|
67 } |
66 } |
68 |
67 |
69 public static void main(String... args) throws Exception { |
68 public static void main(String... args) throws Exception { |
70 // load another package |
69 // load another package |
71 p2.T.test(); |
70 p2.T.test(); |